[
https://issues.apache.org/jira/browse/QPID-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14681435#comment-14681435
]
ASF subversion and git services commented on QPID-6687:
-------------------------------------------------------
Commit 1695226 from [email protected] in branch 'java/trunk'
[ https://svn.apache.org/r1695226 ]
QPID-6687: Fix NPE on stopping logging for Broker and VirtualHost file loggers
in ERRORED state
> 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: Alex Rudyy
>
> 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: [email protected]
For additional commands, e-mail: [email protected]