You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2008/12/17 03:02:05 UTC

[jira] Commented: (AMQ-2035) Intermittent failure of test org.apache.activemq.usecases.MultiBrokersMultiClientsUsingTcpTest

    [ https://issues.apache.org/activemq/browse/AMQ-2035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48215#action_48215 ] 

Gary Tully commented on AMQ-2035:
---------------------------------

seems as if the message is modified during dispatch, between the iteration to marshall1 where a boolean stream is written and the size calculated, and the marshal2 when data is written the field getCluster() becomes null.
What else could cause this?

> Intermittent failure of test org.apache.activemq.usecases.MultiBrokersMultiClientsUsingTcpTest
> ----------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2035
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2035
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>    Affects Versions: 5.2.0
>            Reporter: Gary Tully
>             Fix For: 5.3.0
>
>
> [17:35:25]: Running org.apache.activemq.usecases.MultiBrokersMultiClientsUsingTcpTest
> [17:35:38]: Exception in thread "BrokerService" java.lang.NullPointerException
> [17:35:38]: 	at org.apache.activemq.openwire.v4.BaseDataStreamMarshaller.tightMarshalObjectArray2(BaseDataStreamMarshaller.java:369)
> [17:35:38]: 	at org.apache.activemq.openwire.v4.MessageMarshaller.tightMarshal2(MessageMarshaller.java:191)
> [17:35:38]: 	at org.apache.activemq.openwire.v4.ActiveMQMessageMarshaller.tightMarshal2(ActiveMQMessageMarshaller.java:89)
> [17:35:38]: 	at org.apache.activemq.openwire.OpenWireFormat.tightMarshalNestedObject2(OpenWireFormat.java:424)
> [17:35:38]: 	at org.apache.activemq.openwire.v4.BaseDataStreamMarshaller.tightMarshalNestedObject2(BaseDataStreamMarshaller.java:136)
> [17:35:38]: 	at org.apache.activemq.openwire.v4.MessageDispatchMarshaller.tightMarshal2(MessageDispatchMarshaller.java:105)
> [17:35:38]: 	at org.apache.activemq.openwire.OpenWireFormat.marshal(OpenWireFormat.java:237)
> [17:35:38]: 	at org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:166)
> [17:35:38]: 	at org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:233)
> [17:35:38]: 	at org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:83)
> [17:35:38]: 	at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:100)
> [17:35:38]: 	at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40)
> [17:35:38]: 	at org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1210)
> [17:35:38]: 	at org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:795)
> [17:35:38]: 	at org.apache.activemq.broker.TransportConnection.iterate(TransportConnection.java:832)
> [17:35:38]: 	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
> [17:35:38]: 	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
> [17:35:38]: 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> [17:35:38]: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> [17:35:38]: 	at java.lang.Thread.run(Thread.java:595)
> [17:35:43]: Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.358 sec

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.