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