users@glassfish.java.net

Re: appclient doesn't work

From: <glassfish_at_javadesktop.org>
Date: Mon, 29 Mar 2010 11:35:25 PDT

You are likely to see the NullPointerException running a GlassFish 3.0 build. Current builds of 3.0.1 and 3.1 should not have this problem.

The NPE occurs because of a change made in Java SE in 1.6.0_18. (We added a workaround to GlassFish to avoid the problem.) The underlying change in Java SE involves certain things be garbage collected more aggressively in 1.6.0_18 as compared to earlier releases. In theory there would be no difference among different operating systems, but in the past I have seem some differences as to when GC kicks in from one OS to another.

The bottom line is this: If you use Java SE 1.6.0_18 or later and a current GlassFish build of 3.0.1 or 3.1 you should not see this NPE problem.

- Tim
[Message sent by forum member 'tjquinn']

http://forums.java.net/jive/thread.jspa?messageID=394329