0

Content-Type で base64String を返す REST サービスを (http アウトバウンドを使用して) 呼び出そうとしていますimage/tiff;。エラーを下回っています


メッセージ : 'image/tiff;' を解析できませんでした (java.lang.IllegalArgumentException)。メッセージ ペイロードのタイプは次のとおりです: 文字列 タイプ: org.mule.api.MessagingException コード: MULE_ERROR--2 ペイロード: テスト JavaDoc: http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api /MessagingException.html


例外スタックは次のとおりです: 1. null (java.lang.IllegalStateException) com.google.common.base.Preconditions:158 (null) 2. 'image/tiff;' を解析できませんでした。(java.lang.IllegalArgumentException) com.google.common.net.MediaType:629 (null) 3. 'image/tiff;' を解析できませんでした。(java.lang.IllegalArgumentException)。メッセージ ペイロードのタイプは次のとおりです: String (org.mule.api.MessagingException) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:32 ( http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/ MessagingException.html )


ルート例外スタック トレース: com.google.common.base.Preconditions.checkState(Preconditions.java:158) の java.lang.IllegalStateException com.google.common.net.MediaType$Tokenizer.consumeTokenIfPresent(MediaType.java:642) の java.lang.IllegalStateException com.google.common.net.MediaType.parse(MediaType.java:605) org.mule.module.http.internal.request.HttpResponseToMuleEvent.getEncoding(HttpResponseToMuleEvent.java:122) org.mule.module.http .internal.request.HttpResponseToMuleEvent.convert(HttpResponseToMuleEvent.java:75) org.mule.module.http.internal.request.DefaultHttpRequester.innerProcess(DefaultHttpRequester.java:290) at org.mule.module.http.internal.request .DefaultHttpRequester.processBlocking(DefaultHttpRequester.java:186) org.mule.processor.AbstractNonBlockingMessageProcessor.process(AbstractNonBlockingMessageProcessor.java:43) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) で org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) で org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java) :44) org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:85) で org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) で org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor. java:24) org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) で org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) org.mule.processor.AsyncInterceptingMessageProcessor.process(AsyncInterceptingMessageProcessor.java:102) org .mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) で org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) で org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) でorg.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) org.mule.processor.BlockingProcessorExecutor.org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) で org.mule.execution.MessageProcessorNotificationExecutionInterceptor で実行 (BlockingProcessorExecutor.java:56) .execute(MessageProcessorNotificationExecutionInterceptor.java:107) で org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) で org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:85) で org.mule.processor. org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor の BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56)。execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) org.mule.processor.BlockingProcessorExecutor で org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) で.execute(BlockingProcessorExecutor.java:56) は org.mule.interceptor.AbstractEnvelopeInterceptor.processBlocking(AbstractEnvelopeInterceptor.java:58) でorg.mule.execution.MessageProcessorNotificationExecutionInterceptor の ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)。execute(MessageProcessorNotificationExecutionInterceptor.java:107) org.mule.processor.BlockingProcessorExecutor で org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) で.execute(BlockingProcessorExecutor.java:56) org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:41) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) org.mule.execution.MessageProcessorExecutionTemplate の MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107)。org.mule.processor.BlockingProcessor で実行 (MessageProcessorExecutionTemplate.java:44)...


Mule Anypoint Studio 5.3.0 と Mule ランタイム バージョン 3.7.2 を使用しています。

誰かがこの問題について助けてくれますか。

前もって感謝します

4

0 に答える 0