[jboss-jira] [JBoss JIRA] (JGRP-1811) Arithmetic Exception in MPerf when sending less than 10 messages

Bela Ban (JIRA) issues at jboss.org
Mon Mar 24 12:09:13 EDT 2014


     [ https://issues.jboss.org/browse/JGRP-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1811.
----------------------------

    Resolution: Done

    
> Arithmetic Exception in MPerf when sending less than 10 messages
> ----------------------------------------------------------------
>
>                 Key: JGRP-1811
>                 URL: https://issues.jboss.org/browse/JGRP-1811
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Andrei Palade
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 3.5
>
>
> Not sure if this is intended to be like this, but in MPerf when the user tries to set the num_msg to 1 and start sending the messages, MPerf throws
> Mar 22, 2014 4:02:25 PM org.jgroups.logging.JDKLogImpl error
> SEVERE: failure unmarshalling buffer
> java.lang.ArithmeticException: / by zero
> 	at org.jgroups.tests.perf.MPerf.handleData(MPerf.java:418)
> 	at org.jgroups.tests.perf.MPerf.receive(MPerf.java:280)
> 	at org.jgroups.JChannel.invokeCallback(JChannel.java:890)
> 	at org.jgroups.JChannel.up(JChannel.java:746)
> 	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
> 	at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:146)
> 	at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
> 	at org.jgroups.protocols.SEQUENCER.deliver(SEQUENCER.java:606)
> 	at org.jgroups.protocols.SEQUENCER.unwrapAndDeliver(SEQUENCER.java:573)
> 	at org.jgroups.protocols.SEQUENCER.up(SEQUENCER.java:279)
> 	at org.jgroups.protocols.SEQUENCER.up(SEQUENCER.java:308)
> 	at org.jgroups.protocols.FlowControl.up(FlowControl.java:434)
> 	at org.jgroups.protocols.FlowControl.up(FlowControl.java:434)
> 	at org.jgroups.stack.Protocol.up(Protocol.java:409)
> 	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:294)
> 	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:520)
> 	at org.jgroups.protocols.pbcast.NAKACK2.deliverBatch(NAKACK2.java:927)
> 	at org.jgroups.protocols.pbcast.NAKACK2.removeAndPassUp(NAKACK2.java:857)
> 	at org.jgroups.protocols.pbcast.NAKACK2.handleMessage(NAKACK2.java:792)
> 	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:573)
> 	at org.jgroups.protocols.BARRIER.up(BARRIER.java:152)
> 	at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
> 	at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:199)
> 	at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:296)
> 	at org.jgroups.protocols.MERGE2.up(MERGE2.java:209)
> 	at org.jgroups.protocols.Discovery.up(Discovery.java:379)
> 	at org.jgroups.protocols.TP.passMessageUp(TP.java:1532)
> 	at org.jgroups.protocols.TP$3.run(TP.java:1466)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:744)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list