質問編集履歴

1

エラーメッセージ修正

2022/09/28 03:01

投稿

rilly
rilly

スコア4

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,9 @@
6
6
 
7
7
  ### 発生している問題・エラーメッセージ
8
8
 
9
- ClassCastException
9
+ ClassCastException: class com.microsoft.azure.functions.worker.binding.RpcHttpDataTarget cannot be cast to class com.microsoft.azure.functions.rpc.messages.TypedData$Builder (com.microsoft.azure.functions.worker.binding.RpcHttpDataTarget and com.microsoft.azure.functions.rpc.messages.TypedData$Builder are in unnamed module of loader 'app') Stack: java.lang.ClassCastException: class com.microsoft.azure.functions.worker.binding.RpcHttpDataTarget cannot be cast to class com.microsoft.azure.functions.rpc.messages.TypedData$Builder (com.microsoft.azure.functions.worker.binding.RpcHttpDataTarget and com.microsoft.azure.functions.rpc.messages.TypedData$Builder are in unnamed module of loader 'app') at java.base/java.util.Optional.map(Optional.java:265) at com.microsoft.azure.functions.worker.binding.DataTarget.computeFromValue(DataTarget.java:26) at com.microsoft.azure.functions.worker.binding.BindingDataStore.lambda$getDataTargetTypedValue$1(BindingDataStore.java:113) at java.base/java.util.Optional.map(Optional.java:265) at com.microsoft.azure.functions.worker.binding.BindingDataStore.getDataTargetTypedValue(BindingDataStore.java:111) at com.microsoft.azure.functions.worker.broker.JavaFunctionBroker.invokeMethod(JavaFunctionBroker.java:63) at com.microsoft.azure.functions.worker.handler.InvocationRequestHandler.execute(InvocationRequestHandler.java:37) at com.microsoft.azure.functions.worker.handler.InvocationRequestHandler.execute(InvocationRequestHandler.java:12) at com.microsoft.azure.functions.worker.handler.MessageHandler.handle(MessageHandler.java:45) at com.microsoft.azure.functions.worker.JavaWorkerClient$StreamingMessagePeer.lambda$onNext$0(JavaWorkerClient.java:92) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
10
+
11
+ ※実行環境がAzure Functionsのため、そちらのメッセージが含まれています。
10
12
 
11
13
  ### 該当のソースコード
12
14
  ```Java