qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yong Deng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6103) NPE when connecting to QPID broker without setting remote-host option
Date Tue, 16 Sep 2014 09:20:34 GMT
Yong Deng created QPID-6103:
-------------------------------

             Summary: NPE when connecting to QPID broker without setting remote-host option
                 Key: QPID-6103
                 URL: https://issues.apache.org/jira/browse/QPID-6103
             Project: Qpid
          Issue Type: Bug
          Components: JMS AMQP 1.0 Client
    Affects Versions: 0.28
         Environment: JDK: 1.7.0_67
QPID broker JAVA: 0.28
            Reporter: Yong Deng


1. AMQP URL: amqp://localhost:5672
2. Connecting to QPID broker, NPE below will happen:

...........
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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message