Nagin Kothari [http://community.jboss.org/people/nagin.kothari] replied to the 
discussion

"NPE in StateslessContainer at line 396"

To view the discussion, visit: http://community.jboss.org/message/542241#542241

--------------------------------------------------------------
*Bean context is null in Server side interceptor "ApplicationIterceptor"
 
*public *class ApplicationIterceptor *implements Interceptor {**
** 

**public Object invoke(Invocation invocation) throws Throwable
{
     EJBContainerInvocation ejb = (EJBContainerInvocation) invocation;
  Principal p = ejb.getBeanContext().getEJBContext().getCallerPrincipal();
  
  //In above code  ejb.getBeanContext() is null;
}
  
}
**


**
*
*


--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/542241#542241]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to