[infinispan-issues] [JBoss JIRA] (ISPN-9267) RemoteMultimapCacheAPITest fails with trace logging enabled

Dan Berindei (JIRA) issues at jboss.org
Tue Jun 5 10:38:01 EDT 2018


Dan Berindei created ISPN-9267:
----------------------------------

             Summary: RemoteMultimapCacheAPITest fails with trace logging enabled
                 Key: ISPN-9267
                 URL: https://issues.jboss.org/browse/ISPN-9267
             Project: Infinispan
          Issue Type: Bug
          Components: Test Suite - Server
    Affects Versions: 9.3.0.CR1
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 9.3.0.Final


{{Codec20.writeHeader()}} logs the name of the operation using {{HotRodConstants.Names.of(op)}}, which in turn uses an array populated with the request/response constants in {{HotRodConstants}}. The multimap request/response ops are defined in {{MultimapHotRodConstants}}, so they're missing from the array:

{noformat}
[ERROR] testContainsEntry(org.infinispan.client.hotrod.RemoteMultimapCacheAPITest)  Time elapsed: 0.016 s  <<< FAILURE!
java.util.concurrent.CompletionException: java.lang.ArrayIndexOutOfBoundsException: 107
	at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375)
	at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)
	at org.infinispan.client.hotrod.RemoteMultimapCacheAPITest.testContainsEntry(RemoteMultimapCacheAPITest.java:128)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 107
	at org.infinispan.client.hotrod.impl.protocol.HotRodConstants$Names.of(HotRodConstants.java:241)
	at org.infinispan.client.hotrod.impl.protocol.Codec20.writeHeader(Codec20.java:129)
	at org.infinispan.client.hotrod.impl.protocol.Codec28.writeHeader(Codec28.java:19)
	at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendKeyValueOperation(AbstractKeyValueOperation.java:53)
	at org.infinispan.client.hotrod.impl.multimap.operations.PutKeyValueMultimapOperation.executeOperation(PutKeyValueMultimapOperation.java:43)
	at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.invoke(RetryOnFailureOperation.java:75)
	at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.activateChannel(ChannelPool.java:217)
	at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.acquire(ChannelPool.java:86)
	at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:258)
	at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:296)
	at org.infinispan.client.hotrod.impl.operations.AbstractKeyOperation.fetchChannelAndInvoke(AbstractKeyOperation.java:39)
	at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:60)
	at org.infinispan.client.hotrod.impl.multimap.RemoteMultimapCacheImpl.put(RemoteMultimapCacheImpl.java:78)
	... 24 more
{noformat}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list