[
https://jira.jboss.org/jira/browse/EJBTHREE-1996?page=com.atlassian.jira....
]
jaikiran pai commented on EJBTHREE-1996:
----------------------------------------
This was fixed in
https://jira.jboss.org/jira/browse/EJBTHREE-1962
Does this still occur with the EJB3 plugin applied?
NPE when calling EJBContext.getCallerPrincipal with no principal
----------------------------------------------------------------
Key: EJBTHREE-1996
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1996
Project: EJB 3.0
Issue Type: Bug
Components: Security
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Caused by: javax.ejb.EJBException: java.lang.NullPointerException
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:77)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
....
Caused by: java.lang.NullPointerException
at
org.jboss.ejb3.security.helpers.EJBContextHelper.getCallerPrincipal(EJBContextHelper.java:69)
at org.jboss.ejb3.EJBContextImpl.getCallerPrincipal(EJBContextImpl.java:136)
at org.jboss.ejb3.examples.chxx.tuner.CachingAuditor.audit(CachingAuditor.java:95)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira