[SWS-358] NPE in JmsSenderConnection.onReceiveBeforeRead() when the received Message is null Created: 20/May/08  Updated: 21/Jul/08  Resolved: 20/May/08

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: 1.5.2
Fix Version/s: 1.5.3

Type: Bug Priority: Minor
Reporter: Tareq Abedrabbo Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


We should test whether the Message returned by messageConsumer.receive is null (case of time out for instance) or else a NPE is thrown:

Message message = receiveTimeout >= 0 ? messageConsumer.receive(receiveTimeout) : messageConsumer.receive();

Comment by Arjen Poutsma [ 21/Jul/08 ]

Closing issues in 1.5.3

Generated at Thu Feb 22 12:23:38 UTC 2018 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.