Skip to content

INTERNAL: no cache manager when using method io.github.wechaty.user.manager.ContactManager.findAll #104

@Charles-Wu-Chen

Description

@Charles-Wu-Chen

Caused by: io.grpc.StatusRuntimeException: INTERNAL: no cache manager
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:244) ~[grpc-stub-1.29.0.jar:1.29.0]
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:225) ~[grpc-stub-1.29.0.jar:1.29.0]
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:142) ~[grpc-stub-1.29.0.jar:1.29.0]
at io.github.wechaty.grpc.PuppetGrpc$PuppetBlockingStub.contactList(PuppetGrpc.java:2841) ~[grpc-0.16.1.jar:?]
at io.github.wechaty.grpc.GrpcPuppet$contactList$1.get(GrpcPuppet.kt:386) ~[wechaty-puppet-hostie-0.1.5-20200719.133816-1.jar:?]
at io.github.wechaty.grpc.GrpcPuppet$contactList$1.get(GrpcPuppet.kt:29) ~[wechaty-puppet-hostie-0.1.5-20200719.133816-1.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) ~[?:?]

Using
io.github.wechaty
wechaty
0.1.5-SNAPSHOT

with puppet puppet_donut_

Code to simulate

public void sendMessage(String message, String contactId) {
    ContactQueryFilter singleContactQueryFilter = new ContactQueryFilter();
    singleContactQueryFilter.setId(contactId); 
    wechaty.getContactManager().find(singleContactQueryFilter);

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions