-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
None
-
sparc
-
solaris_8
when tried to do this:
FileInputStream fis;
try {
fis = new FileInputStream("cert_file");
CertificateFactory cf
= CertificateFactory.getInstance("X.509");
cert[0] = (Certificate) cf.generateCertificate(fis); -->
The following error is thrown
This failure effects lot of other tests.
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.security.x509.CertificateIssuerName.<init>(CertificateIssuerName.java:59)
at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:666)
at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:155)
at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1268)
at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:189)
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:98)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.jav
a:300)
at AP.main(AP.java:150)
Caused by: java.util.MissingResourceException: Can't find bundle for base name sun.secu
rity.util.Resources, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:800)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:770)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at javax.security.auth.x500.X500Principal.<clinit>(X500Principal.java:32)
... 8 more
FileInputStream fis;
try {
fis = new FileInputStream("cert_file");
CertificateFactory cf
= CertificateFactory.getInstance("X.509");
cert[0] = (Certificate) cf.generateCertificate(fis); -->
The following error is thrown
This failure effects lot of other tests.
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.security.x509.CertificateIssuerName.<init>(CertificateIssuerName.java:59)
at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:666)
at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:155)
at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1268)
at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:189)
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:98)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.jav
a:300)
at AP.main(AP.java:150)
Caused by: java.util.MissingResourceException: Can't find bundle for base name sun.secu
rity.util.Resources, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:800)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:770)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:514)
at javax.security.auth.x500.X500Principal.<clinit>(X500Principal.java:32)
... 8 more
- duplicates
-
JDK-4392283 java.lang.reflect.AccessibleObject.setAccessible() broken in merlin B42
-
- Closed
-