ISSUES with IRS demo


(Andre Stephenson ) #1

I am getting the following exceptions in the Irs demo :

Exception in thread "Node thread" java.lang.RuntimeException: java.util.concurrent.ExecutionException: net.corda.core.flows.FlowException: Party Bank B has ended their flow but we were expecting to receive SessionData from them at co.paralleluniverse.common.util.Exceptions.rethrow(Exceptions.java:26) at co.paralleluniverse.fibers.Fiber.onException(Fiber.java:1165) at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:831) at co.paralleluniverse.fibers.RunnableFiberTask.doExec(RunnableFiberTask.java:100) at co.paralleluniverse.fibers.RunnableFiberTask.run(RunnableFiberTask.java:91) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at net.corda.node.utilities.AffinityExecutor$ServiceAffinityExecutor$1$thread$1.run(AffinityExecutor.kt:67) Caused by: java.util.concurrent.ExecutionException: net.corda.core.flows.FlowException: Party Bank B has ended their flow but we were expecting to receive SessionData from them at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:90) at co.paralleluniverse.fibers.Fiber.run1(Fiber.java:1067) at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:767) ... 5 more Caused by: net.corda.core.flows.FlowException: Party Bank B has ended their flow but we were expecting to receive SessionData from them at net.corda.node.services.statemachine.FlowStateMachineImpl.suspendAndExpectReceive(FlowStateMachineImpl.kt:232) at net.corda.node.services.statemachine.FlowStateMachineImpl.access$suspendAndExpectReceive(FlowStateMachineImpl.kt:31) at net.corda.node.services.statemachine.FlowStateMachineImpl.sendAndReceive(FlowStateMachineImpl.kt:296) at net.corda.core.flows.FlowLogic.sendAndReceive(FlowLogic.kt:77) at net.corda.flows.TwoPartyDealFlow$Primary.getPartialTransaction(TwoPartyDealFlow.kt:310) at net.corda.flows.TwoPartyDealFlow$Primary.call(TwoPartyDealFlow.kt:136) at net.corda.flows.TwoPartyDealFlow$Primary.call(TwoPartyDealFlow.kt:58) at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:130) at net.corda.core.flows.FlowLogic.subFlow$default(FlowLogic.kt:124) at net.corda.irs.flows.FixingFlow$FixingRoleDecider.call(FixingFlow.kt:153) at net.corda.irs.flows.FixingFlow$FixingRoleDecider.call(FixingFlow.kt:134) at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:130) at net.corda.core.flows.FlowLogic.subFlow$default(FlowLogic.kt:124) at net.corda.node.services.events.NodeSchedulerService$RunScheduled.call(NodeSchedulerService.kt:181) at net.corda.node.services.events.NodeSchedulerService$RunScheduled.call(NodeSchedulerService.kt:165) at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:86) ... 7 more Exception in thread "Node thread" java.lang.RuntimeException: java.util.concurrent.ExecutionException: net.corda.core.flows.FlowException: Party Bank B has ended their flow but we were expecting to receive SessionData from them at co.paralleluniverse.common.util.Exceptions.rethrow(Exceptions.java:26) at co.paralleluniverse.fibers.Fiber.onException(Fiber.java:1165) at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:831) at co.paralleluniverse.fibers.RunnableFiberTask.doExec(RunnableFiberTask.java:100) at co.paralleluniverse.fibers.RunnableFiberTask.run(RunnableFiberTask.java:91) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at net.corda.node.utilities.AffinityExecutor$ServiceAffinityExecutor$1$thread$1.run(AffinityExecutor.kt:67) Caused by: java.util.concurrent.ExecutionException: net.corda.core.flows.FlowException: Party Bank B has ended their flow but we were expecting to receive SessionData from them at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:90) at co.paralleluniverse.fibers.Fiber.run1(Fiber.java:1067) at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:767) ... 5 more Caused by: net.corda.core.flows.FlowException: Party Bank B has ended their flow but we were expecting to receive SessionData from them at net.corda.node.services.statemachine.FlowStateMachineImpl.suspendAndExpectReceive(FlowStateMachineImpl.kt:232) at net.corda.node.services.statemachine.FlowStateMachineImpl.access$suspendAndExpectReceive(FlowStateMachineImpl.kt:31) at net.corda.node.services.statemachine.FlowStateMachineImpl.sendAndReceive(FlowStateMachineImpl.kt:296) at net.corda.core.flows.FlowLogic.sendAndReceive(FlowLogic.kt:77) at net.corda.flows.TwoPartyDealFlow$Primary.getPartialTransaction(TwoPartyDealFlow.kt:310) at net.corda.flows.TwoPartyDealFlow$Primary.call(TwoPartyDealFlow.kt:136) at net.corda.flows.TwoPartyDealFlow$Primary.call(TwoPartyDealFlow.kt:58) at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:130) at net.corda.core.flows.FlowLogic.subFlow$default(FlowLogic.kt:124) at net.corda.irs.flows.FixingFlow$FixingRoleDecider.call(FixingFlow.kt:153) at net.corda.irs.flows.FixingFlow$FixingRoleDecider.call(FixingFlow.kt:134) at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:130) at net.corda.core.flows.FlowLogic.subFlow$default(FlowLogic.kt:124) at net.corda.node.services.events.NodeSchedulerService$RunScheduled.call(NodeSchedulerService.kt:181) at net.corda.node.services.events.NodeSchedulerService$RunScheduled.call(NodeSchedulerService.kt:165) at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:86) ... 7 more


(Clinton Alexander) #2

Did the demo complete successfully or did it fail?

If there is a bug in Corda you can also report it on GitHub via GitHub issues .