Have you checked the ClassPool object can access BeforeMethod?
Please try:

method.getDeclaringClass().getClassPool().get("org.testng...BeforeMethod")

If this returns null, the ClassPool does not know how to obtain the class file. 
 Maybe the appended class path is wrong.  Otherwise, something I don't know is 
happening.

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

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

Reply via email to