Page 1 of 1

null pointer exception at launch?

PostPosted: Mon Aug 02, 2010 9:23 am
by mboegem
Just one of our users (at least just one reported this) sometimes is getting an error launching our application.
The strange thing is: within this period where he's able to launch perfectly and just sometimes where he gets the error we didn't touch the application server at all.

Does anyone recognize this or suggestions how to solve this at that particular moment?

Thnkx!

version details:
MacOSX
Java v1.5.0_22
Servoy v5.1.4

The error:
java.lang.NullPointerException
at
com
.sun
.javaws
.security.SigningInfo.getCommonCodeSignersForJar(SigningInfo.java:394)
at com.sun.javaws.security.SigningInfo.check(SigningInfo.java:275)
at
com
.sun
.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:
1498)
at
com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:
1268)
at com.sun.javaws.Launcher.prepareResources(Launcher.java:1222)
at com.sun.javaws.Launcher.prepareAllResources(Launcher.java:624)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:332)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:232)
at com.sun.javaws.Launcher.launch(Launcher.java:121)
at com.sun.javaws.Main.launchApp(Main.java:418)
at com.sun.javaws.Main.continueInSecureThread(Main.java:255)
at com.sun.javaws.Main$1.run(Main.java:115)
at java.lang.Thread.run(Thread.java:613)

Re: null pointer exception at launch?

PostPosted: Mon Aug 02, 2010 10:31 am
by jcompagner
thats really a webstart problem for downloading a jar file from the server.
Do you have any more info in that error dialog which file it tries to download?

Re: null pointer exception at launch?

PostPosted: Mon Aug 02, 2010 11:37 am
by mboegem
There's only the 'launch file' tab which is accessible, this doesn't provide much more information, it looks pretty fine.

I suppose other error information will only be visible in the java console?

Re: null pointer exception at launch?

PostPosted: Mon Aug 02, 2010 11:46 am
by jcompagner
for me i mostly have more tabs to see what it does try to load.

Dont think the java console will do much, because it could be even a bit to early for that.

Re: null pointer exception at launch?

PostPosted: Mon Aug 02, 2010 12:13 pm
by mboegem
jcompagner wrote:for me i mostly have more tabs to see what it does try to load.


hmmm, maybe MacOS java behaviour... this is what I got send in the first place...

exception.png
exception.png (66.7 KiB) Viewed 4937 times

Re: null pointer exception at launch?

PostPosted: Mon Aug 02, 2010 12:15 pm
by jcompagner
and in the launch file tab there is also not much to see? (its just the main jnlp file?)

it could be something like the swingbeans.jar or another 3th party plugin that is just an empty jar.. (those can be removed from an appserver)

Re: null pointer exception at launch?

PostPosted: Mon Aug 02, 2010 12:23 pm
by mboegem
no error information I'm aware of. It looks just like the normal jnlp-file content.

Re: null pointer exception at launch?

PostPosted: Mon Aug 02, 2010 12:29 pm
by mboegem
jcompagner wrote:it could be something like the swingbeans.jar or another 3th party plugin that is just an empty jar.. (those can be removed from an appserver)


Can this be the situation? At our office we use the exact same solution at the exact same server. It's a mixed windows/mac environment and we don't have any problems at all...