icedtea netx fails to run jnlp

Bug #1013449 reported by Miguel Gaspar
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
icedtea-web (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

javaws from icedtea-netx 1.2-2ubuntu-1 errors with at least two different *.jnlp, with the following error message:

$javaws -verbose http://www.geogebra.org/webstart/5.0/geogebra-50.jnlp
No User level deployment.properties found.
Starting security dialog thread
Using firefox's profiles file: /home/miguel/.mozilla/firefox/profiles.ini
Found preferences file: /home/miguel/.mozilla/firefox/z7uvh3h0.default/prefs.js
Read 233 entries from Firefox's preferences
JNLP file location: http://www.geogebra.org/webstart/5.0/geogebra-50.jnlp
call privileged method: getCodeBase
        result: null
Status: CONNECT STARTED +(CONNECT STARTED) @ /webstart/5.0/geogebra-50.jnlp
Status: CONNECT DOWNLOAD STARTED +(DOWNLOAD) @ /webstart/5.0/geogebra-50.jnlp
Status: CONNECTING DOWNLOAD STARTED +(CONNECTING) -(CONNECT) @ /webstart/5.0/geogebra-50.jnlp
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 at java.lang.String.substring(String.java:1943)
 at java.lang.String.substring(String.java:1916)
 at net.sourceforge.jnlp.cache.CacheUtil.pathToURLPath(CacheUtil.java:380)
 at net.sourceforge.jnlp.cache.CacheUtil.getCacheFileIfExist(CacheUtil.java:363)
 at net.sourceforge.jnlp.cache.CacheUtil.getCacheFile(CacheUtil.java:307)
 at net.sourceforge.jnlp.cache.CacheEntry.<init>(CacheEntry.java:56)
 at net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:769)
 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)

I am running Ubuntu 12.04 with all updates. openjdk-6-jre version is 6b24-1.11.1-ubuntu3.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in icedtea-web (Ubuntu):
status: New → Confirmed
Revision history for this message
Markus (makkus) wrote :

Got the same behaviour. Probably some mixup with signed and unsigned (or differently signed) jars and the webstart cache.

Try to delete ~/.icedtea, worked for me...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.