users@glassfish.java.net

Re: Webstart help please

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 May 2007 10:49:55 PDT

ok, sorry about that. i didnt have anything in that javaws.trace file last time, so i didnt include it.
i played around with it some more and removed the cached version of the application to force it to download it again. this time when i run it, it do get an exception in the trace file.
here it is.



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






here is what i am getting in the log file now.


<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>0</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>Error attempting to launch JWSACCMain.main
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>1</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>java.lang.reflect.InvocationTargetException
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>2</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventQueue.invokeAndWait(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>3</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>4</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:146)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>5</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>6</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>7</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>8</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.lang.reflect.Method.invoke(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>9</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.javaws.Launcher.executeApplication(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>10</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>11</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>12</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.javaws.Launcher.run(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>13</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.lang.Thread.run(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>14</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>Caused by: java.lang.RuntimeException: java.lang.NullPointerException
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>15</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:189)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>16</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>17</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventQueue.dispatchEvent(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>18</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>19</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>20</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>21</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>22</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>23</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at java.awt.EventDispatchThread.run(Unknown Source)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>24</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>Caused by: java.lang.NullPointerException
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>25</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.enterprise.appclient.jws.boot.ClassPathManager16.findContainingJar(ClassPathManager16.java:83)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911796</millis>
  <sequence>26</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.enterprise.appclient.jws.boot.JWSACCMain.findContainingJar(JWSACCMain.java:374)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911812</millis>
  <sequence>27</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.enterprise.appclient.jws.boot.JWSACCMain.findAppClientFileForJWSLaunch(JWSACCMain.java:389)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911812</millis>
  <sequence>28</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:163)
</message>
</record>
<record>
  <date>2007-05-15T13:41:51</date>
  <millis>1179250911812</millis>
  <sequence>29</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message> ... 8 more
</message>
</record>
</log>



any ideas?
[Message sent by forum member 'derekv' (derekv)]

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