I'm not entirely sure if it's the same problem, but I'm having a similar
problem.

I use a Java Web Start app which downloads its jar file via https.

The app works fine in FF3.5.8.

However, when attempting to run the app from FF3.6.3, I get the following:
t...@test-desktop:~$ firefox
java.security.ProviderException: Could not initialize NSS
                at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:201)
                at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
                at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
                at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                at 
java.lang.reflect.Constructor.newInstance(Constructor.java:532)
                at 
sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:262)
                at 
sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244)
                at java.security.AccessController.doPrivileged(Native Method)
                at 
sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:244)
                at 
sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:224)
                at 
sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
                at 
sun.security.jca.ProviderList.getService(ProviderList.java:330)
                at 
sun.security.jca.GetInstance.getInstance(GetInstance.java:157)
                at java.security.Security.getImpl(Security.java:696)
                at 
java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:130)
                at 
sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:121)
                at sun.security.x509.AlgorithmId.<init>(AlgorithmId.java:114)
                at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:381)
                at sun.security.x509.X509Key.parse(X509Key.java:168)
                at 
sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:75)
                at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:705)
                at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:169)
                at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1747)
                at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:196)
                at 
sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:107)
                at 
java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322)
                at 
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:763)
                at 
sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
                at java.security.KeyStore.load(KeyStore.java:1201)
                at 
sun.security.ssl.TrustManagerFactoryImpl.getCacertsKeyStore(TrustManagerFactoryImpl.java:221)
                at 
sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:51)
                at 
javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:247)
                at 
net.sourceforge.jnlp.security.VariableX509TrustManager.<init>(VariableX509TrustManager.java:100)
                at 
net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:282)
                at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:178)
Caused by: java.io.IOException: An incompatible version of NSS is already 
loaded, 3.7 or later required
                at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130)
                at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:168)
                ... 35 more
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch 
JNLP file.
                at 
net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:462)
                at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:731)
Caused by: java.lang.NullPointerException
                at 
net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:442)
                ... 1 more
Caused by:
java.lang.NullPointerException
                at 
net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:442)
                at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:731)
[1]+  Done                    firefox
t...@test-desktop:~$

If I instead download the jnlp file and run it manually with 'javaws
app.jnlp', everything works fine.

I noticed that FF3.6.3 ships with it's own libnss3.so
(/usr/lib/firefox-3.6.3/libnss3.so), so I assume there is something
about this library that is causing the problems.

-- 
Java applet unable to load
https://bugs.launchpad.net/bugs/553452
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to