Hi, Our EJB3 application deploys without problems in JBoss 4.3, but in 5.x I get NullPointerException in JavaEEComponentHelper.
I've started my tests in JBoss 5.0.1GA (jdk6) and got this problem, so after some googling I found a thread describing a similar problem in previous version of JBoss (http://www.jboss.org/index.html?module=bb&op=viewtopic&t=138480) and related JIRA (https://jira.jboss.org/jira/browse/JBAS-5713) stated that the problem has been resolved in JBoss 5.1.0.Beta1. So I've downloaded this version (also jdk6), but the problem is still there. | 08:15:31,758 ERROR [AbstractKernelController] Error installing to Real: name=vfs | file:/E:/ifs_home_WS/jboss-5.1.0.Beta1/server/dev/deploy/ifsapp.ear/ state=PreRe | al mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: Error deploying administrateuserpro | files-ejb.jar: null | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196) | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internal | Deploy(AbstractVFSRealDeployer.java:45) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy( | AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer | Wrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer | sImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi | rst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi | rst(DeployersImpl.java:1210) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers | Impl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra | ctControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractContr | oller.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra | ctController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr | actController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr | actController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractContro | ller.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractContro | ller.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers | Impl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye | rImpl.java:698) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter | .process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction | .install(ProfileDeployAction.java:59) | at org.jboss.system.server.profileservice.repository.AbstractProfileActi | on.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileServ | ice.install(AbstractProfileService.java:355) | at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra | ctControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractContr | oller.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra | ctController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr | actController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr | actController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractContro | ller.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractContro | ller.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileServ | ice.activateProfile(AbstractProfileService.java:310) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start( | ProfileServiceBootstrap.java:241) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java: | 461) | at org.jboss.Main.boot(Main.java:216) | at org.jboss.Main$1.run(Main.java:546) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.NullPointerException | at org.jboss.ejb3.javaee.JavaEEComponentHelper.createObjectName(JavaEECo | mponentHelper.java:46) | at org.jboss.ejb3.deployers.JBoss5DeploymentScope.getEjbContainer(JBoss5 | DeploymentScope.java:170) | at org.jboss.ejb3.Ejb3Deployment.getEjbContainer(Ejb3Deployment.java:410 | ) | at org.jboss.ejb3.EJBContainer.resolveEjbContainer(EJBContainer.java:141 | 8) | at org.jboss.injection.AbstractHandler.addDependency(AbstractHandler.jav | a:50) | at org.jboss.injection.EJBRemoteHandler.ejbRefDependency(EJBRemoteHandle | r.java:146) | at org.jboss.injection.EJBRemoteHandler.handleFieldAnnotations(EJBRemote | Handler.java:393) | at org.jboss.injection.InjectionUtil.processFieldAnnotations(InjectionUt | il.java:160) | at org.jboss.injection.InjectionUtil.processAnnotations(InjectionUtil.ja | va:197) | at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:590) | at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deploym | ent.java:418) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:526) | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189) | ... 34 more | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223177#4223177 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223177 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user