You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2015/08/11 15:52:45 UTC

[jira] [Assigned] (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

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

Alex Rudyy reassigned QPID-6688:
--------------------------------

    Assignee: Alex Rudyy

> [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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org