[
https://issues.apache.org/jira/browse/QPID-6688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rudyy updated QPID-6688:
-----------------------------
Status: Reviewable (was: In Progress)
> [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: Alex Rudyy
> 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: [email protected]
For additional commands, e-mail: [email protected]