You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/02 20:48:13 UTC

[jira] [Commented] (QPID-6100) NPE when the password is wrong

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

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

Commit 1642996 from [~tabish121] in branch 'qpid/trunk'
[ https://svn.apache.org/r1642996 ]

https://issues.apache.org/jira/browse/QPID-6100

Refine the exception message and throw a JMSSecurityException as defined by the spec and to make tests more explicit about what they are expecting.

> NPE when the password is wrong
> ------------------------------
>
>                 Key: QPID-6100
>                 URL: https://issues.apache.org/jira/browse/QPID-6100
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS AMQP 1.0 Client
>    Affects Versions: 0.28
>            Reporter: Yong Deng
>            Assignee: Rob Godfrey
>             Fix For: 0.31
>
>
> When connecting QPID broker or windows azure to sub events, input a wrong password, then there will be NPE during the procedure:
> 18:49:30,563 ERROR [JMSSource] [as][asm][vtbaadmin][AzureRouter] DF-1215: Component "[AS_Source_Source]" failed processi
> ng event.
> com.vitria.dataflow.framework.component.source.DataflowSourceException: [as][asm][vtbaadmin][AzureRouter] DFJMS-1102: Fa
> il to connect to JMS provider and the reason is "null"
>         at com.vitria.dataflow.jms.source.JMSPollable.connect(JMSPollable.java:320)
>         at com.vitria.dataflow.jms.source.JMSPollable.poll(JMSPollable.java:169)
>         at com.vitria.dataflow.framework.component.source.pollable.PollableSource.generateEvents(PollableSource.java:109
> )
>         at com.vitria.dataflow.framework.component.internal.AsyncComponent.run(AsyncComponent.java:90)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException
>         at org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.getFirstFreeChannel(ConnectionEndpoint.java:325)
>         at org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.createSession(ConnectionEndpoint.java:228)
>         at org.apache.qpid.amqp_1_0.client.Session.<init>(Session.java:58)
>         at org.apache.qpid.amqp_1_0.client.Connection.createSession(Connection.java:297)
>         at org.apache.qpid.amqp_1_0.jms.impl.SessionImpl.<init>(SessionImpl.java:86)
>         at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:231)
>         at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:210)
>         at org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.createSession(ConnectionImpl.java:40)
>         at com.vitria.dataflow.jms.common.ConnectionLib.createSession(ConnectionLib.java:96)
>         at com.vitria.dataflow.jms.source.JMSPollable.connect(JMSPollable.java:314)
>         ... 4 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