qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6025) Java port of QpidConfig give NPE when listing queue/exchanges
Date Fri, 22 Aug 2014 11:07:11 GMT

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

Justin Ross commented on QPID-6025:
-----------------------------------

Reviewed by Robbie.  Approved for 0.30.

> Java port of QpidConfig give NPE when listing queue/exchanges
> -------------------------------------------------------------
>
>                 Key: QPID-6025
>                 URL: https://issues.apache.org/jira/browse/QPID-6025
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.30
>            Reporter: Fraser Adams
>            Assignee: Fraser Adams
>             Fix For: 0.31
>
>
> As pointed out by Robbie Gemmell doing:
> ./QpidConfig.sh -a guest/guest@localhost:5672
> queues
> Queue Name                                    Attributes
> ======================================================================
> TempQueue359495ce-d501-46b0-863a-9ab46ad36ce2 auto-del excl Exception in
> thread "main" java.lang.NullPointerException
>     at org.apache.qpid.qmf2.tools.QpidConfig.queueList(QpidConfig.java:679)
>     at org.apache.qpid.qmf2.tools.QpidConfig.<init>(QpidConfig.java:1467)
>     at org.apache.qpid.qmf2.tools.QpidConfig.main(QpidConfig.java:1540)
> The QMF Plugin Queue and Exchange agentdata classes that map from the Java Broker Model
to QMF2 haven't implemented Queue or Exchange arguments yet and so the arguments property
is set to null.
> These should be changes to return an empty Map to be consistent with the C++ broker,
but also to be doubly safe the QpidConfig port needs some defensive code for null arguments
property



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message