You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Fraser Adams (JIRA)" <ji...@apache.org> on 2014/08/20 19:08:28 UTC
[jira] [Resolved] (QPID-6025) Java port of QpidConfig give NPE when
listing queue/exchanges
[ https://issues.apache.org/jira/browse/QPID-6025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fraser Adams resolved QPID-6025.
--------------------------------
Resolution: Fixed
> 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
>
> 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