Does anyone have an idea why the below twiddle call is failing?

$ ./twiddle.sh invoke jboss.mq:service=DestinationManager listMessageCounter
10:14:47,830 ERROR [Twiddle] Exec failed 
java.lang.NullPointerException
        at javax.management.modelmbean.DescriptorSupport.readObject(DescriptorSu
pport.java:1354)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919
)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
12)
        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:46
8)
        at javax.management.modelmbean.ModelMBeanAttributeInfo.readObject(ModelM
BeanAttributeInfo.java:514)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919
)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
12)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
        at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
        at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvo
kerProxy.java:119)
        at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerIntercep
tor.java:227)
        at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
a:167)
        at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientIntercepto
r.invoke(InvokerAdaptorClientInterceptor.java:51)
        at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5
5)
        at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodIntercepto
r.java:59)
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
        at $Proxy0.getMBeanInfo(Unknown Source)
        at org.jboss.console.twiddle.command.InvokeCommand.invoke(InvokeCommand.
java:166)
        at org.jboss.console.twiddle.command.InvokeCommand.execute(InvokeCommand
.java:270)
        at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:293)

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

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

Reply via email to