hyperledger-labs / cordentity

The Cordentity app integrates Indy capabilities into the Corda platform.
Apache License 2.0
31 stars 19 forks source link

gradle clean build failed with an exception. #37

Open ChickenFajita opened 2 years ago

ChickenFajita commented 2 years ago

Hi, I try to build the project as you explain in the About.md file but I got errors on cordlib tests. As I understand, the problem is that the Trustee's DID could not be found. Could you help me?

Thank you

Some part of cordlib test log is below

[Mock network] DEBUG com.luxoft.blockchainlab.corda.hyperledger.indy.service.IndyService - Wallet created for Trustee
[Mock network] DEBUG com.luxoft.blockchainlab.corda.hyperledger.indy.service.IndyService - Created new user with did V4SGRU86Z58d6TV7PBUe6f in wallet
[Mock network] DEBUG com.luxoft.blockchainlab.corda.hyperledger.indy.service.IndyService - IndyUser object created for Trustee
[Thread-8] INFO org.hyperledger.indy.sdk.LibIndy.native.indy.commands.pool - src/commands/pool.rs:75 | OpenAck handle 8, pool_id 8, result Ok(())
[Mock network] DEBUG com.luxoft.blockchainlab.corda.hyperledger.indy.service.IndyService - Pool Trustee3551162682671150367 opened for Trustee
[Thread-8] DEBUG com.luxoft.blockchainlab.hyperledger.indy.wallet.IndySDKWalletUser - Did(7XbTjbRGai4KAzyvjQjaRF was not found in wallet
org.hyperledger.indy.sdk.wallet.WalletItemNotFoundException: No value with the specified key exists in the wallet from which it was requested.
    at org.hyperledger.indy.sdk.IndyException.fromSdkError(IndyException.java:138)
    at org.hyperledger.indy.sdk.IndyJava$API.checkResult(IndyJava.java:92)
    at org.hyperledger.indy.sdk.did.Did.access$1100(Did.java:23)
    at org.hyperledger.indy.sdk.did.Did$6.callback(Did.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:520)
    at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:551)
[Thread-8] INFO org.hyperledger.indy.sdk.LibIndy.native.indy.services.ledger - src/services/ledger/mod.rs:57 | build_nym_request() => Ok("{\"reqId\":1649168692530554967,\"identifier\":\"V4SGRU86Z58d6TV7PBUe6f\",\"operation\":{\"type\":\"1\",\"dest\":\"7XbTjbRGai4KAzyvjQjaRF\",\"verkey\":\"4ZM7ErUqN6KsaSr3Ywpuem2tyhpiewkSMk2YpipySQp9\",\"role\":\"0\"},\"protocolVersion\":2}")