[jboss-dev-forums] [Design of POJO Server] - Re: @JMX aspect and aop/mc integration

bstansberry@jboss.com do-not-reply at jboss.com
Mon Nov 13 23:07:30 EST 2006


I'm still seeing this after updating the microcontainer and aop libs. Here's the stack trace (just pasting the caused by):

Caused by: java.lang.NullPointerException
  | 	at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.<init>(DistributedReplicantManagerImpl.java:117)
  | 	at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.<init>(DistributedReplicantManagerImpl.java:102)
  | 	at AOPContainerProxy$3.<init>(AOPContainerProxy$3.java)
  | 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | 	at java.lang.Class.newInstance0(Class.java:350)
  | 	at java.lang.Class.newInstance(Class.java:303)
  | 	at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.instantiateAndConfigureProxy(GeneratedAOPProxyFactory.java:148)
  | 	at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.getProxy(GeneratedAOPProxyFactory.java:122)
  | 	... 29 more

One thing to note here is the constructor parameter is another bean that also has an @JMX annotation.

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

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



More information about the jboss-dev-forums mailing list