pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47218: icedtea fails to run JRE detection



>Number:         47218
>Category:       pkg
>Synopsis:       icedtea fails to run JRE detection
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 19 17:45:00 +0000 2012
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.15
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD beasty.aprisoft.de 6.99.15 NetBSD 6.99.15 (NIGHT-OWL) #120: Sun 
Nov 18 21:01:25 CET 2012 
martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL
 amd64
Architecture: x86_64
Machine: amd64
>Description:

I just upgraded my -current NetBSD installation as well as xulrunner and
openjdk and now can't run the java.com JRE detection plugin any more:

 > firefox "http://java.com/en/download/installed.jsp?detect=jre";
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-pkgsrc_2012_11_19_17_26-b00)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:772)
        at 
sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
        at java.security.KeyStore.load(KeyStore.java:1214)
        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:395)
        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.UnrecoverableKeyException: Password verification failed
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:770)
        ... 11 more
java.lang.NullPointerException
        at 
net.sourceforge.jnlp.NetxPanel.getAppletClassLoader(NetxPanel.java:212)
        at 
sun.applet.PluginAppletPanelFactory.createPanel(PluginAppletViewer.java:201)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1902)
        at sun.applet.PluginAppletViewer$6.run(PluginAppletViewer.java:1826)
        at sun.applet.PluginAppletViewer$6.run(PluginAppletViewer.java:1824)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1824)
        at 
sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:491)
        at 
sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:232)
        at 
sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:78)
java.lang.RuntimeException: Failed to handle message: tag 
http://java.com/en/download/ <EMBED CODE="jreVerification.class" 
CODEBASE="/jsp_utils/" ARCHIVE="jreverification.jar" height="0" width="0" 
><PARAM NAME="alt" VALUE="Something is wrong. Java is not working."></EMBED> 
for instance 1
        at 
sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:560)
        at 
sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:232)
        at 
sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:78)
Caused by: java.lang.NullPointerException
        at 
net.sourceforge.jnlp.NetxPanel.getAppletClassLoader(NetxPanel.java:212)
        at 
sun.applet.PluginAppletPanelFactory.createPanel(PluginAppletViewer.java:201)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1902)
        at sun.applet.PluginAppletViewer$6.run(PluginAppletViewer.java:1826)
        at sun.applet.PluginAppletViewer$6.run(PluginAppletViewer.java:1824)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1824)
        at 
sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:491)
        ... 2 more
Exception in thread "Thread-7" java.lang.ClassCastException: 
sun.applet.AppletClassLoader cannot be cast to 
net.sourceforge.jnlp.runtime.JNLPClassLoader
        at sun.applet.PluginAppletViewer$5.run(PluginAppletViewer.java:1624)
        at java.lang.Thread.run(Thread.java:722)


>How-To-Repeat:
s/a

>Fix:
yes, please



Home | Main Index | Thread Index | Old Index