Bug 342488 - Exception running webstart app
Summary: Exception running webstart app
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 16:04 EDT by Silenio Quarti CLA
Modified: 2011-04-26 03:04 EDT (History)
0 users

See Also:


Attachments
test jar (3.79 MB, application/java-archive)
2011-04-11 16:06 EDT, Silenio Quarti CLA
no flags Details
jnlp file (634 bytes, application/x-java-jnlp-file)
2011-04-11 16:06 EDT, Silenio Quarti CLA
no flags Details
fix (1.04 KB, patch)
2011-04-11 16:08 EDT, Silenio Quarti CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Silenio Quarti CLA 2011-04-11 16:04:55 EDT
Tried to run a webstart app with latest code and failed with this exception in Display.java.

11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart	Exception in thread "AWT-AppKit" 
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart	java.lang.reflect.InvocationTargetException
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at java.lang.reflect.Method.invoke(Method.java:597)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at com.sun.javaws.Launcher.invokeMainMethod(Launcher.java:1557)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart	Caused by: java.lang.NullPointerException
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at org.eclipse.swt.widgets.Display.init(Display.java:2178)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at org.eclipse.swt.graphics.Device.<init>(Device.java:131)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at org.eclipse.swt.widgets.Display.<init>(Display.java:699)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at org.eclipse.swt.widgets.Display.<init>(Display.java:690)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		at org.eclipse.swt.examples.controlexample.ControlExample.main(ControlExample.java:215)
11-04-11 4:09:36 PM	[0x0-0x71071].com.apple.JavaWebStart		... 5 more
Comment 1 Silenio Quarti CLA 2011-04-11 16:06:00 EDT
Created attachment 192972 [details]
test jar
Comment 2 Silenio Quarti CLA 2011-04-11 16:06:15 EDT
Created attachment 192973 [details]
jnlp file
Comment 3 Silenio Quarti CLA 2011-04-11 16:08:05 EDT
Created attachment 192974 [details]
fix
Comment 4 Silenio Quarti CLA 2011-04-11 16:08:55 EDT
Fixed > 20110411
Comment 5 Silenio Quarti CLA 2011-04-11 16:10:19 EDT
Note that the jar I attached already has the fixed.