[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

jaikiran do-not-reply at jboss.com
Fri Apr 3 04:00:59 EDT 2009


anonymous wrote : 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
  | 

Hmmm, do you have a bean which is having a @EJB to inject another bean? And do these two beans reside in two separate jar files?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223195#4223195

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223195



More information about the jboss-user mailing list