[infinispan-issues] [JBoss JIRA] (ISPN-6630) NotSerializableException while executing streams via JavaScript in a cluster in DIST mode (without additional casting to Serializable)

Galder Zamarreño (JIRA) issues at jboss.org
Thu May 19 02:44:00 EDT 2016


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

Galder Zamarreño updated ISPN-6630:
-----------------------------------
              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/4356


> NotSerializableException while executing streams via JavaScript in a cluster in DIST mode (without additional casting to Serializable)
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-6630
>                 URL: https://issues.jboss.org/browse/ISPN-6630
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Tasks
>            Reporter: Anna Manukyan
>            Assignee: Galder Zamarreño
>             Fix For: 9.0.0.Alpha3, 9.0.0.Final
>
>
> When running map/reduce task using distributed streams through Javascript in DIST/REPL mode, then the following exception is thrown:
> {code}
> 15:02:43,476 ERROR (remote-thread-ClusteredScriptingTest-NodeF-p38-t6) [RpcManagerImpl] ISPN000073: Unexpected error while replicating
> org.infinispan.commons.marshall.NotSerializableException: org.infinispan.scripting.impl.DataTypedCache
> Caused by: an exception which occurred:
> 	in field capturedArgs
> 	in object org.infinispan.scripting.impl.DataTypedCache$$Lambda$97/1644130139 at 5a8a3b80
> 		-> toString = org.infinispan.scripting.impl.DataTypedCache$$Lambda$97/1644130139 at 5a8a3b80
> 	in object java.util.ArrayDeque at 2c4c2ba3
> 		-> toString = [org.infinispan.stream.impl.intops.object.MapOperation at 31f4ac20]
> 	in object org.infinispan.stream.impl.termop.SegmentRetryingOperation at 1aad4974
> 		-> toString = org.infinispan.stream.impl.termop.SegmentRetryingOperation at 1aad4974
> 	in object org.infinispan.stream.impl.StreamRequestCommand at 734ebbb6
> java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from ClusteredScriptingTest-NodeF-8182, see cause for remote stack trace
> 	at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1318)
> 	at org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag(ClusteredScriptingTest.java:127)
> 	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:497)
> 	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.runSequentially(SuiteRunner.java:343)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> 	at org.testng.TestNG.run(TestNG.java:1057)
> 	at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
> 	at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
> 	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:497)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from ClusteredScriptingTest-NodeF-8182, see cause for remote stack trace
> 	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
> 	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
> 	at org.infinispan.scripting.ClusteredScriptingTest$6.call(ClusteredScriptingTest.java:139)
> 	at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1314)
> 	... 29 more
> Caused by: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from ClusteredScriptingTest-NodeF-8182, see cause for remote stack trace
> 	at org.infinispan.remoting.transport.AbstractTransport.checkResponse(AbstractTransport.java:44)
> 	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:818)
> 	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$306(JGroupsTransport.java:648)
> 	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> 	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> 	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> 	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> 	at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.futureDone(SingleResponseFuture.java:30)
> 	at org.jgroups.blocks.Request.checkCompletion(Request.java:151)
> 	at org.jgroups.blocks.UnicastRequest.receiveResponse(UnicastRequest.java:70)
> 	at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:369)
> 	at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:233)
> 	at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:695)
> 	at org.jgroups.JChannel.up(JChannel.java:738)
> 	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
> 	at org.jgroups.protocols.RSVP.up(RSVP.java:201)
> 	at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
> 	at org.jgroups.protocols.FlowControl.up(FlowControl.java:390)
> 	at org.jgroups.protocols.tom.TOA.up(TOA.java:121)
> 	at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1043)
> 	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
> 	at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1070)
> 	at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:785)
> 	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426)
> 	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:649)
> 	at org.jgroups.protocols.Discovery.up(Discovery.java:296)
> 	at org.jgroups.protocols.TP.passMessageUp(TP.java:1567)
> 	at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1783)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: org.infinispan.commons.marshall.NotSerializableException: org.infinispan.scripting.impl.DataTypedCache
> Caused by: an exception which occurred:
> 	in field capturedArgs
> 	in object org.infinispan.scripting.impl.DataTypedCache$$Lambda$97/1644130139 at 5a8a3b80
> 		-> toString = org.infinispan.scripting.impl.DataTypedCache$$Lambda$97/1644130139 at 5a8a3b80
> 	in object java.util.ArrayDeque at 2c4c2ba3
> 		-> toString = [org.infinispan.stream.impl.intops.object.MapOperation at 31f4ac20]
> 	in object org.infinispan.stream.impl.termop.SegmentRetryingOperation at 1aad4974
> 		-> toString = org.infinispan.stream.impl.termop.SegmentRetryingOperation at 1aad4974
> 	in object org.infinispan.stream.impl.StreamRequestCommand at 734ebbb6
> 		-> toString = StreamRequestCommand{cacheName='___defaultcache'}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the infinispan-issues mailing list