users@glassfish.java.net

Re: Web-Start

From: <glassfish_at_javadesktop.org>
Date: Mon, 19 Mar 2007 08:41:31 PST

Tim,

My mistake, I realised as soon as I posted. - Just got hold of the file and I have a null-pointer exception. I don't understand since I can execute the JAR and it starts the app?!

Trace file:
Error attempting to launch JWSACCMain.main
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
        at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:146)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
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(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
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
[Message sent by forum member 'mickouk' (mickouk)]

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