[Bug 294] New: JavaWS sample not starting as applet due to ZipException, runs fine with javaws or java
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Mon Feb 16 20:58:03 PST 2009
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=294
Summary: JavaWS sample not starting as applet due to
ZipException, runs fine with javaws or java
Product: IcedTea
Version: unspecified
Platform: PC
URL: http://javafx.com/samples/WhiteOutGame
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: IcedTea
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: naveed at cs.columbia.edu
The JavaFX 1.1 WhiteOut sample fails to start on its web page with "applet not
initialized" and the java.util.zip.ZipException stack trace below. The same
sample runs fine both via the Web Start method and by direct invocation via
java. Why is the applet method broken?
[From .xsession-errors when visting http://javafx.com/samples/WhiteOutGame in
Firefox 3.0.6]
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
at java.util.jar.JarFile.<init>(JarFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:101)
at net.sourceforge.jnlp.tools.JarSigner.verifyJar(JarSigner.java:245)
at net.sourceforge.jnlp.tools.JarSigner.verifyJars(JarSigner.java:220)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.verifyJars(JNLPClassLoader.java:660)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:330)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:161)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:218)
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:445)
at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:418)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:597)
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
at java.util.jar.JarFile.<init>(JarFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:101)
at net.sourceforge.jnlp.tools.JarSigner.verifyJar(JarSigner.java:245)
at net.sourceforge.jnlp.tools.JarSigner.verifyJars(JarSigner.java:220)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.verifyJars(JNLPClassLoader.java:660)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:330)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:161)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:218)
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:445)
at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:418)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:597)
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not
initialize applet.
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:472)
at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:418)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:597)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: A
fatal error occurred while trying to verify jars.
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:336)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:161)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:218)
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:445)
... 2 more
Caused by:
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: A fatal
error occurred while trying to verify jars.
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:336)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:161)
at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:218)
at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:445)
at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:418)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:597)
java.lang.NullPointerException
at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:97)
at sun.applet.AppletPanel.run(AppletPanel.java:380)
at java.lang.Thread.run(Thread.java:636)
java.lang.NullPointerException
at sun.applet.AppletPanel.run(AppletPanel.java:430)
at java.lang.Thread.run(Thread.java:636)
$ java -version
java version "1.6.0_0"
IcedTea6 1.4 (fedora-9.b14.fc10-x86_64) Runtime Environment (build 1.6.0_0-b14)
OpenJDK 64-Bit Server VM (build 14.0-b08, mixed mode)
$ javaws http://javafx.com/samples/WhiteOutGame/webstart/WhiteOutGame.jnlp
[game starts and works]
$ java -cp
/tmp/cache/http/dl.javafx.com/javafx-rt__V1.1.0.jar:/tmp/cache/http/javafx.com/samples/WhiteOutGame/webstart/WhiteOutGame.jar
whiteout.Main
[game starts and works]
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the distro-pkg-dev
mailing list