交易对手流在C = GB,L =伦敦,O =控制器有内部错误并在

时间:2018-01-30 10:28:04

标签: transactions corda

net.corda.core.flows.UnexpectedFlowEndException: Counterparty flow on C=GB,L=London,O=Controller had an internal error and has terminated
        at net.corda.node.services.statemachine.FlowStateMachineImpl.erroredEnd(FlowStateMachineImpl.kt:446)
        at net.corda.node.services.statemachine.FlowStateMachineImpl.confirmReceiveType(FlowStateMachineImpl.kt:429)
        at net.corda.node.services.statemachine.FlowStateMachineImpl.waitForMessage(FlowStateMachineImpl.kt:396)
        at net.corda.node.services.statemachine.FlowStateMachineImpl.access$waitForMessage(FlowStateMachineImpl.kt:41)
        at net.corda.node.services.statemachine.FlowStateMachineImpl.sendAndReceive(FlowStateMachineImpl.kt:559)
        at net.corda.core.flows.NotaryFlow$SendTransactionWithRetry.sendPayloadAndReceiveDataRequest(NotaryFlow.kt:177)
        at net.corda.core.flows.DataVendingFlow.call(SendTransactionFlow.kt:48)
        at net.corda.core.flows.DataVendingFlow.call(SendTransactionFlow.kt:31)
        at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:243)
        at net.corda.core.flows.NotaryFlow$Client.call(NotaryFlow.kt:70)
        at net.corda.core.flows.NotaryFlow$Client.call(NotaryFlow.kt:36)
        at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:243)
        at net.corda.core.flows.FinalityFlow.notariseAndRecord(FinalityFlow.kt:73)
        at net.corda.core.flows.FinalityFlow.call(FinalityFlow.kt:56)
        at net.corda.core.flows.FinalityFlow.call(FinalityFlow.kt:28)
        at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:243)
        at com.demo.flows.TradeFlow.call(TradeFlow.kt:130)
        at com.demo.flows.TradeFlow.call(TradeFlow.kt:21)
        at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:243)
        at com.demo.flows.DealFlow$Initiator.call(DealFlow.kt:124)
        at com.demo.flows.DealFlow$Initiator.call(DealFlow.kt:24)
        at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:96)
        at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:41)
        at co.paralleluniverse.fibers.Fiber.run1(Fiber.java:1092)
        at co.paralleluniverse.fibers.Fiber.exec(Fiber.java:788)
        at co.paralleluniverse.fibers.RunnableFiberTask.doExec(RunnableFiberTask.java:100)
        at co.paralleluniverse.fibers.RunnableFiberTask.run(RunnableFiberTask.java:91)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at net.corda.node.utilities.AffinityExecutor$ServiceAffinityExecutor$1$thread$1.run(AffinityExecutor.kt:69)
Counterparty flow on C=GB,L=London,O=Controller had an internal error and has terminated kotlin.Unit
net.corda.core.flows.UnexpectedFlowEndException: Counterparty flow on C=GB,L=London,O=Controller had an internal error and has terminated

我正在尝试使用两个输入状态创建三个输出。合同验证,当事人签名,交易对手签名,公证合同验证已完成,但公证人的交易对手流程出错。我无法找到发生此错误的原因。

公证人得到了警告:

  

警告:[kryo]无法加载类com.demo.structures.State   kryo的ClassLoader。重试当前。

1 个答案:

答案 0 :(得分:0)

您可以忽略Kryo警告。

每个节点都会在logs文件夹中输出日志。检查控制器的日志,看看它失败的原因。