2025 Mar 13 1:04 PM - edited 2025 Mar 13 1:06 PM
Hi,
My scenario is proxy -> synchronous REST.
The REST service I'm calling returns an empty message when the input data is incorrect, including error information in custom headers.
This generates an exception in PO: java.io.IOException: java.io.EOFException
In the error handling tab in the rest receiver channel, when using "Text Content" -> "Result Message is Empty", I still get an EOFException.
The only way to work around this is to use the "Exception" option in "error handling". It should work fine, but when using the "Exception" option in the "Error Handling" tab, we get the following exception in message monitoring:
java.lang.NullPointerException: When trying to invoke the java.lang.CharSequence.toString() method on a null object loaded from the local variable 'replacement'
Any ideas on how to resolve this null pointer exception?
It happens no matter what kind of message I put in "Message Content".
Thanks And regards.
Alex-
Request clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.