[ https://issues.apache.org/activemq/browse/CAMEL-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52676#action_52676 ]
Jonathan Anstey commented on CAMEL-1793: ---------------------------------------- Seems that switching to a VM transport in ActiveMQ changes the original exception being thrown (not null anymore) and so we don't hit this spring-jms bug. Will commit this in a few mins. Of course, when Spring 3.0 is out we should upgrade since it fixes the spring-jms bug. > CustomerServicesWsAddressingTest hangs sometimes > ------------------------------------------------ > > Key: CAMEL-1793 > URL: https://issues.apache.org/activemq/browse/CAMEL-1793 > Project: Apache Camel > Issue Type: Bug > Components: tests > Affects Versions: 1.6.1 > Reporter: Jonathan Anstey > Assignee: Jonathan Anstey > > Sometimes I get the following error > [23:59:55]: Running > org.apache.camel.itest.customerrelations.CustomerServicesWsAddressingTest > [00:00:06]: Exception in thread "DefaultMessageListenerContainer-4" > java.lang.NullPointerException > [00:00:06]: at java.lang.String.indexOf(String.java:1564) > [00:00:06]: at java.lang.String.indexOf(String.java:1546) > [00:00:06]: at > org.springframework.jms.support.JmsUtils.buildExceptionMessage(JmsUtils.java:255) > [00:00:06]: at > org.springframework.jms.listener.DefaultMessageListenerContainer.handleListenerSetupFailure(DefaultMessageListenerContainer.java:745) > [00:00:06]: at > org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:897) > [00:00:06]: at java.lang.Thread.run(Thread.java:595) > ... which then causes a hang. Its a known issue in spring-jms 2.5.6 > (http://jira.springframework.org/browse/SPR-5470). Happens when we try to do > a shutdown of the context. Reverting back to 2.5.5 fixes this issue, but we > probably don't want to do that :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.