activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TOPPER_HARLEY <TREVOR.HIGG...@ERICSSON.COM>
Subject NegativeArraySizeException in Unmarshal
Date Fri, 21 Dec 2007 11:01:19 GMT

Hi,
We have been hit with this exception on our sending of messages:

Exception in thread "ActiveMQ Transport: tcp:///127.0.0.1:29406"
java.lang.NegativeArraySizeException
        at
org.apache.activemq.openwire.v2.BaseDataStreamMarshaller.tightUnmarshalByteSequence(BaseDataStreamM
arshaller.java:412)
        at
org.apache.activemq.openwire.v2.MessageMarshaller.tightUnmarshal(MessageMarshaller.java:73)
        at
org.apache.activemq.openwire.v2.ActiveMQMessageMarshaller.tightUnmarshal(ActiveMQMessageMarshaller.
java:66)
        at
org.apache.activemq.openwire.v2.ActiveMQObjectMessageMarshaller.tightUnmarshal(ActiveMQObjectMessag
eMarshaller.java:66)
        at
org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.java:347)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:273)
        at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
        at java.lang.Thread.run(Thread.java:595)


This is dumped out of one of the "controller" threads of the connection (by
controller I mean a thread such as "ActiveMQ Transport:
tcp:///127.0.0.1:29406" or "ActiveMQ Transport: tcp:///127.0.0.1:50057") 

We only have one connection to the broker on the sender side, and after this
exception, all sends block as the sender remains in
SocketOutputStream.socketWrite0() indefinitely. Has anyone seen this before
or know why it might be happening?....apart from the fact something is using
negative number as array size ;)

thanks
/Tom
-- 
View this message in context: http://www.nabble.com/NegativeArraySizeException-in-Unmarshal-tp14453548s2354p14453548.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message