FS#36082 - [icedtea-web-java7] Latest upgrade of openjdk7 to 2.4.1-1 breaks javaws
Attached to Project:
Arch Linux
Opened by Richard Ullger (rullger) - Tuesday, 09 July 2013, 09:40 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 July 2013, 09:11 GMT
Opened by Richard Ullger (rullger) - Tuesday, 09 July 2013, 09:40 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 July 2013, 09:11 GMT
|
Details
Following the upgrade of openjdk7 from 2.4.0-1 to 2.4.1-1
breaks javaws when opening a .jnlp file producing the
following error...
$javaws itcharts.jnlp Exception in thread "main" java.lang.NullPointerException at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1857) at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1827) at javax.swing.JWindow.<init>(JWindow.java:185) at javax.swing.JWindow.<init>(JWindow.java:137) at net.sourceforge.jnlp.runtime.JNLPSecurityManager.<init>(JNLPSecurityManager.java:121) at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:232) at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:181) at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:51) at java.security.AccessController.doPrivileged(Native Method) at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:172) Reverting to openjdk7 2.4.0-1 packages resolves the issue. Additional info: * package version(s) jdk7-openjdk 7.u40_2.4.1-1 jre7-openjdk 7.u40_2.4.1-1 jre7-openjdk-headless 7.u40_2.4.1-1 icedtea-web-java7 1.4-1 enlightenment17 0.17.3-1 * config and/or log files etc. Running in an enlightenment environment. Steps to reproduce: Run a .jnlp file downloaded in chromium by right clicking and choosing run using icedteaweb or double-click the .jnlp file or run with javaws. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 16 July 2013, 09:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with patch, -2
Tuesday, 16 July 2013, 09:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with patch, -2
Seems that DE doesn't affect the issue, as I'm using latest xfce.
Package versions are the same, firefox 22.0.
chromium 28.0.1500.52-1
jdk7-openjdk 7.u40_2.4.1-1
icedtea-web-java7 1.4-1
There is lots of reports of `getAppContext` returning `null` after u25, so I assume it's not Arch-specific bug and should be sent upstream.
+1
@rullger: please report this upstream
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-June/023749.html
Otherwise there may be quite a long wait before this fix makes it into a new release. Applying this with "patch -p1 < appContextFix.patch" in the PKGBUILD should be sufficient.