users@glassfish.java.net

Pb with javaws on mustang

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 Feb 2007 00:39:35 PST

Hello,

I have some problems to launch applications with java web start from glassfish using mustang. Applications starts without problem with J2SE 5.
My system uses:
  - glassfish-installer-v1_ur1-p01-b02.jar
  - java build 1.6.0-b105
  - netbeans 5.5

Here is the stack trace from java web start:

Error attempting to launch JWSACCMain.main
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:146)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.javaws.Launcher.executeApplication(Launcher.java:1205)
        at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1151)
        at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:998)
        at com.sun.javaws.Launcher.run(Launcher.java:105)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:189)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.NullPointerException
        at com.sun.enterprise.appclient.jws.boot.ClassPathManager16.findContainingJar(ClassPathManager16.java:83)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.findContainingJar(JWSACCMain.java:374)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.findAppClientFileForJWSLaunch(JWSACCMain.java:389)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:163)
        ... 8 more

Thanks in advance for your help.
[Message sent by forum member 'tomam' (tomam)]

http://forums.java.net/jive/thread.jspa?messageID=202817