quality@glassfish.java.net

Re: Few samples fail to deploy in the latest nightly build of GlassFish

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Thu, 12 Nov 2009 01:57:10 -0800

Thanks Naresh for the reporting and Richard for the confirmation.

Richard, Did the same test work in b71 ? If yes, please file a bug and
attach your app please.
Please do some search on the existing bugs, long list, need some patient :-)

All v3 Open Defects
<https://glassfish.dev.java.net/issues/buglist.cgi?Submit+query=Submit+query&issue_type=DEFECT&component=glassfish&issue_status=UNCONFIRMED&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED&version=V3&email1=&emailtype1=exact&emailassigned_to1=1&email2=&emailtype2=exact&emailreporter2=1&issueidtype=include&issue_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=fulltext&long_desc=&long_desc_type=fulltext&issue_file_loc=&issue_file_loc_type=fulltext&status_whiteboard=&status_whiteboard_type=fulltext&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Reuse+same+sort+as+last+time>

Thanks,
Judy

Richard Kolb wrote:
> Hi Naresh
>
> I can confirm this:
> In Build 72 I just installed.
> I deployed a JSF 2 application.
>
> regards
> Richard.
>
> This is my stack trace :
>
> [#|2009-11-12T11:40:26.112+0200|SEVERE|glassfishv3.0|org.apache.catalina.core.ContainerBase|_ThreadID=24;_ThreadName=Thread-1;|ContainerBase.addChild:
> start:
> org.apache.catalina.LifecycleException: java.lang.NullPointerException
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5216)
> 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:305)
> 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
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
> at
> org.glassfish.deployment.common.ClassDependencyBuilder.getAnnotatedClasses(ClassDependencyBuilder.java:57)
> at
> org.glassfish.deployment.common.ClassDependencyBuilder.computeResult(ClassDependencyBuilder.java:41)
> at
> org.glassfish.web.loader.ServletContainerInitializerUtil.checkAgainstInterestList(ServletContainerInitializerUtil.java:405)
> at
> org.glassfish.web.loader.ServletContainerInitializerUtil.getInitializerList(ServletContainerInitializerUtil.java:313)
> at
> org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5258)
> at
> com.sun.enterprise.web.WebModule.callServletContainerInitializers(WebModule.java:551)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5190)
> ... 38 more
>
>
> 2009/11/12 Naresh <Srinivas.Bhimisetty_at_sun.com
> <mailto:Srinivas.Bhimisetty_at_sun.com>>
>
> Hi,
>
> we have a Hudson job which runs some Jersey sample tests on the
> nightly builds of GlassFish.
> We observe that in the latest nightly build few samples fail to
> deploy.
>
> Some NullPointerExceptions like the following are thrown at
> deployment time:
> ---------------------------------------------------------------------------------------
> Caused by: java.lang.NullPointerException at
> org.glassfish.deployment.common.ClassDependencyBuilder.getAnnotatedClasses(ClassDependencyBuilder.java:57)
> at
> org.glassfish.deployment.common.ClassDependencyBuilder.computeResult(ClassDependencyBuilder.java:41)
> at
> org.glassfish.web.loader.ServletContainerInitializerUtil.checkAgainstInterestList(ServletContainerInitializerUtil.java:405)
> at
> org.glassfish.web.loader.ServletContainerInitializerUtil.getInitializerList(ServletContainerInitializerUtil.java:313)
> at
> org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5258)
> at
> com.sun.enterprise.web.WebModule.callServletContainerInitializers(WebModule.java:551)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5190)
> ... 38 more
> ---------------------------------------------------------------------------------------
>
> Is it possibly a regression in the latest nightly build of GlassFish?
>
> You might want to try deploying the attached sample for
> reproducing the issue.
>
> Thanks,
> Naresh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
>
>