← Back to team overview

openjdk team mailing list archive

Bug#642734: java applets don't work in iceweasel; java doesn't terminate after stopping iceweasel

 

Package: icedtea-plugin
Version: 1.1.2-1
Severity: important

Dear OpenJDK Team,

the test web-page for java applets
http://www.java.com/en/download/help/testvm.xml doesn't work with my combination
of iceweasel, icedtea-plugin, and openjdk-6. Stopping iceweasel doesn't
terminate the java process initiated by iceweasel.

Starting iceweasel on a console results in the following error messages:

<console>
$ iceweasel http://www.java.com/en/download/help/testvm.xml
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre9-2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Exception in thread "main" java.lang.ExceptionInInitializerError
	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
net.sourceforge.jnlp.security.KeyStores.createKeyStoreFromFile(KeyStores.java:369)
	at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:135)
	at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:114)
	at net.sourceforge.jnlp.security.KeyStores.getCAKeyStores(KeyStores.java:191)
	at
net.sourceforge.jnlp.security.VariableX509TrustManager.<init>(VariableX509TrustManager.java:116)
	at
net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:399)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:224)
	at
sun.applet.PluginAppletSecurityContext.<init>(PluginAppletSecurityContext.java:245)
	at sun.applet.PluginMain.main(PluginMain.java:109)
Caused by: java.security.AccessControlException: access denied
(java.lang.RuntimePermission accessClassInPackage.sun.security.util)
	at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:393)
	at java.security.AccessController.checkPermission(AccessController.java:553)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
	at
net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:285)
	at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1529)
	at java.lang.ClassLoader$1.run(ClassLoader.java:345)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:343)
	at sun.security.pkcs11.SunPKCS11.<clinit>(SunPKCS11.java:63)
	... 37 more
Error: Unable to fetch applet instance id from Java side.

</console>

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (5, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.4 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages icedtea-plugin depends on:
ii  icedtea-netx        1.1.2-1
ii  libatk1.0-0         2.0.1-1
ii  libc6               2.13-21
ii  libcairo2           1.10.2-6.1
ii  libfontconfig1      2.8.0-3
ii  libfreetype6        2.4.6-1
ii  libgcc1             1:4.6.1-10
ii  libgdk-pixbuf2.0-0  2.24.0-1
ii  libglib2.0-0        2.28.6-1
ii  libgtk2.0-0         2.24.4-3
ii  libpango1.0-0       1.28.4-3
ii  libstdc++6          4.6.1-10
ii  openjdk-6-jre       6b23~pre9-2

Packages relevant to iceweasel

ii  iceweasel           6.0.2-1
ii  iceweasel-l10n-de   1:6.0+debian-1
ii  libmozjs6d          6.0.2-1
ii  xulrunner-6.0       6.0.2-1


Please tell me if you need further informations or tests.

-- 
Best regards,
Jörg-Volker.





Follow ups