[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-442) JBoss Serialization issue with readResolve

Tim Fox (JIRA) jira-events at jboss.com
Fri Jul 21 05:32:12 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBMESSAGING-442?page=all ]

Tim Fox updated JBMESSAGING-442:
--------------------------------

    Summary: JBoss Serialization issue with readResolve  (was: JBoss Serialization issue)

> JBoss Serialization issue with readResolve
> ------------------------------------------
>
>                 Key: JBMESSAGING-442
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-442
>             Project: JBoss Messaging
>          Issue Type: Bug
>    Affects Versions: 1.0.1.CR3
>            Reporter: Tim Fox
>         Assigned To: Tim Fox
>             Fix For: 1.0.1.CR4
>
>         Attachments: TestJBossJMS.zip
>
>
> There is an issue in jboss serialization when readresolve is used
> Run against JBoss MQ:
>  
> C:\TestJBossJMS>ant run_subscriber
> Buildfile: build.xml
>  
> compile:
>  
> run_subscriber:
>      [java] ConnectionHelper.getInitialContext: JNDI_URL=jnp://localhost:1099
>      [java] TestTopicSubscriber.init: ready ...
>      [java] MessageListener.onMessage: id=1, obj=TestMessage(id=1, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=2, obj=TestMessage(id=2, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=3, obj=TestMessage(id=3, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=4, obj=TestMessage(id=4, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=5, obj=TestMessage(id=5, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=6, obj=TestMessage(id=6, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=7, obj=TestMessage(id=7, clazz=class testjms.TestEnum)
>  
>  
> Run against JBoss Messaging:
>  
> C:\TestJBossJMS>ant run_subscriber
> Buildfile: build.xml
>  
> compile:
>  
> run_subscriber:
>      [java] ConnectionHelper.getInitialContext: JNDI_URL=jnp://localhost:1099
>      [java] TestTopicSubscriber.init: ready ...
>      [java] MessageListener.onMessage: id=1, obj=TestMessage(id=1, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=2, obj=TestMessage(id=2, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=3, obj=TestMessage(id=3, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=4, obj=TestMessage(id=3, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=5, obj=TestMessage(id=3, clazz=class java.lang.String)
>      [java] MessageListener.onMessage: id=6, obj=TestMessage(id=3, clazz=class java.lang.String)
>      [java] 14:24:03,480 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:03,527 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:03,558 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:03,652 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:03,808 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:03,886 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:03,917 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:03,949 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:03,980 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:04,011 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>      [java] 14:24:04,058 ERROR [MessageCallbackHandler] RuntimeException was thrown from onMessage, 8454 will be redelivered
>      [java] java.lang.RuntimeException: Failed to read payload
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:226)
>      [java]     at org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:137)
>      [java]     at org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:59)
>      [java]     at testjms.TestTopicSubscriber$1.onMessage(TestTopicSubscriber.java:15)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82)
>      [java]     at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751)
>      [java]     at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
>      [java]     at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
>      [java]     at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
>      [java]     at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:634)
>      [java]     at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
>      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
>      [java]     at org.jboss.messaging.core.message.RoutableSupport.internalReadObject(RoutableSupport.java:183)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.readPayloadExternal(MessageSupport.java:350)
>      [java]     at org.jboss.messaging.core.message.MessageSupport.getPayload(MessageSupport.java:211)
>      [java]     ... 7 more
>  
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list