[jboss-user] Re: Error deploying EJB with JBoss5.0.0.CR1 !

samk at twinix.com samk at twinix.com
Sun Sep 7 12:36:26 EDT 2008


See Thread at: http://www.techienuggets.com/Detail?tx=47800 Posted on behalf of a User

You will find the answer to your problem at https://jira.jboss.org/jira/browse/JBAS-5646. Regards, Tom at diligentcafe.blogspot.com

In Response To: 

i have an error when i try to deploy an EJB that work fine with JBoss5 Beta4. 
i have a  java.lang.NullPointerException when i try to deploy this EJB :

 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/product/jboss/jboss-5.0.0.CR1/server/default/deploy/mminfra-CR1.ear state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying OTAinfra-ejb.jar: null
        at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192)
        at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95)
        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.jboss.ejb3.javaee.JavaEEComponentHelper.createObjectName(JavaEEComponentHelper.java:46)
        at org.jboss.ejb3.deployers.JBoss5DeploymentScope.getEjbContainer(JBoss5DeploymentScope.java:167)
        at org.jboss.ejb3.Ejb3Deployment.getEjbContainer(Ejb3Deployment.java:384)
        at org.jboss.ejb3.EJBContainer.resolveEjbContainer(EJBContainer.java:1324)
        at org.jboss.injection.AbstractHandler.addDependency(AbstractHandler.java:50)
        at org.jboss.injection.EJBRemoteHandler.ejbRefDependency(EJBRemoteHandler.java:143)
        at org.jboss.injection.EJBRemoteHandler.handleFieldAnnotations(EJBRemoteHandler.java:371)
        at org.jboss.injection.InjectionUtil.processFieldAnnotations(InjectionUtil.java:162)
        at org.jboss.injection.InjectionUtil.processAnnotations(InjectionUtil.java:199)
        at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:563)
        at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:392)
        at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:505)
        at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:185)
        ... 27 more

some one have any solution?

thank's a lot





More information about the jboss-user mailing list