Skip to content

Possible NPE in JmsUtils.buildExceptionMessage and JmsException.getMessage [SPR-5470] #10143

Closed
@spring-projects-issues

Description

@spring-projects-issues

Guillaume Nodet opened SPR-5470 and commented

If the JMS exception has no message, a NPE is thrown

Exception in thread "org.apache.servicemix.jbi.cluster.requestor.ActiveMQJmsRequestorPool#717dc9-3" java.lang.NullPointerException
        at java.lang.String.indexOf(String.java:1564)
        at java.lang.String.indexOf(String.java:1546)
        at org.springframework.jms.support.JmsUtils.buildExceptionMessage(JmsUtils.java:255)
        ...

Affects: 2.5.6

Issue Links:

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions