Fail to scan javax.servlet.ServletContainerInitializer ------------------------------------------------------
Key: GERONIMO-5507 URL: https://issues.apache.org/jira/browse/GERONIMO-5507 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: Web Profile Affects Versions: 3.0 Environment: OS: Windows XP SP3 JDK: Sun JDK 1.6.0_20 Reporter: Wang Guang Zhe Fix For: 3.0 When deploying servlet3.0-test which is under testsuite/javaee6-testsuite/servlet3.0-test on the both tomcat and jetty assemblies, error occurs: The application was not deployed. Fail to scan javax.servlet.ServletContainerInitializer org.apache.geronimo.common.DeploymentException: Fail to scan javax.servlet.ServletContainerInitializer at org.apache.geronimo.web25.deployment.merge.MergeHelper.processServletContainerInitializer(MergeHelper.java:321) at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:453) at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:404) at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:168) at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:639) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.apache.xbean.finder.BundleAssignableClassFinder.isSuperClassAssignable(BundleAssignableClassFinder.java:227) at org.apache.xbean.finder.BundleAssignableClassFinder.isClassAcceptable(BundleAssignableClassFinder.java:114) at org.apache.xbean.osgi.bundle.util.BundleClassFinder.scanZip(BundleClassFinder.java:280) at org.apache.xbean.osgi.bundle.util.BundleClassFinder.scanBundleClassPath(BundleClassFinder.java:237) at org.apache.xbean.osgi.bundle.util.BundleClassFinder.find(BundleClassFinder.java:112) at org.apache.geronimo.web25.deployment.merge.MergeHelper.processServletContainerInitializer(MergeHelper.java:316) ... 17 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.