Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-14


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.