Developers, Developers, Developers! Maksim Sorokin IT Blog

16Apr/10Off

Exception Launching Application in GlassFish v3

You have probably seen this nasty exception if you tried launching applications in GlassFish v3:

java.lang.NullPointerException
	at org.glassfish.appclient.client.acc.ACCLogger$1.run(ACCLogger.java:149)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.glassfish.appclient.client.acc.ACCLogger.reviseLogger(ACCLogger.java:146)
	at org.glassfish.appclient.client.acc.ACCLogger.init(ACCLogger.java:93)
	at org.glassfish.appclient.client.acc.ACCLogger.(ACCLogger.java:80)
	at org.glassfish.appclient.client.AppClientFacade.createBuilder(AppClientFacade.java:360)
	at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:247)
	at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83)
	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)

You are not alone! We have rewritten one of our products using Java EE 6 features. And since we had to use GlassFish v3 in order to run this application, we had to migrate other applications too. And then this nasty bug was discovered...

Bug on official GlassFish website:
https://glassfish.java.net/issues/long_list.cgi?issuelist=11494

It is fixed in night builds. So currently we just sticked to a specific version of night build in order to have applications working. According to information on the internet (for example http://blog.eisele.net/2010/03/glassfish-product-roadmap-updates.html) release of GlassFish v3.0.1 will be only this summer.

Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.