Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.28
-
None
-
None
-
JDK: 1.7.0_67
QPID broker JAVA: 0.28
Description
1. AMQP URL: amqp://localhost:5672
2. Connecting to QPID broker, NPE below will happen:
Note: URL "amqp://localhost:5672/?remote-host=default" will work without exception.
...........
Caused by: com.vitria.dataflow.helper.TestComponentException: DFJMS-1102: Fail to connect to JMS provider and the reason
is "null"
at com.vitria.dataflow.jms.source.JMSSourceHelper.connect(JMSSourceHelper.java:117)
at com.vitria.dataflow.jms.source.JMSSourceHelper.testConnection(JMSSourceHelper.java:58)
at com.vitria.dataflow.helper.DesignTimeInteraction$1.run(DesignTimeInteraction.java:223)
at com.vitria.dataflow.helper.ComponentRunContainer.runComponent(ComponentRunContainer.java:57)
... 72 more
Caused by: java.lang.NullPointerException
at org.apache.qpid.amqp_1_0.transport.SessionEndpoint.sendFlow(SessionEndpoint.java:775)
at org.apache.qpid.amqp_1_0.transport.LinkEndpoint.sendFlow(LinkEndpoint.java:506)
at org.apache.qpid.amqp_1_0.transport.LinkEndpoint.sendFlow(LinkEndpoint.java:487)
at org.apache.qpid.amqp_1_0.transport.LinkEndpoint.sendFlowConditional(LinkEndpoint.java:469)
at org.apache.qpid.amqp_1_0.transport.ReceivingLinkEndpoint.setCreditWindow(ReceivingLinkEndpoint.java:291)
at org.apache.qpid.amqp_1_0.client.Receiver.setCredit(Receiver.java:232)
at org.apache.qpid.amqp_1_0.jms.impl.MessageConsumerImpl.start(MessageConsumerImpl.java:460)
at org.apache.qpid.amqp_1_0.jms.impl.SessionImpl.start(SessionImpl.java:682)
at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.start(ConnectionImpl.java:353)
at com.vitria.dataflow.jms.source.JMSSourceHelper.connect(JMSSourceHelper.java:113)
... 75 more