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:30:21 UTC
[jira] Created: (SLING-1217) Disabling access log in RequestLogger
throws NPE
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
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.
[jira] Resolved: (SLING-1217) Disabling access log in RequestLogger
throws NPE
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (SLING-1217) Disabling access log in RequestLogger
throws NPE
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-1217.
------------------------------------
Close after release
> 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.
[jira] Updated: (SLING-1217) Disabling access log in RequestLogger
throws NPE
Posted by "Marc (JIRA)" <ji...@apache.org>.
[ 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.