This content has been marked as final.
Show 2 replies
-
1. Re: ArrayStoreException occurs when calling getObject() meth
xiemingjie Jun 14, 2007 11:41 AM (in response to xiemingjie)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. -
2. Re: ArrayStoreException occurs when calling getObject() meth
adrian.brock Jun 15, 2007 10:57 AM (in response to xiemingjie)Looks like a JDK incompatibility issue. Report it to Sun.
But you need to include a lot more information than you have above,
e.g. a simple testcase and the stacktrace of the exception would be a start.