qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-195) getObject Results in a java.io.StreamCorruptedException when called immediately after a setObject on unsent Object message
Date Sat, 16 Dec 2006 09:33:21 GMT
     [ http://issues.apache.org/jira/browse/QPID-195?page=all ]

Rob Godfrey updated QPID-195:
-----------------------------

    Attachment: qpid-195.patch

Earlier fix corrected all cases except for setObject(null)  followed by getObject().
Attached patch fixes this case, and adds test case.

> getObject Results in a java.io.StreamCorruptedException when called immediately after
a setObject on unsent Object message
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-195
>                 URL: http://issues.apache.org/jira/browse/QPID-195
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JMS Compliance
>            Reporter: Rajith Attapattu
>         Assigned To: Robert Greig
>         Attachments: qpid-195.patch
>
>
> getObject Results in a java.io.StreamCorruptedException when called immediately after
a setObject on unsent Object message
> java.io.StreamCorruptedException: invalid stream header
> 	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
> 	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
> 	at org.apache.qpid.client.message.JMSObjectMessage.getObject(JMSObjectMessage.java:123)

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

        

Mime
View raw message