You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Marc (JIRA)" <ji...@apache.org> on 2009/12/02 10:32:20 UTC

[jira] Updated: (SLING-1217) Disabling access log in RequestLogger throws NPE

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

Marc updated SLING-1217:
------------------------

    Attachment: RequestLogger.patch

I'm not familiar with the engine bundle but the attached patch works for me.

> 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
>         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.