java.lang.RuntimeException: java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)


Solutions on the web7

Solution icon of web
via codegur.online by Unknown author, 1 year ago
java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)

Solution icon of web
via codegur.online by Unknown author, 1 year ago
java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)

Solution icon of stackoverflow
via Stack Overflow by hpandalai
, 1 year ago
java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)

Solution icon of web
via codegur.online by Unknown author, 1 year ago
java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)

Solution icon of web
via codegur.online by Unknown author, 1 year ago
java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)

Solution icon of web
via codegur.online by Unknown author, 1 year ago
java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)

Solution icon of web
java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)

Stack trace

java.lang.RuntimeException: java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)
	at org.mule.module.http.internal.listener.HttpResponseBuilder.build(HttpResponseBuilder.java:172)[mule-module-http-3.6.1.jar:3.6.1]
	at org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.sendResponseToClient(HttpMessageProcessorTemplate.java:97)[mule-module-http-3.6.1.jar:3.6.1]
	at org.mule.execution.AsyncResponseFlowProcessingPhase.runPhase(AsyncResponseFlowProcessingPhase.java:56)[mule-core-3.6.1.jar:3.6.1]
	at org.mule.execution.AsyncResponseFlowProcessingPhase.runPhase(AsyncResponseFlowProcessingPhase.java:23)[mule-core-3.6.1.jar:3.6.1]
	at org.mule.execution.PhaseExecutionEngine$InternalPhaseExecutionEngine.phaseSuccessfully(PhaseExecutionEngine.java:65)[mule-core-3.6.1.jar:3.6.1]
	at org.mule.execution.PhaseExecutionEngine$InternalPhaseExecutionEngine.phaseSuccessfully(PhaseExecutionEngine.java:69)[mule-core-3.6.1.jar:3.6.1]
	at com.mulesoft.mule.throttling.ThrottlingPhase.runPhase(ThrottlingPhase.java:175)[mule-module-throttling-ee-3.6.1.jar:3.6.1]
	at com.mulesoft.mule.throttling.ThrottlingPhase.runPhase(ThrottlingPhase.java:1)[mule-module-throttling-ee-3.6.1.jar:3.6.1]
	at org.mule.execution.PhaseExecutionEngine$InternalPhaseExecutionEngine.process(PhaseExecutionEngine.java:114)[mule-core-3.6.1.jar:3.6.1]
	at org.mule.execution.PhaseExecutionEngine.process(PhaseExecutionEngine.java:41)[mule-core-3.6.1.jar:3.6.1]
	at org.mule.execution.MuleMessageProcessingManager.processMessage(MuleMessageProcessingManager.java:32)[mule-core-3.6.1.jar:3.6.1]
	at org.mule.module.http.internal.listener.DefaultHttpListener$1.handleRequest(DefaultHttpListener.java:124)[mule-module-http-3.6.1.jar:3.6.1]
	at org.mule.module.http.internal.listener.grizzly.GrizzlyRequestDispatcherFilter.handleRead(GrizzlyRequestDispatcherFilter.java:78)[mule-module-http-3.6.1.jar:3.6.1]
	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)[grizzly-framework-2.3.16.jar:2.3.16]
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)[grizzly-framework-2.3.16.jar:2.3.16]
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)[grizzly-framework-2.3.16.jar:2.3.16]
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)[grizzly-framework-2.3.16.jar:2.3.16]
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)[grizzly-framework-2.3.16.jar:2.3.16]
	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)[grizzly-framework-2.3.16.jar:2.3.16]
	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)[grizzly-framework-2.3.16.jar:2.3.16]
	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)[grizzly-framework-2.3.16.jar:2.3.16]
	at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102)[mule-module-http-3.6.1.jar:3.6.1]
	at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.access$100(ExecutorPerServerAddressIOStrategy.java:30)[mule-module-http-3.6.1.jar:3.6.1]
	at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy$WorkerThreadRunnable.run(ExecutorPerServerAddressIOStrategy.java:125)[mule-module-http-3.6.1.jar:3.6.1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[?:1.7.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[?:1.7.0_45]
	at java.lang.Thread.run(Thread.java:744)[?:1.7.0_45]
Caused by: java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)
	at org.mule.DefaultMessageCollection.getPayloadAsBytes(DefaultMessageCollection.java:261)[mule-core-3.6.1.jar:3.6.1]
	at org.mule.module.http.internal.listener.HttpResponseBuilder.build(HttpResponseBuilder.java:159)[mule-module-http-3.6.1.jar:3.6.1]
	... 26 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago