Skip to content

NPE in JmsSenderConnection.onReceiveBeforeRead() when the received Message is null [SWS-358] #507

@gregturn

Description

@gregturn

Tareq Abedrabbo opened SWS-358 and commented

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();


Affects: 1.5.2

Referenced from: commits b07aa24

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions