[jboss-user] [JBoss AOP] - prepare brakes call (bug)

Luntain do-not-reply at jboss.com
Sat Aug 5 08:48:56 EDT 2006


Repro:


  |  <prepare expr="all(klass)"/>
  | 
  |     <bind pointcut="call(* *->*(..)) AND within(klass)">
  |         <advice name="advice" aspect="aspect"/>
  |     </bind>
  | 
  | 

on start you will get sth like (here WindowView ~ klass):

java.lang.NullPointerException
  | 	at com.siemens.smarthome.component.tree.details.WindowView._getInstanceAdvisor(WindowView.java)
  | 	at com.siemens.smarthome.component.tree.details.WindowView.detailsWidgets(WindowView.java)
  | 	at com.siemens.smarthome.component.tree.details.AbstractView.<init>(AbstractView.java:46)
  | 	at com.siemens.smarthome.component.tree.details.AbstractView.<init>(AbstractView.java:22)
  | 	at com.siemens.smarthome.component.tree.details.WindowView.<init>(WindowView.java:14)
  | 	at com.siemens.smarthome.component.tree.details.WindowView.WindowView_new_$aop(WindowView.java)
  | ...

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963378



More information about the jboss-user mailing list