NPE error after deploy OpenEJB injection-of-env-entry sample
------------------------------------------------------------

                 Key: GERONIMO-5603
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5603
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 3.0
         Environment: windows xp , jdk 1.6.0._20
build: 2010.09.08-11:46:48.734+0800
            Reporter: viola.lu
             Fix For: 3.0
         Attachments: injection-of-env-entry-1.1-SNAPSHOT.jar

1.Deploy openejb sample: injection-of-env-entry to server 
2.Got errors below, but successfully on geronimo 2.2
ava.lang.NullPointerException
org.apache.geronimo.common.DeploymentException: java.lang.NullPointerException
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:284)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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(Thread.java:619)
Caused by: java.lang.NullPointerException
        at 
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:324)
        at 
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
        at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
        at 
org.apache.xbean.osgi.bundle.util.BundleClassLoader.loadClass(BundleClassLoader.java:69)
        at 
org.apache.xbean.osgi.bundle.util.BundleClassLoader.loadClass(BundleClassLoader.java:64)
        at 
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1055)
        at 
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:684)
        at 
org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:232)
        at 
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:259)
        at 
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:647)
        at 
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:767)
        at 
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:694)
        at 
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:614)
        at 
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:600)
        at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:639)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
        ... 12 more



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to