[jboss-jira] [JBoss JIRA] Closed: (EJBTHREE-800) RuntimeException thrown by @Remove method is swallowed and rethrown as javax.ejb.EJBNoSuchObjectException
Gavin King (JIRA)
jira-events at jboss.com
Sun Dec 3 02:18:56 EST 2006
[ http://jira.jboss.com/jira/browse/EJBTHREE-800?page=all ]
Gavin King closed EJBTHREE-800.
-------------------------------
Resolution: Duplicate Issue
Oh, stupidme, this was already reported and fixed as EJBTHREE-769.
> RuntimeException thrown by @Remove method is swallowed and rethrown as javax.ejb.EJBNoSuchObjectException
> ---------------------------------------------------------------------------------------------------------
>
> Key: EJBTHREE-800
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-800
> Project: EJB 3.0
> Issue Type: Bug
> Reporter: Gavin King
>
> If a runtimeexception is thrown by the @Remove method of an SFSB, the EJB container swallows it and instead throws this exception:
> javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 3j001-5jww5u-ev92gcva-1-ev93yypo-z
> at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:268)
> at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:127)
> at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
> at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
> at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
> at $Proxy235.destroy(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list