[JBoss JIRA] (ISPN-8596) CacheManagerTest#testCacheManagerRestartReusingConfigurations failure
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8596?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes closed ISPN-8596.
-----------------------------------
Resolution: Duplicate Issue
> CacheManagerTest#testCacheManagerRestartReusingConfigurations failure
> ---------------------------------------------------------------------
>
> Key: ISPN-8596
> URL: https://issues.jboss.org/browse/ISPN-8596
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
> Assignee: Dan Berindei
>
> {noformat}
> [ERROR] testCacheManagerRestartReusingConfigurations(org.infinispan.manager.CacheManagerTest) Time elapsed: 0.034 s <<< FAILURE!
> org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart() on object of type GlobalConfigurationManagerImpl
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:267)
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:671)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:260)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:220)
> at org.infinispan.manager.CacheManagerTest$4.call(CacheManagerTest.java:374)
> at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1519)
> at org.infinispan.manager.CacheManagerTest.testCacheManagerRestartReusingConfigurations(CacheManagerTest.java:359)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart() on object of type GlobalConfigurationManagerImpl
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:83)
> at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:71)
> at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:76)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
> at org.infinispan.factories.AbstractComponentRegistry.lambda$invokePrioritizedMethods$3(AbstractComponentRegistry.java:647)
> at org.infinispan.factories.SecurityActions.lambda$run$1(SecurityActions.java:72)
> at org.infinispan.security.Security.doPrivileged(Security.java:76)
> at org.infinispan.factories.SecurityActions.run(SecurityActions.java:71)
> at org.infinispan.factories.AbstractComponentRegistry.invokePrioritizedMethods(AbstractComponentRegistry.java:640)
> at org.infinispan.factories.AbstractComponentRegistry.postStart(AbstractComponentRegistry.java:564)
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:255)
> ... 26 more
> Caused by: org.infinispan.commons.CacheException: java.util.concurrent.CompletionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from CacheManagerTest-NodeB-61798, see cause for remote stack trace
> at org.infinispan.stream.impl.PriorityMergingProcessor$MultiSubscriberIterator.wrapOrThrow(PriorityMergingProcessor.java:139)
> at org.infinispan.stream.impl.PriorityMergingProcessor$MultiSubscriberIterator.getNext(PriorityMergingProcessor.java:160)
> at org.infinispan.commons.util.AbstractIterator.hasNext(AbstractIterator.java:26)
> at org.infinispan.stream.impl.DistributedCacheStream$RehashIterator.getNext(DistributedCacheStream.java:624)
> at org.infinispan.commons.util.AbstractIterator.hasNext(AbstractIterator.java:26)
> at org.infinispan.commons.util.RemovableIterator.getNextFromIterator(RemovableIterator.java:27)
> at org.infinispan.commons.util.RemovableIterator.hasNext(RemovableIterator.java:36)
> at org.infinispan.commons.util.Closeables$IteratorAsCloseableIterator.hasNext(Closeables.java:116)
> at org.infinispan.commons.util.RemovableIterator.getNextFromIterator(RemovableIterator.java:27)
> at org.infinispan.commons.util.RemovableIterator.hasNext(RemovableIterator.java:36)
> at org.infinispan.commons.util.IteratorMapper.hasNext(IteratorMapper.java:26)
> at org.infinispan.cache.impl.EncoderCache$EncoderIterator.hasNext(EncoderCache.java:724)
> at org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart(GlobalConfigurationManagerImpl.java:71)
> at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:79)
> ... 37 more
> Caused by: java.util.concurrent.CompletionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from CacheManagerTest-NodeB-61798, see cause for remote stack trace
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:824)
> at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
> at org.infinispan.remoting.transport.AbstractRequest.completeExceptionally(AbstractRequest.java:73)
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:58)
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35)
> at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:53)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1329)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1239)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$200(JGroupsTransport.java:121)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.receive(JGroupsTransport.java:1367)
> at org.jgroups.JChannel.up(JChannel.java:819)
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:893)
> at org.jgroups.protocols.RSVP.up(RSVP.java:163)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:343)
> at org.jgroups.protocols.tom.TOA.up(TOA.java:112)
> at org.jgroups.protocols.pbcast.GMS.up(GMS.java:864)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:240)
> at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1002)
> at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:728)
> at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:383)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:600)
> at org.jgroups.protocols.Discovery.up(Discovery.java:267)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1229)
> at org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:87)
> ... 3 more
> Caused by: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from CacheManagerTest-NodeB-61798, see cause for remote stack trace
> at org.infinispan.remoting.transport.ResponseCollectors.wrapRemoteException(ResponseCollectors.java:27)
> at org.infinispan.remoting.transport.ValidSingleResponseCollector.withException(ValidSingleResponseCollector.java:41)
> at org.infinispan.remoting.transport.ValidSingleResponseCollector.addResponse(ValidSingleResponseCollector.java:25)
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:51)
> ... 23 more
> Caused by: java.lang.IllegalArgumentException: The node is not a member : CacheManagerTest-NodeB-61798
> at org.infinispan.distribution.ch.impl.ReplicatedConsistentHash.getSegmentsForOwner(ReplicatedConsistentHash.java:150)
> at org.infinispan.distribution.group.impl.PartitionerConsistentHash.getSegmentsForOwner(PartitionerConsistentHash.java:71)
> at org.infinispan.stream.impl.LocalStreamManagerImpl.getRehashStream(LocalStreamManagerImpl.java:234)
> at org.infinispan.stream.impl.LocalStreamManagerImpl.lambda$startIterator$8(LocalStreamManagerImpl.java:410)
> at org.infinispan.stream.impl.IteratorHandler.start(IteratorHandler.java:108)
> at org.infinispan.stream.impl.LocalStreamManagerImpl.startIterator(LocalStreamManagerImpl.java:410)
> at org.infinispan.stream.impl.StreamIteratorRequestCommand.invokeAsync(StreamIteratorRequestCommand.java:52)
> at org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler.invokeCommand(BasePerCacheInboundInvocationHandler.java:102)
> at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.invoke(BaseBlockingRunnable.java:99)
> at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.runAsync(BaseBlockingRunnable.java:71)
> at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.run(BaseBlockingRunnable.java:40)
> ... 3 more
> [INFO]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-9424) Remote script execution broken for Hot Rod 2.5
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-9424?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9424:
------------------------------------
Status: Open (was: New)
> Remote script execution broken for Hot Rod 2.5
> ----------------------------------------------
>
> Key: ISPN-9424
> URL: https://issues.jboss.org/browse/ISPN-9424
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.0.Beta1
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Fix For: 9.4.0.CR1
>
>
> Running {{ExecTypedTest}} with protocol version 2.5 fails (modifying RemoteCacheManager created in {{createAddScriptClient}} method):
> {code}
> 2018-08-13 19:16:22,030 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ExecTypedTest-ServerWorker-6-2:[]) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E157479706564..[24], hashCode=0}]
> java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be cast to java.lang.String
> at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30) ~[classes/:?]
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68) ~[classes/:?]
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-9424) Remote script execution broken for Hot Rod 2.5
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-9424?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9424:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6199
> Remote script execution broken for Hot Rod 2.5
> ----------------------------------------------
>
> Key: ISPN-9424
> URL: https://issues.jboss.org/browse/ISPN-9424
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.0.Beta1
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Fix For: 9.4.0.CR1
>
>
> Running {{ExecTypedTest}} with protocol version 2.5 fails (modifying RemoteCacheManager created in {{createAddScriptClient}} method):
> {code}
> 2018-08-13 19:16:22,030 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ExecTypedTest-ServerWorker-6-2:[]) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E157479706564..[24], hashCode=0}]
> java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be cast to java.lang.String
> at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30) ~[classes/:?]
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68) ~[classes/:?]
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-8596) CacheManagerTest#testCacheManagerRestartReusingConfigurations failure
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/ISPN-8596?page=com.atlassian.jira.plugin.... ]
Radoslav Husar commented on ISPN-8596:
--------------------------------------
[~gustavonalle] This is marked as duplicate of ISPN-8587 which is resolved. Can you verify this is thus resolved as well?
> CacheManagerTest#testCacheManagerRestartReusingConfigurations failure
> ---------------------------------------------------------------------
>
> Key: ISPN-8596
> URL: https://issues.jboss.org/browse/ISPN-8596
> Project: Infinispan
> Issue Type: Bug
> Reporter: Gustavo Fernandes
> Assignee: Dan Berindei
>
> {noformat}
> [ERROR] testCacheManagerRestartReusingConfigurations(org.infinispan.manager.CacheManagerTest) Time elapsed: 0.034 s <<< FAILURE!
> org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart() on object of type GlobalConfigurationManagerImpl
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:267)
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:671)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:260)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:220)
> at org.infinispan.manager.CacheManagerTest$4.call(CacheManagerTest.java:374)
> at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1519)
> at org.infinispan.manager.CacheManagerTest.testCacheManagerRestartReusingConfigurations(CacheManagerTest.java:359)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart() on object of type GlobalConfigurationManagerImpl
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:83)
> at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:71)
> at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:76)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
> at org.infinispan.factories.AbstractComponentRegistry.lambda$invokePrioritizedMethods$3(AbstractComponentRegistry.java:647)
> at org.infinispan.factories.SecurityActions.lambda$run$1(SecurityActions.java:72)
> at org.infinispan.security.Security.doPrivileged(Security.java:76)
> at org.infinispan.factories.SecurityActions.run(SecurityActions.java:71)
> at org.infinispan.factories.AbstractComponentRegistry.invokePrioritizedMethods(AbstractComponentRegistry.java:640)
> at org.infinispan.factories.AbstractComponentRegistry.postStart(AbstractComponentRegistry.java:564)
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:255)
> ... 26 more
> Caused by: org.infinispan.commons.CacheException: java.util.concurrent.CompletionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from CacheManagerTest-NodeB-61798, see cause for remote stack trace
> at org.infinispan.stream.impl.PriorityMergingProcessor$MultiSubscriberIterator.wrapOrThrow(PriorityMergingProcessor.java:139)
> at org.infinispan.stream.impl.PriorityMergingProcessor$MultiSubscriberIterator.getNext(PriorityMergingProcessor.java:160)
> at org.infinispan.commons.util.AbstractIterator.hasNext(AbstractIterator.java:26)
> at org.infinispan.stream.impl.DistributedCacheStream$RehashIterator.getNext(DistributedCacheStream.java:624)
> at org.infinispan.commons.util.AbstractIterator.hasNext(AbstractIterator.java:26)
> at org.infinispan.commons.util.RemovableIterator.getNextFromIterator(RemovableIterator.java:27)
> at org.infinispan.commons.util.RemovableIterator.hasNext(RemovableIterator.java:36)
> at org.infinispan.commons.util.Closeables$IteratorAsCloseableIterator.hasNext(Closeables.java:116)
> at org.infinispan.commons.util.RemovableIterator.getNextFromIterator(RemovableIterator.java:27)
> at org.infinispan.commons.util.RemovableIterator.hasNext(RemovableIterator.java:36)
> at org.infinispan.commons.util.IteratorMapper.hasNext(IteratorMapper.java:26)
> at org.infinispan.cache.impl.EncoderCache$EncoderIterator.hasNext(EncoderCache.java:724)
> at org.infinispan.globalstate.impl.GlobalConfigurationManagerImpl.postStart(GlobalConfigurationManagerImpl.java:71)
> at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:79)
> ... 37 more
> Caused by: java.util.concurrent.CompletionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from CacheManagerTest-NodeB-61798, see cause for remote stack trace
> at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:824)
> at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
> at org.infinispan.remoting.transport.AbstractRequest.completeExceptionally(AbstractRequest.java:73)
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:58)
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35)
> at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:53)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1329)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1239)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$200(JGroupsTransport.java:121)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.receive(JGroupsTransport.java:1367)
> at org.jgroups.JChannel.up(JChannel.java:819)
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:893)
> at org.jgroups.protocols.RSVP.up(RSVP.java:163)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:343)
> at org.jgroups.protocols.tom.TOA.up(TOA.java:112)
> at org.jgroups.protocols.pbcast.GMS.up(GMS.java:864)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:240)
> at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1002)
> at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:728)
> at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:383)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:600)
> at org.jgroups.protocols.Discovery.up(Discovery.java:267)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1229)
> at org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:87)
> ... 3 more
> Caused by: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from CacheManagerTest-NodeB-61798, see cause for remote stack trace
> at org.infinispan.remoting.transport.ResponseCollectors.wrapRemoteException(ResponseCollectors.java:27)
> at org.infinispan.remoting.transport.ValidSingleResponseCollector.withException(ValidSingleResponseCollector.java:41)
> at org.infinispan.remoting.transport.ValidSingleResponseCollector.addResponse(ValidSingleResponseCollector.java:25)
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:51)
> ... 23 more
> Caused by: java.lang.IllegalArgumentException: The node is not a member : CacheManagerTest-NodeB-61798
> at org.infinispan.distribution.ch.impl.ReplicatedConsistentHash.getSegmentsForOwner(ReplicatedConsistentHash.java:150)
> at org.infinispan.distribution.group.impl.PartitionerConsistentHash.getSegmentsForOwner(PartitionerConsistentHash.java:71)
> at org.infinispan.stream.impl.LocalStreamManagerImpl.getRehashStream(LocalStreamManagerImpl.java:234)
> at org.infinispan.stream.impl.LocalStreamManagerImpl.lambda$startIterator$8(LocalStreamManagerImpl.java:410)
> at org.infinispan.stream.impl.IteratorHandler.start(IteratorHandler.java:108)
> at org.infinispan.stream.impl.LocalStreamManagerImpl.startIterator(LocalStreamManagerImpl.java:410)
> at org.infinispan.stream.impl.StreamIteratorRequestCommand.invokeAsync(StreamIteratorRequestCommand.java:52)
> at org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler.invokeCommand(BasePerCacheInboundInvocationHandler.java:102)
> at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.invoke(BaseBlockingRunnable.java:99)
> at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.runAsync(BaseBlockingRunnable.java:71)
> at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.run(BaseBlockingRunnable.java:40)
> ... 3 more
> [INFO]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-9425) HotRod Transaction Cache - Wrong values when a transactional cache stops in the middle of PrepareTransactionOperation/CompleteTransactionOperation
by Diego Lovison (JIRA)
Diego Lovison created ISPN-9425:
-----------------------------------
Summary: HotRod Transaction Cache - Wrong values when a transactional cache stops in the middle of PrepareTransactionOperation/CompleteTransactionOperation
Key: ISPN-9425
URL: https://issues.jboss.org/browse/ISPN-9425
Project: Infinispan
Issue Type: Bug
Reporter: Diego Lovison
Priority: Critical
There are 3 scenarios and I believe that they are correlated. If it is not the case, a JIRA for each item should be open.
All scenarios below are multiple clients and one server. The following steps should be executed does not matter what is the scenario.
* Add one breakpoint at the first line of the method `acceptResponse` at the class PrepareTransactionOperation
* Add one breakpoint at the first line of the method `executeOperation` at the class PrepareTransactionOperation
*Scenario 1*
* Execute the client code ( Program 1 )
* Execute the client code ( Program 2 )
* Program 1 -> Resume, Resume, Resume. It will stop at `acceptResponse`.
* Program 2 -> Resume, Resume. It will stop at `executeOperation`.
* Wait 5 minutes or any time greater than 60 seconds ( I was not able to identify the right period of time but greater than 60 seconds should work), Resume and Resume the "Program 2". It will fail.
* The issue in scenario 1 is: Why doesn't matter the amount of time since it is greater than 60 seconds the request will fail? I am expecting something like a timeout in the "Program 1" and not expire when a call in that key was called for the first time.
* Kill all clients and servers
*Scenario 2*
* Execute the client code ( Program 1 )
* Execute the client code ( Program 2 )
* Program 1 -> Resume, Resume, Resume. It will stop at `acceptResponse`.
* Program 2 -> Resume, Resume, Resume, Resume. It will fail. Here you don't need to wait. Just press the Resume.
* Program 1 -> Resume.
* The issue in scenario 2 is: Why the test fails due: expected value 'null' different from 'random-value-generated'
* Kill all clients and servers
*Scenario 3*
* Execute the client code ( Program 1 )
* Execute the client code ( Program 2 )
* Program 1 -> Resume, Resume, Resume. It will stop at `acceptResponse`.
* Program 2 -> Resume, Resume, Resume, Resume. It will fail. Here you don't need to wait. Just press the Resume.
* Wait 60 seconds
* Re-run Program 2 -> Resume, Resume, Resume, Resume. It will work.
* Program 1 -> Resume, it will fail due to an assertion error
* The issue in scenario 3 is: When resuming the "Program 1" I am expecting an error during the commit phase and not an assertion error.
* Kill all clients and servers
Program 1 means that you should run the client code. It will create a separated JVM.
Program 2 means that you should run the client code. It will create a separated JVM.
It will be nice if we find out an way to automate this kind of tests.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-9424) Remote script execution broken for Hot Rod 2.5
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-9424?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reassigned ISPN-9424:
---------------------------------------
Assignee: Gustavo Fernandes
> Remote script execution broken for Hot Rod 2.5
> ----------------------------------------------
>
> Key: ISPN-9424
> URL: https://issues.jboss.org/browse/ISPN-9424
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.0.Beta1
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Fix For: 9.4.0.CR1
>
>
> Running {{ExecTypedTest}} with protocol version 2.5 fails (modifying RemoteCacheManager created in {{createAddScriptClient}} method):
> {code}
> 2018-08-13 19:16:22,030 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ExecTypedTest-ServerWorker-6-2:[]) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E157479706564..[24], hashCode=0}]
> java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be cast to java.lang.String
> at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30) ~[classes/:?]
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68) ~[classes/:?]
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months