[infinispan-issues] [JBoss JIRA] (ISPN-11296) StateResponseOrderingTest uncaught IllegalArgumentException

Dan Berindei (Jira) issues at jboss.org
Fri Feb 7 02:45:31 EST 2020


Dan Berindei created ISPN-11296:
-----------------------------------

             Summary: StateResponseOrderingTest uncaught IllegalArgumentException
                 Key: ISPN-11296
                 URL: https://issues.redhat.com/browse/ISPN-11296
             Project: Infinispan
          Issue Type: Bug
          Components: Core, Test Suite
    Affects Versions: 10.1.1.Final
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 11.0.0.Alpha1


I think initially I wanted {{MatchCountMatcher}} to count from 1 and handle {{matchCount == 0}} as matching all invocations. All the callers now assume 0 is the first invocation, but the code kept working because the exception was not caught.

{noformat}
java.lang.IllegalStateException: State st:after_first_state_response exited twice
	at org.infinispan.test.concurrent.StateSequencer.exit(StateSequencer.java:242)
	at org.infinispan.test.concurrent.StateSequencer.advance(StateSequencer.java:316)
	at org.infinispan.test.concurrent.StateSequencerUtil.advanceMultiple(StateSequencerUtil.java:103)
	at org.infinispan.test.concurrent.InboundRpcSequencerAction$SequencerPerCacheInboundInvocationHandler.advance(InboundRpcSequencerAction.java:101)
	at org.infinispan.test.concurrent.InboundRpcSequencerAction$SequencerPerCacheInboundInvocationHandler.lambda$handle$0(InboundRpcSequencerAction.java:82)
	at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.invokedComplete(BaseBlockingRunnable.java:130)
	at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.invoke(BaseBlockingRunnable.java:111)
	at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.runAsync(BaseBlockingRunnable.java:72)
	at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.run(BaseBlockingRunnable.java:41)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list