error Unconditioned case within setPromise #fabric
George
Hello,
I'm trying to benchmark my own contract. I'm installing and instantiating the contract. After running the benchmark the error that I get is: /home/csd3458/caliper/node_modules/@hyperledger/caliper-core/lib/client/client-orchestrator.js:202
throw new Error('Unconditioned case within setPromise()');
^
Error: Unconditioned case within setPromise()
at ClientOrchestrator.setPromise (/home/csd3458/caliper/node_modules/@hyperledger/caliper-core/lib/client/client-orchestrator.js:202:23)
at ChildProcess.<anonymous> (/home/csd3458/caliper/node_modules/@hyperledger/caliper-core/lib/client/client-orchestrator.js:267:22)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at emit (internal/child_process.js:762:12)
at _combinedTickCallback (internal/process/next_tick.js:142:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
Whats the problem? Thanks in advance |
|
Attila Klenik <klenik@...>
Hi George,
It looks like one of the worker processes encountered an error, and it is handled incorrectly in the master process. Check the logs for previous error messages (enable debug logs if needed) to find the root cause for the error.
(If you can’t locate the root error, then please share the logs through pastebin or similar ways. Including the exact command you’re executing.)
Regards, Attila Klenik Ph.D. Student @ Fault Tolerant Systems Research Group, Department of Measurement and Information Systems, Faculty of Electrical Engineering and Informatics, Budapest University of Technology and Economics
E-mail: klenik@...
Feladó: caliper@... <caliper@...> E személy nevében: George via Lists.Hyperledger.Org
Hello, throw new Error('Unconditioned case within setPromise()'); ^
Error: Unconditioned case within setPromise() at ClientOrchestrator.setPromise (/home/csd3458/caliper/node_modules/@hyperledger/caliper-core/lib/client/client-orchestrator.js:202:23) at ChildProcess.<anonymous> (/home/csd3458/caliper/node_modules/@hyperledger/caliper-core/lib/client/client-orchestrator.js:267:22) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at emit (internal/child_process.js:762:12) at _combinedTickCallback (internal/process/next_tick.js:142:11) at process._tickCallback (internal/process/next_tick.js:181:9)
|
|