[Bug 271] JavaFX sample no longer runs with javaws, runs fine with java

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Jun 29 11:06:24 PDT 2009


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=271





------- Comment #7 from jon.vanalten at redhat.com  2009-06-29 18:06 -------
Using recent hg clone:

java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.5-r9247751a966e) (build 1.6.0_0-b16)
OpenJDK 64-Bit Server VM (build 14.0-b15, mixed mode)

I get a different yet still not desirable result:

$ javaws -verbose
http://javafx.com/samples/BrickBreaker/webstart/BrickBreaker.jnlp
JNLP file location:
http://javafx.com/samples/BrickBreaker/webstart/BrickBreaker.jnlp
call privileged method: getCodeBase
        result: null
.
.
.
<?xml version="1.0" encoding="UTF-8"?>
line: 2 <jnlp spec="1.0+"
codebase="http://javafx.com/samples/BrickBreaker/webstart/"
href="BrickBreaker.jnlp">
.
.
.
line: 13 <extension name="JavaFX Runtime"
href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
.
.
.
Status: CONNECT STARTED +(CONNECT STARTED) @ /1.2/javafx-rt.jnlp
.
.
.
Status: CONNECTED DOWNLOADED STARTED +(DOWNLOADED) -(DOWNLOAD) @
/1.2/javafx-rt.jnlp
<?xml version="1.0" encoding="UTF-8"?><jnlp spec="1.0+" version="1.2.0_b233"
codebase="http://dl.javafx.com/1.2/"
href="javafx-rt.jnlp"><information><title>JavaFX Runtime</title><vendor>Sun
Microsystems,
Inc.</vendor><offline-allowed/></information><security><all-permissions/></security><update
check="background"/><resources><extension name="jogl" href="/jogl.jnlp"
version="1.1.1a"><ext-download ext-part="jogl"
download="lazy"/></extension></resources><resources os="Windows"
arch="x86"><jar href="/javafx-rt-windows-i586__V1.2.0_b233.jar"
part="javafx-rt" download="eager"/><nativelib
href="/javafx-rt-natives-windows-i586__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/></resources><resources os="Mac OS X"><jar
href="/javafx-rt-macosx-universal__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/><nativelib
href="/javafx-rt-natives-macosx-universal__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/></resources><resources os="Linux" arch="i386"><jar
href="/javafx-rt-linux-i586__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/><nativelib
href="/javafx-rt-natives-linux-i586__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/></resources><resources os="Linux" arch="x86"><jar
href="/javafx-rt-linux-i586__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/><nativelib
href="/javafx-rt-natives-linux-i586__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/></resources><resources os="SunOS" arch="x86"><jar
href="/javafx-rt-solaris-i586__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/><nativelib
href="/javafx-rt-natives-solaris-i586__V1.2.0_b233.jar" part="javafx-rt"
download="eager"/></resources><component-desc/></jnlp>net.sourceforge.jnlp.ParseException:
The extension element must specify a ext-part attribute.
        at net.sourceforge.jnlp.Parser.getRequiredAttribute(Parser.java:1124)
        at net.sourceforge.jnlp.Parser.getExtension(Parser.java:341)
        at net.sourceforge.jnlp.Parser.getResourcesDesc(Parser.java:260)
        at net.sourceforge.jnlp.Parser.getResources(Parser.java:203)
        at net.sourceforge.jnlp.JNLPFile.parse(JNLPFile.java:515)
        at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:159)
        at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:241)
        at
net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeExtensions(JNLPClassLoader.java:259)
        at
net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:157)
        at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:219)
        at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:583)
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:401)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:674)
Permission added: (java.io.FilePermission
/home/username/.netx/cache/http/javafx.com/samples/BrickBreaker/webstart/BrickBreaker.jar
read)
.
.
.
Activate jar:
file:/home/username/.netx/cache/http/javafx.com/samples/BrickBreaker/webstart/BrickBreaker.jar
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:438)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:674)
Caused by: java.lang.NoClassDefFoundError: com/sun/javafx/runtime/Main
        at com.sun.javafx.runtime.main.Main.main(Main.java:35)
        ... 6 more
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch
JNLP file.
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:446)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:674)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:438)
        ... 1 more
Caused by: java.lang.NoClassDefFoundError: com/sun/javafx/runtime/Main
        at com.sun.javafx.runtime.main.Main.main(Main.java:35)
        ... 6 more
Caused by: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:438)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:674)
Caused by: java.lang.NoClassDefFoundError: com/sun/javafx/runtime/Main
        at com.sun.javafx.runtime.main.Main.main(Main.java:35)
        ... 6 more


-- 
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