1 Reply Latest reply on Oct 15, 2004 4:53 PM by Bill Burke

    NPE in ClassAdvisor

    charles_blaxland Newbie

      I got the following NPE when invoking a mixin method that started with an underscore (running RC2):

      java.lang.NullPointerException
      at org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1574)
      at org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1568)
      at jbossaoptest.testObjects.TestObj._mixinMethod(TestObj.java)
      at jbossaoptest.Main.run(Main.java:41)
      at jbossaoptest.Main.main(Main.java:66)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.intellij.rt.execution.application.AppMain.main(Unknown Source)

      Cheers,
      Charles