Package: icedtea-netx:amd64
Version: 1.2-2
Severity: normal
Using the javaws command to run a Java Web Start application hangs due
to a missing library if the browser is configured to use proxy
auto-configuration (PAC):
$ grep 'network\.proxy' .mozilla/firefox/prv40m6d.default/prefs.js
user_pref(network.proxy.autoconfig_url, http://example.org/proxy.pac;);
user_pref(network.proxy.type, 2);
$ javaws /tmp/logmanager.jnlp
Exception in thread Thread-2 java.lang.NoClassDefFoundError:
org/mozilla/javascript/Context
at
net.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator$EvaluatePacAction.run(RhinoBasedPacEvaluator.java:227)
at
net.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator$EvaluatePacAction.run(RhinoBasedPacEvaluator.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at
net.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator.getProxiesWithoutCaching(RhinoBasedPacEvaluator.java:133)
at
net.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator.getProxies(RhinoBasedPacEvaluator.java:104)
at
net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowserPAC(BrowserAwareProxySelector.java:236)
at
net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowser(BrowserAwareProxySelector.java:184)
at
net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:208)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:871)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at
net.sourceforge.jnlp.cache.ResourceTracker.findBestUrl(ResourceTracker.java:861)
at
net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:776)
at
net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:611)
at
net.sourceforge.jnlp.cache.ResourceTracker.access$500(ResourceTracker.java:72)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader$1.run(ResourceTracker.java:1115)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader$1.run(ResourceTracker.java:1113)
at java.security.AccessController.doPrivileged(Native Method)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1113)
at java.lang.Thread.run(Thread.java:679)
After the exception javaws hangs.
Installing the librhino-java package solves the problem.
Can this package be added as a Depends or Recommends to the icedtea-netx
package?
Thanks,
Tommaso Colombo
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages icedtea-netx:amd64 depends on:
ii icedtea-netx-common 1.2-2
ii openjdk-6-jre6b24-1.11.1-6
icedtea-netx:amd64 recommends no packages.
icedtea-netx:amd64 suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org