When is a NullPointerException logged by an HTTP-NIO-Worker thread in TIBCO API Exchange Gateway?
book
Article ID: KB0074040
calendar_today
Updated On:
Products
Versions
TIBCO API Exchange
2.x and above
Description
Here is the sample engine log: ------------------ 2020 Dec 21 18:03:58:757 GMT -6 asg-caching-core Error [HTTP-NIO-Worker-1-191] - [driver.http] Exception while invoking rule function java.lang.NullPointerException at com.tibco.asg.payload.ManagePayload.savePayload(ManagePayload.java:25) ---------------------------
Issue/Introduction
This article provides some inputs about NPEs logged bye HTTP-NIO-Worker in APIX-G.
Environment
All Supported Platforms
Resolution
This error is logged if the engine receives requests while it is still starting up.
Here is the corresponding sample entry from access log: --------------- 2020 Dec 21 18:04:13.735 GMT-06 10.95.1.162 HTTP-NIO-Worker-1-178 [POST] '/async/basichttp/post' [500] 997bytes 15394ms ----------------- - The time at the end of the line corresponds to the value of 'ConnectionTimeout' configured on the FacadeHTTPChannel - The payload size is about 997bytes(when no transformation is applied). Attached is a sample exchange on the wire.
Note: If the entries are written well after startup or if access log entries have 'null' instead of 'HTTP-NIO-Worker-xyz', then it will need further investigation.
Attachments
When is a NullPointerException logged by an HTTP-NIO-Worker thread in TIBCO API Exchange Gateway?
get_app