dev@glassfish.java.net

Re: V3 nightly bundle issues starting on 11/7

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 09 Nov 2009 08:23:52 -0800

Hi Ryan,

On 11/09/09 08:04, Ryan O'Connell wrote:
> Hello,
>
> This may be a known issue, sorry if it is. Starting on 11/7 we
> started seeing the following errors in the server log when running the
> CTS sample tests. I installed the 11/6 build and reran the failing
> tests. They passed. So it looks like something changed between 11/6
> and 11/7.

The root cause:

Caused by: java.lang.NullPointerException
   at
com.sun.enterprise.web.DynamicWebServletRegistrationImpl.postProcessAnnotations(WebModule.java:2330)

seems to be caused by the fix for:

  https://glassfish.dev.java.net/issues/show_bug.cgi?id=10821
  ("[SPEC] all mappings should apply to @ServletSecurity in registration
api")

Can you please open a new issue?

Thanks,

Jan

>
> 11/6 passes
> 11/7 fails
> 11/8 fails
> 11/9 fails
>
>
> Server log stack traces:
>
> [#|2009-11-09T10:01:15.788-0500|SEVERE|glassfishv3.0|org.apache.catalina.core.StandardContext|_ThreadID=25;_ThreadName=Thread-1;|PWC1305:
> Exception during cleanup after start failed
> org.apache.catalina.LifecycleException: PWC2769: Manager has not yet
> been started
> at
> org.apache.catalina.session.StandardManager.stop(StandardManager.java:892)
>
> at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:5381)
> at com.sun.enterprise.web.WebModule.stop(WebModule.java:531)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5209)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
>
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1604)
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:337)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>
> at
> org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195)
>
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> |#]
>
> [#|2009-11-09T10:01:15.797-0500|SEVERE|glassfishv3.0|org.apache.catalina.core.ContainerBase|_ThreadID=25;_ThreadName=Thread-1;|ContainerBase.addChild:
> start:
> org.apache.catalina.LifecycleException: java.lang.NullPointerException
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5214)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
>
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1604)
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:337)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>
> at
> org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195)
>
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.NullPointerException
> at
> com.sun.enterprise.web.DynamicWebServletRegistrationImpl.postProcessAnnotations(WebModule.java:2330)
>
> at
> com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:541)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5191)
> ... 26 more
> |#]
>
> [#|2009-11-09T10:01:15.802-0500|WARNING|glassfishv3.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=25;_ThreadName=Thread-1;|java.lang.IllegalStateException:
> ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
> java.lang.NullPointerException
> java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: java.lang.NullPointerException
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932)
>
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1604)
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:337)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>
> at
> org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195)
>
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> |#]
>
> [#|2009-11-09T10:01:15.802-0500|SEVERE|glassfishv3.0|javax.enterprise.system.core.org.glassfish.internal.data|_ThreadID=25;_ThreadName=Thread-1;|Exception
> while invoking class com.sun.enterprise.web.WebApplication start method
> java.lang.Exception: java.lang.IllegalStateException:
> ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
> java.lang.NullPointerException
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:118)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:337)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>
> at
> org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195)
>
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> |#]
>
> [#|2009-11-09T10:01:15.848-0500|SEVERE|glassfishv3.0|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=25;_ThreadName=Thread-1;|Exception
> while loading the app
> java.lang.Exception: java.lang.IllegalStateException:
> ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
> java.lang.NullPointerException
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:118)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:337)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>
> at
> org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376)
>
> at
> org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195)
>
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> |#]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>