[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] NullPointerException in org.eclipse.equinox.launcher.Main.findMax

I went through all the hoops of JavaWebStart-ing a simple RCP application - which I managed to start succesfully
(main problems were the wrong main class name in the help, and the inclusion of references to win32.wpf jars in the generated JNLP files ...).


As I moved on to the webstarting my real large RCP app I am encountering an NPE (see trace below)

This happens targeting both the 3.3.1.1 SDK and the 3.3.2 SDK (and their deltas) and with either the sun 5 update 10 or the ibm 5 SR7 jdks.

googling yelds one old discussion with no solution
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=53&t=000482


Any ideas ?



!SESSION Fri May 09 18:28:26 BST 2008 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2008-05-09 18:28:26.281
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at org.eclipse.equinox.launcher.Main.findMax(Main.java:871)
at org.eclipse.equinox.launcher.WebStartMain.searchFor(WebStartMain.java:116)
at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:72)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:56)
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.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)