[jboss-jira] [JBoss JIRA] Commented: (JBAOP-721) Binds with similar pointcut expressions are ignored
Kabir Khan (JIRA)
jira-events at lists.jboss.org
Tue Jul 13 05:25:05 EDT 2010
[ https://jira.jboss.org/browse/JBAOP-721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12538948#action_12538948 ]
Kabir Khan commented on JBAOP-721:
----------------------------------
"Ah, I have an interceptor-ref to a non-existent interceptor.
<interceptor class="org.jboss.ejb3.test.tx.common.SynchronizationActionInterceptor" scope="PER_VM"/>
<interceptor-ref name="org.jboss.ejb3.tx.test.common.SynchronizationActionInterceptor"/>
Both the deployment of beans and the a proper error for this scenario must be fixed."
If the problem is that the SynchronizationActionInterceptor class does not exist, this in effect is the same as saying
<bean name="MyBean">
<depends bean="NonExistantBean"/>
</bean>
<bean name="NonExistantBean" class="NonExistantBean"/>
So as I see it you should not be able to deploy this bean. Can you give clear instructions on how to reproduce and what you think should happen and we can take it from there
> Binds with similar pointcut expressions are ignored
> ---------------------------------------------------
>
> Key: JBAOP-721
> URL: https://jira.jboss.org/browse/JBAOP-721
> Project: JBoss AOP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.1.0.GA
> Environment: Branch_5_x @ 87425
> Reporter: Carlo de Wolf
> Assignee: Flavia Rainone
> Priority: Blocker
> Fix For: 2.2.1.GA
>
>
> Given the following descriptor:
> http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/ejb3/trunk/core/src/main/resources/ejb3-interceptors-aop.xml?revision=87350&view=markup
> 04-16-2009 09:47:58: ERROR: java.lang.NullPointerException
> at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.ejb3.security.RunAsSecurityInterceptorv2.invoke(RunAsSecurityInterceptorv2.java:94)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
> at org.jboss.ejb3.tx.TxInterceptor$Never.invoke(TxInterceptor.java:63)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:560)
> at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53)
> at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
> StatefulInstanceInterceptor is not executed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list