Alex Rudyy created QPID-6687:
--------------------------------
Summary: 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]