qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6687) NPE is thrown on stop of Broker and VirtualHost FileLoggers when Logger is in ERRORED state due to attribute value resolution errors
Date Wed, 12 Aug 2015 15:13:46 GMT

    [ https://issues.apache.org/jira/browse/QPID-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693648#comment-14693648
] 

ASF subversion and git services commented on QPID-6687:
-------------------------------------------------------

Commit 1695551 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1695551 ]

QPID-6687: [Java Broker] Publish FileLogger's#_rolloverWatcher safely between threads

> 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


Mime
View raw message