Ok Kabir, I have downloaded the new example classes fixed from cvs  and I see 
that the TestCase you done, works well. But if you change the code of 
jboss-aop.xml file from:

<interceptor 
class="org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor"/>
  |    <bind 
pointcut="call(org.jboss.test.aop.regression.jbaop336callnpe.Log->new(java.lang.String))">
  |     <interceptor-ref 
name="org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor"/>
  |     </bind>

to:

<interceptor 
class="org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor"/>
  |    <bind 
pointcut="call(org.jboss.test.aop.regression.jbaop336callnpe.Log->new(..))">
  |     <interceptor-ref 
name="org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor"/>
  |     </bind>

the java NullPointerException in _getInstanceAdvisor()  will occour!!
Could you fix this problem? Otherwise it's impossible to use call expression 
pointcuts.....

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997520
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to