Package: sun-java6-bin
Version: 6-16-1
Severity: important

Trying to start any java web start app (for example the ones on 
http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html ) 
results in an "Unable to launch the application." error, no matter if it's 
from the cmd line or iceweasel. But the stack trace is different in each of 
these cases.

This is what I get when starting from iceweasel 3.5.6:

Detail message:

com.sun.deploy.net.FailedDownloadException: Unable to load resource: 
http://java.sun.com/javase/technologies/desktop/javawebstart/apps/draw.jnlp
        at 
com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1347)
        at 
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1487)
        at 
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1465)
        at 
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1568)
        at 
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1496)
        at 
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
        at 
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:201)
        at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:447)
        at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:232)
        at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:183)
        at com.sun.javaws.Launcher.launch(Launcher.java:104)
        at com.sun.javaws.Main.launchApp(Main.java:403)
        at com.sun.javaws.Main.continueInSecureThread(Main.java:250)
        at com.sun.javaws.Main$1.run(Main.java:111)
        at java.lang.Thread.run(Thread.java:619)

Wrapped exception:

java.net.SocketException: Network is unreachable
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:525)
        at java.net.Socket.connect(Socket.java:475)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
        at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
        at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
        at 
com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:185)
        at 
com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:113)
        at 
com.sun.deploy.net.BasicHttpRequest.doGetRequest(BasicHttpRequest.java:78)
        at 
com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1159)
        at 
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1487)
        at 
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1465)
        at 
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1568)
        at 
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1496)
        at 
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
        at 
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:201)
        at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:447)
        at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:232)
        at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:183)
        at com.sun.javaws.Launcher.launch(Launcher.java:104)
        at com.sun.javaws.Main.launchApp(Main.java:403)
        at com.sun.javaws.Main.continueInSecureThread(Main.java:250)
        at com.sun.javaws.Main$1.run(Main.java:111)
        at java.lang.Thread.run(Thread.java:619)

Needless to say, the network is fine and the URL mentioned can be wget'ed 
reliably.

When trying to run it from the cmd line like this
$ /usr/lib/jvm/java-6-sun-1.6.0.16/bin/javaws 
'http://java.sun.com/javase/technologies/desktop/javawebstart/apps/draw.jnlp'

I get this:

Detail message:

CouldNotLoadArgumentException[ Could not load file/URL specified: 
http://java.sun.com/javase/technologies/desktop/javawebstart/apps/draw.jnlp]
        at com.sun.javaws.Main.launchApp(Main.java:325)
        at com.sun.javaws.Main.continueInSecureThread(Main.java:250)
        at com.sun.javaws.Main$1.run(Main.java:111)
        at java.lang.Thread.run(Thread.java:619)

Wrapped exception:

com.sun.deploy.net.FailedDownloadException: Unable to load resource: 
http://java.sun.com/javase/technologies/desktop/javawebstart/apps/draw.jnlp
        at 
com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1347)
        at 
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1487)
        at 
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1465)
        at 
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1568)
        at 
com.sun.deploy.net.DownloadEngine.getCachedFile(DownloadEngine.java:583)
        at 
com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:112)
        at 
com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:349)
        at com.sun.javaws.Main.launchApp(Main.java:306)
        at com.sun.javaws.Main.continueInSecureThread(Main.java:250)
        at com.sun.javaws.Main$1.run(Main.java:111)
        at java.lang.Thread.run(Thread.java:619)


Using the OpenJDK does not help either, with yet another error message:

/usr/lib/jvm/java-6-openjdk/bin/javaws 
'http://java.sun.com/javase/technologies/desktop/javawebstart/apps/draw.jnlp'
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch 
JNLP file.
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:462)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:731)
Caused by: java.lang.NullPointerException
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:442)
        ... 1 more
Caused by: 
java.lang.NullPointerException
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:442)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:731)


I could reproduce the problem on another squeeze box (tried only iceweasel 
there).

However, on an etch (virtual) box both iceweasel (2.0.0.19) and cmd line (java 
1.6.0.07) web-start just fine.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sun-java6-bin depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared 
lib
ii  sun-java6-jre                 6-16-1     Sun Java(TM) Runtime Environment 
(
ii  unixodbc                      2.2.11-21  ODBC tools libraries

Versions of packages sun-java6-bin recommends:
ii  libasound2                    1.0.21a-1  shared library for ALSA 
applicatio
ii  libnss-mdns                   0.10-3.1   NSS module for Multicast DNS name 
ii  libx11-6                      2:1.3.3-1  X11 client-side library
ii  libxext6                      2:1.1.1-2  X11 miscellaneous extension 
librar
ii  libxi6                        2:1.3-2    X11 Input extension library
ii  libxtst6                      2:1.1.0-2  X11 Testing -- Resource extension 

Versions of packages sun-java6-bin suggests:
ii  binfmt-support                1.2.17     Support for extra binary formats

-- debconf information:
* shared/accepted-sun-dlj-v1-1: true
  shared/error-sun-dlj-v1-1:
* shared/present-sun-dlj-v1-1:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to