Не удалось выполнить модульное тестирование во время запуска Corda. - PullRequest
0 голосов
/ 22 ноября 2018

Когда я запускаю модульный тест для примера шнура CordApp, я получаю следующую ошибку.Любая идея будет полезна.

Caused by: java.lang.IllegalArgumentException: Could not find Party for Anonymous(DLEyNjQtQZHUgbZs7xwjivUPiaCz9pdgb49wWKaSjCTfq8)
at net.corda.core.identity.IdentityUtils.groupAbstractPartyByWellKnownParty(IdentityUtils.kt:47)
at net.corda.core.identity.IdentityUtils.groupPublicKeysByWellKnownParty(IdentityUtils.kt:21)
at net.corda.core.identity.IdentityUtils.groupPublicKeysByWellKnownParty(IdentityUtils.kt:33)
at net.corda.core.flows.CollectSignaturesFlow.call(CollectSignaturesFlow.kt:107)
at net.corda.core.flows.CollectSignaturesFlow.call(CollectSignaturesFlow.kt:64)
at net.corda.core.flows.FlowLogic.subFlow(FlowLogic.kt:290)
at com.example.flow.ExampleFlow$Initiator.call(ExampleFlow.java:112)
at com.example.flow.ExampleFlow$Initiator.call(ExampleFlow.java:33)
at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:96)
at net.corda.node.services.statemachine.FlowStateMachineImpl.run(FlowStateMachineImpl.kt:44)
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(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at net.corda.node.utilities.AffinityExecutor$ServiceAffinityExecutor$1$thread$1.run(AffinityExecutor.kt:62)

Я могу следовать инструкциям по созданию IOU, но модульный тест не пройден. Я загрузил код с официального сайта и не внес никаких изменений.

1 Ответ

0 голосов
/ 26 ноября 2018

Эта проблема была решена путем повторной загрузки corda-3.2.jar.

...