You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2015/08/12 22:10:46 UTC

[jira] [Closed] (QPID-6687) NPE is thrown on stop of Broker and VirtualHost FileLoggers when Logger is in ERRORED state due to attribute value resolution errors

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

Keith Wall closed QPID-6687.
----------------------------

> NPE is thrown on stop of Broker and VirtualHost FileLoggers when Logger is in ERRORED state due to attribute value resolution errors
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6687
>                 URL: https://issues.apache.org/jira/browse/QPID-6687
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: qpid-java-6.0
>
>
> On invocation of VirtualHostFileLoggerImpl#stopLogging() and BrokerFileLoggerImpl#stopLogging() an NPE is thrown when Logger transited into ERRORED state due to attribute resolution errors caused by invalid values.
> Here is an example of NPE:
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.qpid.server.logging.VirtualHostFileLoggerImpl.stopLogging(VirtualHostFileLoggerImpl.java:185)
> 	at org.apache.qpid.server.logging.VirtualHostLoggerTest.testStopLoggingLoggerInErroredState(VirtualHostLoggerTest.java:217)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {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