You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robert Greig (JIRA)" <qp...@incubator.apache.org> on 2006/10/06 19:57:25 UTC
[jira] Commented: (QPID-2) BytesMessage.readByte() does not throw
MessageEOFException
[ http://issues.apache.org/jira/browse/QPID-2?page=comments#action_12440562 ]
Robert Greig commented on QPID-2:
---------------------------------
Fixed and unit test updated to test all readXXX methods; just waiting for svn access in order to be able to commit changes.
> 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