Unit test failed while run corda The example CorDapp(IOU)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
When i am running the unit test for corda example cordapp, i receive following error. Any idea will be helpful.
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)
I can follow the guidelines to create an IOU, but the unit test failed.I downloaded the code from the official website and did not make any changes.
corda
add a comment |
When i am running the unit test for corda example cordapp, i receive following error. Any idea will be helpful.
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)
I can follow the guidelines to create an IOU, but the unit test failed.I downloaded the code from the official website and did not make any changes.
corda
Which unit test is failing?
– Joel
Nov 22 '18 at 8:05
thank you for your help,5 test in IOU flow test failed.(only flowRejectsInvalidIOUs passed). They failed with same error.
– coin Sheep
Nov 22 '18 at 8:26
Can you provide the link to the CorDapp you're downloading? I can't replicate on the Example CorDapp (github.com/corda/cordapp-example).
– Joel
Nov 23 '18 at 9:14
1
I solve this problem by re-download corda-3.2.jar. Thank you very much for trying solving this problem for me.
– coin Sheep
Nov 26 '18 at 3:24
add a comment |
When i am running the unit test for corda example cordapp, i receive following error. Any idea will be helpful.
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)
I can follow the guidelines to create an IOU, but the unit test failed.I downloaded the code from the official website and did not make any changes.
corda
When i am running the unit test for corda example cordapp, i receive following error. Any idea will be helpful.
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)
I can follow the guidelines to create an IOU, but the unit test failed.I downloaded the code from the official website and did not make any changes.
corda
corda
asked Nov 22 '18 at 7:49
coin Sheepcoin Sheep
103
103
Which unit test is failing?
– Joel
Nov 22 '18 at 8:05
thank you for your help,5 test in IOU flow test failed.(only flowRejectsInvalidIOUs passed). They failed with same error.
– coin Sheep
Nov 22 '18 at 8:26
Can you provide the link to the CorDapp you're downloading? I can't replicate on the Example CorDapp (github.com/corda/cordapp-example).
– Joel
Nov 23 '18 at 9:14
1
I solve this problem by re-download corda-3.2.jar. Thank you very much for trying solving this problem for me.
– coin Sheep
Nov 26 '18 at 3:24
add a comment |
Which unit test is failing?
– Joel
Nov 22 '18 at 8:05
thank you for your help,5 test in IOU flow test failed.(only flowRejectsInvalidIOUs passed). They failed with same error.
– coin Sheep
Nov 22 '18 at 8:26
Can you provide the link to the CorDapp you're downloading? I can't replicate on the Example CorDapp (github.com/corda/cordapp-example).
– Joel
Nov 23 '18 at 9:14
1
I solve this problem by re-download corda-3.2.jar. Thank you very much for trying solving this problem for me.
– coin Sheep
Nov 26 '18 at 3:24
Which unit test is failing?
– Joel
Nov 22 '18 at 8:05
Which unit test is failing?
– Joel
Nov 22 '18 at 8:05
thank you for your help,5 test in IOU flow test failed.(only flowRejectsInvalidIOUs passed). They failed with same error.
– coin Sheep
Nov 22 '18 at 8:26
thank you for your help,5 test in IOU flow test failed.(only flowRejectsInvalidIOUs passed). They failed with same error.
– coin Sheep
Nov 22 '18 at 8:26
Can you provide the link to the CorDapp you're downloading? I can't replicate on the Example CorDapp (github.com/corda/cordapp-example).
– Joel
Nov 23 '18 at 9:14
Can you provide the link to the CorDapp you're downloading? I can't replicate on the Example CorDapp (github.com/corda/cordapp-example).
– Joel
Nov 23 '18 at 9:14
1
1
I solve this problem by re-download corda-3.2.jar. Thank you very much for trying solving this problem for me.
– coin Sheep
Nov 26 '18 at 3:24
I solve this problem by re-download corda-3.2.jar. Thank you very much for trying solving this problem for me.
– coin Sheep
Nov 26 '18 at 3:24
add a comment |
1 Answer
1
active
oldest
votes
This issue was solved by re-downloading the corda-3.2.jar
.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53426130%2funit-test-failed-while-run-corda-the-example-cordappiou%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This issue was solved by re-downloading the corda-3.2.jar
.
add a comment |
This issue was solved by re-downloading the corda-3.2.jar
.
add a comment |
This issue was solved by re-downloading the corda-3.2.jar
.
This issue was solved by re-downloading the corda-3.2.jar
.
answered Nov 26 '18 at 11:14
JoelJoel
11.5k11430
11.5k11430
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53426130%2funit-test-failed-while-run-corda-the-example-cordappiou%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Which unit test is failing?
– Joel
Nov 22 '18 at 8:05
thank you for your help,5 test in IOU flow test failed.(only flowRejectsInvalidIOUs passed). They failed with same error.
– coin Sheep
Nov 22 '18 at 8:26
Can you provide the link to the CorDapp you're downloading? I can't replicate on the Example CorDapp (github.com/corda/cordapp-example).
– Joel
Nov 23 '18 at 9:14
1
I solve this problem by re-download corda-3.2.jar. Thank you very much for trying solving this problem for me.
– coin Sheep
Nov 26 '18 at 3:24