java.lang.UnsupportedOperationException

getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web216

  • via codegur.online by Unknown author, 11 months ago
    getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)
  • via codegur.online by Unknown author, 11 months ago
    getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)
  • via codegur.online by Unknown author, 11 months ago
    getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE)
  • Stack trace

    • java.lang.UnsupportedOperationException: getPayloadAsBytes(), use getPayload(DataType.BYTE_ARRAY_DATA_TYPE) at org.mule.DefaultMessageCollection.getPayloadAsBytes(DefaultMessageCollection.java:170) at org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest.setupEntityMethod(ObjectToHttpClientMethodRequest.java:343) at org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest.createPostMethod(ObjectToHttpClientMethodRequest.java:236)

    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

    Unknown user
    Once, 11 months ago