[jboss-user] [Messaging, JMS & JBossMQ] - Re: ArrayStoreException occurs when calling getObject() meth

xiemingjie do-not-reply at jboss.com
Thu Jun 14 11:41:17 EDT 2007


Here is a part of the code.

QueueReceiver receiver = ...
...
ObjectMessage resultMessage = (ObjectMessage) receiver.receive(sleepTime);
Serializable obj= resultMessage.getObject(); //On this line, the exception occured


Everything worked just fine in Java 5.

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

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



More information about the jboss-user mailing list