You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <ji...@apache.org> on 2011/07/05 17:13:16 UTC

[jira] [Resolved] (QPID-3254) NPE when creating a durable subscriber using an addressing string configured in jndi.properties

     [ https://issues.apache.org/jira/browse/QPID-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajith Attapattu resolved QPID-3254.
------------------------------------

    Resolution: Fixed

Fixed along with a test case.

> NPE when creating a durable subscriber using an addressing string configured in jndi.properties
> -----------------------------------------------------------------------------------------------
>
>                 Key: QPID-3254
>                 URL: https://issues.apache.org/jira/browse/QPID-3254
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.10
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: 0.11
>
>
> If the following address specified jndi.properties is used in creating a durable subscriber an NPE is thrown.
> destination.my_topic=amq.topic
> java.lang.NullPointerException
>         at
> org.apache.qpid.client.AMQAnyDestination.getTopicName(AMQAnyDestination.java:75)
>         at
> org.apache.qpid.client.AMQSession.createDurableSubscriber(AMQSession.java:1065)
>         at
> org.apache.qpid.client.AMQSession.createDurableSubscriber(AMQSession.java:1039)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org