dev@glassfish.java.net

Re: Exception at end of QL

From: Yamini K B <Yamini.Kb_at_Sun.COM>
Date: Thu, 22 Jul 2010 22:42:17 +0530
Ah! The NPE is from GMS during shutdown:

[#|2010-07-22T22:19:21.909+0530|WARNING|glassfish3.1|javax.enterprise.system.core.org.glassfish.kernel.event|_ThreadID=283;_ThreadName=Thread-78;|Exception while dispatching an event
java.lang.NullPointerException
        at org.glassfish.gms.GMSAdapterImpl$1.event(GMSAdapterImpl.java:426)
        at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:125)
        at com.sun.enterprise.v3.server.AppServerStartup.stop(AppServerStartup.java:402)
        at org.jvnet.hk2.osgiadapter.HK2Main.stop(HK2Main.java:170)
        at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:655)
        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2235)
        at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:941)
        at com.sun.enterprise.glassfish.bootstrap.GlassFishActivator.stopBundle(GlassFishActivator.java:224)
        at com.sun.enterprise.glassfish.bootstrap.GlassFishActivator.stop(GlassFishActivator.java:146)
        at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:655)
        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2235)
        at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:941)
        at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:928)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.detach(OSGiModuleImpl.java:249)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.stop(OSGiModuleImpl.java:227)
        at com.sun.enterprise.v3.admin.StopServer.doExecute(StopServer.java:63)
        at com.sun.enterprise.v3.admin.StopDomainCommand.execute(StopDomainCommand.java:98)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:362)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.run(CommandRunnerImpl.java:390)
|#]



Yamini K B wrote:
Hi,

I'm seeing this NPE at the end of QL runs though the tests do complete successfully. Is this known issue?

Thanks,
-Yamini

gyBuilderFactory>>createPersistenceStrategyBuilder: CandidateBuilderClassName = class com.sun.enterprise.web.MemoryStrategyBuilder|#]
     [echo] [#|2010-07-22T22:19:10.566+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=283;_ThreadName=Thread-78;|PersistenceStrategyBuilderFactory>>createPersistenceStrategyBuilder: CandidateBuilderClassName = class com.sun.enterprise.web.MemoryStrategyBuilder|#]
     [echo] [#|2010-07-22T22:19:10.566+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=15;_ThreadName=Thread-1;|PersistenceStrategyBuilderFactory>>createPersistenceStrategyBuilder: CandidateBuilderClassName = class com.sun.enterprise.web.MemoryStrategyBuilder|#]
     [echo] [#|2010-07-22T22:19:21.909+0530|WARNING|glassfish3.1|javax.enterprise.system.core.org.glassfish.kernel.event|_ThreadID=283;_ThreadName=Thread-78;|Exception while dispatching an event
     [echo] java.lang.NullPointerException
     [echo]
     [echo]    

pass:

fail:
     [echo] ======================================================================
     [echo] FAILED: check-logged-messages
     [echo] Issues found in one or more messages (see results above).
     [echo] Please address them, or if the message should be left as-is,
     [echo] add it to the exclusion list with details why it should be excluded:
     [echo] /gfv3.1/ql/quicklook/gfproject/log_msg_excl.txt
     [echo] ======================================================================


testng-summary:
     [echo]    [testng]
     [echo]    [testng] ===============================================
     [echo]    [testng] QuickLookTests
     [echo]    [testng] Total tests run: 127, Failures: 0, Skips: 0
     [echo]    [testng] ===============================================
     [echo]    [testng]
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL

--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: dev-help@glassfish.dev.java.net