[infinispan-issues] [JBoss JIRA] (ISPN-9807) SingleClusterExecutorTest.testExecutorTriConsumerTimeoutException random failure
Dan Berindei (Jira)
issues at jboss.org
Mon Dec 10 04:40:00 EST 2018
Dan Berindei created ISPN-9807:
----------------------------------
Summary: SingleClusterExecutorTest.testExecutorTriConsumerTimeoutException random failure
Key: ISPN-9807
URL: https://issues.jboss.org/browse/ISPN-9807
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.4.4.Final, 10.0.0.Alpha2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.0.0.Beta1
{noformat}
testExecutorTriConsumerTimeoutException[false](org.infinispan.manager.SingleClusterExecutorTest) Time elapsed: 0.033 s <<< FAILURE!
java.lang.NullPointerException
at org.infinispan.remoting.transport.AbstractRequest.setTimeoutFuture(AbstractRequest.java:94)
at org.infinispan.remoting.transport.AbstractRequest.setTimeout(AbstractRequest.java:55)
at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeCommand(JGroupsTransport.java:831)
at org.infinispan.manager.impl.SingleClusterExecutor.submitConsumer(SingleClusterExecutor.java:136)
at org.infinispan.manager.ClusterExecutor.submitConsumer(ClusterExecutor.java:116)
at org.infinispan.manager.AllClusterExecutorTest$17.call(AllClusterExecutorTest.java:402)
at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1593)
at org.infinispan.manager.AllClusterExecutorTest.testExecutorTriConsumerTimeoutException(AllClusterExecutorTest.java:382)
{noformat}
The mock {{ScheduledExecutorService}} returns a {{null}} future, causing a {{NullPointerException}} when the request is already done and the timeout future needs to be cancelled. Can be reproduced reliably by adding a delay before {{isDone()}} in {{AbstractRequest.setTimeoutFuture()}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list