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-6688) [Java Broker] Add port state check in HTTP and JMX management plugins whilst iterating through ports in order to avoid NPE thrown for Ports in ERRORED state having uninitialized protocols
Date Wed, 12 Aug 2015 15:13:46 GMT

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

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

Commit 1695552 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1695552 ]

QPID-6688: [Management Plugins] Ensure that the JMX/HTTP management plugins consistently guard
the case where ports are not available/in wrong state.

> [Java Broker] Add port state check in HTTP and JMX management plugins whilst iterating
through ports in order to avoid NPE thrown for Ports in ERRORED state having uninitialized
protocols
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6688
>                 URL: https://issues.apache.org/jira/browse/QPID-6688
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: qpid-java-6.0
>
>
> NPE can be thrown from HTTP or/and JMX management whilst iteration through Broker ports
having port(s) in ERRORED state where protocols are uninitialized.
> {noformat}
> 2015-08-11 11:18:55,672 ERROR [Broker-Config] (o.a.q.s.m.AbstractConfiguredObject) -
Failed to open object with name 'jmxManagement'.  Object will be put into ERROR state.
> java.lang.NullPointerException: null
>         at org.apache.qpid.server.jmx.JMXManagementPluginImpl.isRegistryPort(JMXManagementPluginImpl.java:204)
~[classes/:na]
>         at org.apache.qpid.server.jmx.JMXManagementPluginImpl.doStart(JMXManagementPluginImpl.java:129)
~[classes/:na]
> {noformat}



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