You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i use grpc(java) [grpcClient!!.messageFile(request)] to download file,report a error:
Exception in thread "pool-35-thread-11" java.lang.Error: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: INTERNAL: FileBox.toJSON() can only work on limited FileBoxType(s). See: huan/file-box#25
2023-05-21 21:05:01.409 : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1155)
2023-05-21 21:05:01.410 : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2023-05-21 21:05:01.413 : at java.lang.Thread.run(Thread.java:750)
2023-05-21 21:05:01.414 : Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: INTERNAL: FileBox.toJSON() can only work on limited FileBoxType(s). See: huan/file-box#25
2023-05-21 21:05:01.414 : at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
2023-05-21 21:05:01.414 : at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
2023-05-21 21:05:01.414 : at io.github.wechaty.user.Message.toFileBox(Message.kt:343)
2023-05-21 21:05:01.415 : at io.github.wechaty.user.Message.file(Message.kt:290)
2023-05-21 21:05:01.415 : at biz.module.tm.customer.service.WechatyListener.handler(WechatyListener.java:40)
2023-05-21 21:05:01.415 : at io.github.wechaty.Wechaty$on$3.handler(Wechaty.kt:160)
2023-05-21 21:05:01.415 : at io.github.wechaty.eventEmitter.EventEmitter$emit$$inlined$forEach$lambda$1.run(EventEmitter.kt:49)
2023-05-21 21:05:01.416 : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2023-05-21 21:05:01.416 : ... 2 more
2023-05-21 21:05:01.428 : Caused by: io.grpc.StatusRuntimeException: INTERNAL: FileBox.toJSON() can only work on limited FileBoxType(s). See: huan/file-box#25
2023-05-21 21:05:01.435 : at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:244)
2023-05-21 21:05:01.436 : at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:225)
2023-05-21 21:05:01.436 : at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:142)
2023-05-21 21:05:01.436 : at io.github.wechaty.grpc.PuppetGrpc$PuppetBlockingStub.messageFile(PuppetGrpc.java:2905)
2023-05-21 21:05:01.437 : at io.github.wechaty.grpc.GrpcPuppet$messageFile$1.get(GrpcPuppet.kt:514)
2023-05-21 21:05:01.438 : at io.github.wechaty.grpc.GrpcPuppet$messageFile$1.get(GrpcPuppet.kt:29)
2023-05-21 21:05:01.438 : at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
2023-05-21 21:05:01.438 : at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
2023-05-21 21:05:01.438 : at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
2023-05-21 21:05:01.438 : at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067)
2023-05-21 21:05:01.441 : at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703)
2023-05-21 21:05:01.441 : at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172)
Environment:
wechaty:0.78
java:
io.github.wechaty
grpc
0.16.1
TypeScripts can receive files!
and i search for the difference between the two of them and i find it:
java:
TypeScripts:
Is this causing the problem? fix it please
The text was updated successfully, but these errors were encountered:
when i use grpc(java) [grpcClient!!.messageFile(request)] to download file,report a error:
Exception in thread "pool-35-thread-11" java.lang.Error: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: INTERNAL: FileBox.toJSON() can only work on limited FileBoxType(s). See: huan/file-box#25
2023-05-21 21:05:01.409 : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1155)
2023-05-21 21:05:01.410 : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2023-05-21 21:05:01.413 : at java.lang.Thread.run(Thread.java:750)
2023-05-21 21:05:01.414 : Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: INTERNAL: FileBox.toJSON() can only work on limited FileBoxType(s). See: huan/file-box#25
2023-05-21 21:05:01.414 : at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
2023-05-21 21:05:01.414 : at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
2023-05-21 21:05:01.414 : at io.github.wechaty.user.Message.toFileBox(Message.kt:343)
2023-05-21 21:05:01.415 : at io.github.wechaty.user.Message.file(Message.kt:290)
2023-05-21 21:05:01.415 : at biz.module.tm.customer.service.WechatyListener.handler(WechatyListener.java:40)
2023-05-21 21:05:01.415 : at io.github.wechaty.Wechaty$on$3.handler(Wechaty.kt:160)
2023-05-21 21:05:01.415 : at io.github.wechaty.eventEmitter.EventEmitter$emit$$inlined$forEach$lambda$1.run(EventEmitter.kt:49)
2023-05-21 21:05:01.416 : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2023-05-21 21:05:01.416 : ... 2 more
2023-05-21 21:05:01.428 : Caused by: io.grpc.StatusRuntimeException: INTERNAL: FileBox.toJSON() can only work on limited FileBoxType(s). See: huan/file-box#25
2023-05-21 21:05:01.435 : at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:244)
2023-05-21 21:05:01.436 : at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:225)
2023-05-21 21:05:01.436 : at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:142)
2023-05-21 21:05:01.436 : at io.github.wechaty.grpc.PuppetGrpc$PuppetBlockingStub.messageFile(PuppetGrpc.java:2905)
2023-05-21 21:05:01.437 : at io.github.wechaty.grpc.GrpcPuppet$messageFile$1.get(GrpcPuppet.kt:514)
2023-05-21 21:05:01.438 : at io.github.wechaty.grpc.GrpcPuppet$messageFile$1.get(GrpcPuppet.kt:29)
2023-05-21 21:05:01.438 : at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
2023-05-21 21:05:01.438 : at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
2023-05-21 21:05:01.438 : at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
2023-05-21 21:05:01.438 : at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067)
2023-05-21 21:05:01.441 : at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703)
2023-05-21 21:05:01.441 : at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172)
Environment:
wechaty:0.78
java:
io.github.wechaty
grpc
0.16.1
TypeScripts can receive files!
![1684674870326](https://private-user-images.githubusercontent.com/21190971/239743494-3e7964fa-34c5-4f5a-872b-c3fc57812cac.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4Nzc0MTQsIm5iZiI6MTcxOTg3NzExNCwicGF0aCI6Ii8yMTE5MDk3MS8yMzk3NDM0OTQtM2U3OTY0ZmEtMzRjNS00ZjVhLTg3MmItYzNmYzU3ODEyY2FjLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAxVDIzMzgzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1NDhjMDBlYTg5MzI3ZDc0ZTM3OTNiYzhkYmU4MzA4ZDA3OTk1YWMzODM2ZDUxOTZmN2QxZTdiYjg3ZDhhZmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.AG_X6L5ZkOe0TUadwmOaEdXyGJeDexYtCVtpTI7BCeU)
and i search for the difference between the two of them and i find it:
java:
TypeScripts:
Is this causing the problem? fix it please
The text was updated successfully, but these errors were encountered: