null pointer exception at launch?

Questions, answers, tips and ideas on Servoy Client

null pointer exception at launch?

Postby mboegem » Mon Aug 02, 2010 9:23 am

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)
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: null pointer exception at launch?

Postby jcompagner » Mon Aug 02, 2010 10:31 am

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?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: null pointer exception at launch?

Postby mboegem » Mon Aug 02, 2010 11:37 am

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?
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: null pointer exception at launch?

Postby jcompagner » Mon Aug 02, 2010 11:46 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: null pointer exception at launch?

Postby mboegem » Mon Aug 02, 2010 12:13 pm

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 4935 times
Last edited by mboegem on Mon Aug 02, 2010 12:15 pm, edited 1 time in total.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: null pointer exception at launch?

Postby jcompagner » Mon Aug 02, 2010 12:15 pm

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)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: null pointer exception at launch?

Postby mboegem » Mon Aug 02, 2010 12:23 pm

no error information I'm aware of. It looks just like the normal jnlp-file content.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: null pointer exception at launch?

Postby mboegem » Mon Aug 02, 2010 12:29 pm

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...
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 7 guests