admin@glassfish.java.net

NPE in DomainMgr.getTestFile()

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 07 Dec 2007 11:49:19 -0800

After checking out today's 9.1.1 source, I'm seeing this when
starting the server (Mac OS X, Intel). (This happens even with a
freshly-created domain).

I'll re-nuke everything, rebuild, and see if anything changes.


[#|2007-12-07T11:44:47.783-0800|WARNING|sun-appserver9.1|
javax.enterprise.system.tools.verifier|_ThreadID=10;_ThreadName=main;|
error
java.lang.NullPointerException: name
         at java.util.zip.ZipFile.getEntry(ZipFile.java:247)
         at java.util.jar.JarFile.getEntry(JarFile.java:204)
         at java.util.jar.JarFile.getJarEntry(JarFile.java:187)
         at sun.misc.URLClassPath$JarLoader.getResource
(URLClassPath.java:674)
         at sun.misc.URLClassPath.getResource(URLClassPath.java:161)
         at sun.misc.URLClassPath.getResource(URLClassPath.java:213)
         at java.lang.ClassLoader.getBootstrapResource
(ClassLoader.java:1113)
         at java.lang.ClassLoader.getResource(ClassLoader.java:974)
         at java.lang.ClassLoader.getResource(ClassLoader.java:972)
         at java.lang.ClassLoader.getResource(ClassLoader.java:972)
         at
com.sun.enterprise.config.serverbeans.validation.DomainMgr.getTestFile
(DomainMgr.java:126)
         at
com.sun.enterprise.config.serverbeans.validation.DomainMgr.loadDescripto
rs(DomainMgr.java:139)
         at
com.sun.enterprise.config.serverbeans.validation.DomainMgr.<init>
(DomainMgr.java:110)
         at
com.sun.enterprise.config.serverbeans.validation.DomainMgr.<init>
(DomainMgr.java:98)
         at
com.sun.enterprise.config.serverbeans.validation.DomainMgr.<init>
(DomainMgr.java:94)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance
(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at
com.sun.enterprise.admin.server.core.AdminContextImpl.registerValidator(
AdminContextImpl.java:142)
         at
com.sun.enterprise.admin.server.core.AdminContextImpl.setServerContext
(AdminContextImpl.java:111)
         at
com.sun.enterprise.admin.server.core.AdminService.createAdminService
(AdminService.java:245)
         at
com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onInitializat
ion(AdminServiceLifeCycle.java:115)
         at
com.sun.enterprise.server.ApplicationServer.onInitialization
(ApplicationServer.java:262)
         at
com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization
(OnDemandServer.java:101)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.server.PELaunch.main(PELaunch.java:413)
|#]


---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc