You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2006/09/18 11:59:22 UTC

[jira] Created: (QPID-2) BytesMessage.readByte() does not throw MessageEOFException

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


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

        

[jira] Assigned: (QPID-2) BytesMessage.readByte() does not throw MessageEOFException

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-2?page=all ]

Robert Greig reassigned QPID-2:
-------------------------------

    Assignee: Robert Greig

> 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

        

[jira] Closed: (QPID-2) BytesMessage.readByte() does not throw MessageEOFException

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim closed QPID-2.
-------------------------


> BytesMessage.readByte() does not throw MessageEOFException
> ----------------------------------------------------------
>
>                 Key: QPID-2
>                 URL: https://issues.apache.org/jira/browse/QPID-2
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Gordon Sim
>            Assignee: 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-2) BytesMessage.readByte() does not throw MessageEOFException

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ 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

        

[jira] Commented: (QPID-2) BytesMessage.readByte() does not throw MessageEOFException

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
    [ 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