Can you check if there is a directory called
$GF_HOME/domains/somain1/lib?
Normally one should not encounter this NPE. It is a separate
matter that
PELaunch.java [1] is not guarding itself against null value
that can be
returned by File.listFiles().
Thanks,
Sahoo
[1]
http://fisheye5.cenqua.com/browse/glassfish/appserv-core/src
/java/com/sun/enterprise/server/PELaunch.java?r=1.27
glassfish javadesktop.org wrote:
> Hi,
>
> I'm using Gentoo Linux, J2SDK 1.6.0_03, GlassFish V2
v2ur1-b07. I've noticed a problem running glassfish verifier
(verifying EAR archive). I'm getting the following
verification results:
>
> ---------------------------
> STATIC VERIFICATION RESULTS
> ---------------------------
>
>
> ----------------------------------
> NUMBER OF FAILURES/WARNINGS/ERRORS
> ----------------------------------
> # of Failures : 0
> # of Warnings : 0
> # of Errors : 1
>
>
-----------------------------------------------------
> ERRORS THAT OCCURRED WHILE RUNNING STATIC
VERIFICATION
>
-----------------------------------------------------
>
> Error Name : Could not verify successfully.
> Error Description :
java.lang.NullPointerException
> at
com.sun.enterprise.server.PELaunch.getServerClassPath(PELaun
ch.java:525)
> at
com.sun.enterprise.tools.verifier.VerificationHandler.initSt
andalone(VerificationHandler.java:190)
> at
com.sun.enterprise.tools.verifier.VerificationHandler.<in
it>(VerificationHandler.java:109)
> at
com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.j
ava:140)
> at
com.sun.enterprise.tools.verifier.Verifier.main(Verifier.jav
a:114)
>
>
> ----------------------------------
> END OF STATIC VERIFICATION RESULTS
> ----------------------------------
>
> Any hints on what might be the cause of this
exception??
>
> Best regards,
>
> Olaf Tomczak
> [Message sent by forum member 'olafos' (olafos)]
>
> http://forums.java.net/jive/thread.jspa?messageID=244254
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe glassfish.dev.java.net
> For additional commands, e-mail: users-help glassfish.dev.java.net
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe glassfish.dev.java.net
For additional commands, e-mail: users-help glassfish.dev.java.net
|