This repository contains multiple sample apps, from CorDapps that help you get started, all the way to demonstrating specific features and advanced usage.
[WARN ] 2020-06-28T17:07:32,899Z [Node thread-1] statemachine.StaffedFlowHospital. - Flow [d030fed8-7aed-4572-898c-87113f904482] failed to be finalised. Manual intervention may be required before retrying the flow by re-starting the node. State machine state: StateMachineState(checkpoint=Checkpoint(invocationContext=InvocationContext(origin=Peer(party=O=Dealer1, L=London, C=GB), trace=Trace(invocationId=83020683-934e-4403-885e-05de6adee765, timestamp: 2020-06-28T17:07:32.206Z, entityType: Invocation, sessionId=83020683-934e-4403-885e-05de6adee765, timestamp: 2020-06-28T17:07:32.206Z, entityType: Session), actor=null, externalTrace=null, impersonatedActor=null), ourIdentity=O=Dealer1, L=London, C=GB, sessions={SessionId(toLong=8733183490391616331)=Initiated(peerParty=O=Dealer1, L=London, C=GB, peerFlowInfo=FlowInfo(flowVersion=1, appName=workflows-0.1), receivedMessages=[], initiatedState=Ended, errors=[], deduplicationSeed=D-5024188133067598548--1998938707450972611)}, subFlowStack=[Inlined(flowClass=class com.t20worldcup.flows.DVPAccountsOnSameNodeResponder, subFlowVersion=CorDappFlow(platformVersion=6, corDappName=workflows-0.1, corDappHash=EBB028258DB3856FE015675021F9EC1CF30167E1F2A92D0CE92A880C38FA0F57), isEnabledTimedFlow=false)], flowState=Started(flowIORequest=Receive(sessions=[FlowSessionImpl(destination=O=Dealer1, L=London, C=GB, sourceSessionId=SessionId(toLong=8733183490391616331))]), frozenFiber=F7B1B6763206ED07939E04A5381376A21F50AE8865E0B3ADAA1298A02AE96585), errorState=Clean, numberOfSuspends=5), flowLogic=com.t20worldcup.flows.DVPAccountsOnSameNodeResponder@74aa4f10, pendingDeduplicationHandlers=[MessageDeduplicationHandler(DeduplicationId(toString=N-R-5024188133067598548--1998938707450972611-11-2))], isFlowResumed=true, isWaitingForFuture=false, isAnyCheckpointPersisted=true, isStartIdempotent=false, isRemoved=false, senderUUID=b428c568-f686-452d-a5d0-98158c79d883) [errorCode=1ggjwsp, moreInformationAt=https://errors.corda.net/OS/4.4/1ggjwsp] {fiber-id=10000014, flow-id=d030fed8-7aed-4572-898c-87113f904482, invocation_id=83020683-934e-4403-885e-05de6adee765, invocation_timestamp=2020-06-28T17:07:32.206Z, origin=O=Dealer1, L=London, C=GB, session_id=83020683-934e-4403-885e-05de6adee765, session_timestamp=2020-06-28T17:07:32.206Z, thread-id=426, tx_id=91BDEE1F7207EDB50D7260CAA9370A98944156A1581D0C8C204E4A78D6EA35F4}
net.corda.core.flows.UnexpectedFlowEndException: Tried to access ended session SessionId(toLong=8733183490391616331) with empty buffer
at net.corda.node.services.statemachine.FlowStateMachineImpl.fillInLocalStackTrace(FlowStateMachineImpl.kt:176) ~[corda-node-4.4.jar:?]
at net.corda.node.services.statemachine.FlowStateMachineImpl.processEventsUntilFlowIsResumed(FlowStateMachineImpl.kt:164) ~[corda-node-4.4.jar:?]
at net.corda.node.services.statemachine.FlowStateMachineImpl.suspend(FlowStateMachineImpl.kt:449) ~[corda-node-4.4.jar:?]
at net.corda.node.services.statemachine.FlowSessionImpl.receive(FlowSessionImpl.kt:67) ~[corda-node-4.4.jar:?]
at net.corda.node.services.statemachine.FlowSessionImpl.receive(FlowSessionImpl.kt:71) ~[corda-node-4.4.jar:?]
at net.corda.core.flows.ReceiveTransactionFlow.call(ReceiveTransactionFlow.kt:103) ~[corda-core-4.4.jar:?]
at net.corda.core.flows.ReceiveTransactionFlow.call(ReceiveTransactionFlow.kt:31) ~[corda-core-4.4.jar:?]
at net.corda.node.services.statemachine.FlowStateMachineImpl.subFlow(FlowStateMachineImpl.kt:331) ~[corda-node-4.4.jar:?]
at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:338) ~[corda-core-4.4.jar:?]
at net.corda.core.flows.ReceiveFinalityFlow.call(FinalityFlow.kt:277) ~[corda-core-4.4.jar:?]
at net.corda.core.flows.ReceiveFinalityFlow.call(FinalityFlow.kt:272) ~[corda-core-4.4.jar:?]
at net.corda.node.services.statemachine.FlowStateMachineImpl.subFlow(FlowStateMachineImpl.kt:331) ~[corda-node-4.4.jar:?]
at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:338) ~[corda-core-4.4.jar:?]
at com.t20worldcup.flows.DVPAccountsOnSameNodeResponder.call(DVPAccountsOnSameNode.kt:134) ~[?:?]
at com.t20worldcup.flows.DVPAccountsOnSameNodeResponder.call(DVPAccountsOnSameNode.kt:124) ~[?:?]
at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:271) ~[corda-node-4.4.jar:?]
at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:46) ~[corda-node-4.4.jar:?]
at co.paralleluniverse.fibers.Fiber.run1(Fiber.java:1092) ~[quasar-core-0.7.12_r3-jdk8.jar:0.7.12_r3]
at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:788) ~[quasar-core-0.7.12_r3-jdk8.jar:0.7.12_r3]
at co.paralleluniverse.fibers.RunnableFiberTask.doExec(RunnableFiberTask.java:100) ~[quasar-core-0.7.12_r3-jdk8.jar:0.7.12_r3]
at co.paralleluniverse.fibers.RunnableFiberTask.run(RunnableFiberTask.java:91) ~[quasar-core-0.7.12_r3-jdk8.jar:0.7.12_r3]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_251]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_251]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_251]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_251]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_251]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_251]
at net.corda.node.utilities.AffinityExecutor$ServiceAffinityExecutor$1$thread$1.run(AffinityExecutor.kt:63) ~[corda-node-4.4.jar:?]
[WARN ] 2020-06-28T17:07:32,899Z [Node thread-1] statemachine.StaffedFlowHospital. - Flow [d030fed8-7aed-4572-898c-87113f904482] failed to be finalised. Manual intervention may be required before retrying the flow by re-starting the node. State machine state: StateMachineState(checkpoint=Checkpoint(invocationContext=InvocationContext(origin=Peer(party=O=Dealer1, L=London, C=GB), trace=Trace(invocationId=83020683-934e-4403-885e-05de6adee765, timestamp: 2020-06-28T17:07:32.206Z, entityType: Invocation, sessionId=83020683-934e-4403-885e-05de6adee765, timestamp: 2020-06-28T17:07:32.206Z, entityType: Session), actor=null, externalTrace=null, impersonatedActor=null), ourIdentity=O=Dealer1, L=London, C=GB, sessions={SessionId(toLong=8733183490391616331)=Initiated(peerParty=O=Dealer1, L=London, C=GB, peerFlowInfo=FlowInfo(flowVersion=1, appName=workflows-0.1), receivedMessages=[], initiatedState=Ended, errors=[], deduplicationSeed=D-5024188133067598548--1998938707450972611)}, subFlowStack=[Inlined(flowClass=class com.t20worldcup.flows.DVPAccountsOnSameNodeResponder, subFlowVersion=CorDappFlow(platformVersion=6, corDappName=workflows-0.1, corDappHash=EBB028258DB3856FE015675021F9EC1CF30167E1F2A92D0CE92A880C38FA0F57), isEnabledTimedFlow=false)], flowState=Started(flowIORequest=Receive(sessions=[FlowSessionImpl(destination=O=Dealer1, L=London, C=GB, sourceSessionId=SessionId(toLong=8733183490391616331))]), frozenFiber=F7B1B6763206ED07939E04A5381376A21F50AE8865E0B3ADAA1298A02AE96585), errorState=Clean, numberOfSuspends=5), flowLogic=com.t20worldcup.flows.DVPAccountsOnSameNodeResponder@74aa4f10, pendingDeduplicationHandlers=[MessageDeduplicationHandler(DeduplicationId(toString=N-R-5024188133067598548--1998938707450972611-11-2))], isFlowResumed=true, isWaitingForFuture=false, isAnyCheckpointPersisted=true, isStartIdempotent=false, isRemoved=false, senderUUID=b428c568-f686-452d-a5d0-98158c79d883) [errorCode=1ggjwsp, moreInformationAt=https://errors.corda.net/OS/4.4/1ggjwsp] {fiber-id=10000014, flow-id=d030fed8-7aed-4572-898c-87113f904482, invocation_id=83020683-934e-4403-885e-05de6adee765, invocation_timestamp=2020-06-28T17:07:32.206Z, origin=O=Dealer1, L=London, C=GB, session_id=83020683-934e-4403-885e-05de6adee765, session_timestamp=2020-06-28T17:07:32.206Z, thread-id=426, tx_id=91BDEE1F7207EDB50D7260CAA9370A98944156A1581D0C8C204E4A78D6EA35F4} net.corda.core.flows.UnexpectedFlowEndException: Tried to access ended session SessionId(toLong=8733183490391616331) with empty buffer at net.corda.node.services.statemachine.FlowStateMachineImpl.fillInLocalStackTrace(FlowStateMachineImpl.kt:176) ~[corda-node-4.4.jar:?] at net.corda.node.services.statemachine.FlowStateMachineImpl.processEventsUntilFlowIsResumed(FlowStateMachineImpl.kt:164) ~[corda-node-4.4.jar:?] at net.corda.node.services.statemachine.FlowStateMachineImpl.suspend(FlowStateMachineImpl.kt:449) ~[corda-node-4.4.jar:?] at net.corda.node.services.statemachine.FlowSessionImpl.receive(FlowSessionImpl.kt:67) ~[corda-node-4.4.jar:?] at net.corda.node.services.statemachine.FlowSessionImpl.receive(FlowSessionImpl.kt:71) ~[corda-node-4.4.jar:?] at net.corda.core.flows.ReceiveTransactionFlow.call(ReceiveTransactionFlow.kt:103) ~[corda-core-4.4.jar:?] at net.corda.core.flows.ReceiveTransactionFlow.call(ReceiveTransactionFlow.kt:31) ~[corda-core-4.4.jar:?] at net.corda.node.services.statemachine.FlowStateMachineImpl.subFlow(FlowStateMachineImpl.kt:331) ~[corda-node-4.4.jar:?] at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:338) ~[corda-core-4.4.jar:?] at net.corda.core.flows.ReceiveFinalityFlow.call(FinalityFlow.kt:277) ~[corda-core-4.4.jar:?] at net.corda.core.flows.ReceiveFinalityFlow.call(FinalityFlow.kt:272) ~[corda-core-4.4.jar:?] at net.corda.node.services.statemachine.FlowStateMachineImpl.subFlow(FlowStateMachineImpl.kt:331) ~[corda-node-4.4.jar:?] at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:338) ~[corda-core-4.4.jar:?] at com.t20worldcup.flows.DVPAccountsOnSameNodeResponder.call(DVPAccountsOnSameNode.kt:134) ~[?:?] at com.t20worldcup.flows.DVPAccountsOnSameNodeResponder.call(DVPAccountsOnSameNode.kt:124) ~[?:?] at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:271) ~[corda-node-4.4.jar:?] at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:46) ~[corda-node-4.4.jar:?] at co.paralleluniverse.fibers.Fiber.run1(Fiber.java:1092) ~[quasar-core-0.7.12_r3-jdk8.jar:0.7.12_r3] at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:788) ~[quasar-core-0.7.12_r3-jdk8.jar:0.7.12_r3] at co.paralleluniverse.fibers.RunnableFiberTask.doExec(RunnableFiberTask.java:100) ~[quasar-core-0.7.12_r3-jdk8.jar:0.7.12_r3] at co.paralleluniverse.fibers.RunnableFiberTask.run(RunnableFiberTask.java:91) ~[quasar-core-0.7.12_r3-jdk8.jar:0.7.12_r3] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_251] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_251] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_251] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_251] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_251] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_251] at net.corda.node.utilities.AffinityExecutor$ServiceAffinityExecutor$1$thread$1.run(AffinityExecutor.kt:63) ~[corda-node-4.4.jar:?]