qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Greig (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Resolved: (QPID-2) BytesMessage.readByte() does not throw MessageEOFException
Date Thu, 12 Oct 2006 18:22:35 GMT
     [ http://issues.apache.org/jira/browse/QPID-2?page=all ]

Robert Greig resolved QPID-2.
-----------------------------

    Resolution: Fixed

Revision 463363.

Check of remaining bytes added to fix bug and unit test revamped.

> BytesMessage.readByte() does not throw MessageEOFException
> ----------------------------------------------------------
>
>                 Key: QPID-2
>                 URL: http://issues.apache.org/jira/browse/QPID-2
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Gordon Sim
>         Assigned To: Robert Greig
>
> Instead you get:
>  
> java.nio.BufferUnderflowException
>  at java.nio.Buffer.nextGetIndex(Buffer.java:398)
>  at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:117)
>  at org.apache.mina.common.support.BaseByteBuffer.get(BaseByteBuffer.java:202)
>  at org.apache.qpid.client.message.JMSBytesMessage.readByte(JMSBytesMessage.java:161)

-- 
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