qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6103) [Java AMQP 1.0 Common] NPE when sending flow before receiving initial flow from partner
Date Tue, 16 Sep 2014 10:55:34 GMT

    [ https://issues.apache.org/jira/browse/QPID-6103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135280#comment-14135280
] 

ASF subversion and git services commented on QPID-6103:
-------------------------------------------------------

Commit 1625241 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1625241 ]

QPID-6103 : Fix NPE which occurred when first flow was sent before receiving initial flow
from partner

> [Java AMQP 1.0 Common] NPE when sending flow before receiving initial flow from partner

> ----------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Rob Godfrey
>
> 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



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