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

Felix Meschberger resolved SLING-1217.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: Engine 2.1.0
         Assignee: Felix Meschberger

Thanks for reporting the issue and providing the patch, which looks very 
reasonable.

I have committed it in Rev. 886104

> Disabling access log in RequestLogger throws NPE
> ------------------------------------------------
>
>                 Key: SLING-1217
>                 URL: https://issues.apache.org/jira/browse/SLING-1217
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.0.6
>            Reporter: Marc
>            Assignee: Felix Meschberger
>             Fix For: Engine 2.1.0
>
>         Attachments: RequestLogger.patch
>
>
> Disabling the access log in the management console throws the following error 
> and leaves the component unsatisfied.
> 02.12.2009 09:56:55.774 *ERROR* [SCR Component Actor] org.apache.sling.engine 
> [org.apache.sling.engine.impl.log.RequestLogger] The activate method has 
> thrown an exception (java.lang.NullPointerException) java.
> lang.NullPointerException
>         at 
> org.apache.sling.engine.impl.log.RequestLogger.bindRequestLoggerService(RequestLogger.java:260)
>         at 
> org.apache.sling.engine.impl.log.RequestLogger.activate(RequestLogger.java:215)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to