-
Bug
-
Resolution: Done
-
Minor
-
5.10.3.Final
-
None
When triggering recovery on recovery listener it could happen the client side starts sending but does not finish with a new line. For the recovery socket reader it's as there was called no flush - it still waits for get all information. But meanwhile the socket is closed and buffer reader at the server side gets null at that poing.
In such case a NullPointerException can be thrown from the Narayana code.
WARN [com.arjuna.ats.arjuna] (Server.Connection:127.0.0.1:37264) ARJUNA012338: Other Exception:: java.lang.NullPointerException at com.arjuna.ats.internal.arjuna.recovery.WorkerService.doWork(WorkerService.java:66) at com.arjuna.ats.internal.arjuna.recovery.Connection.run(Connection.java:88)