You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Geoffroy Schneck (JIRA)" <ji...@apache.org> on 2015/06/09 19:12:00 UTC

[jira] [Updated] (SLING-4791) Error when saving configuration of "org.apache.sling.engine.parameters" with an empty "file.location" parameter

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

Geoffroy Schneck updated SLING-4791:
------------------------------------
    Description: 
- Go to *http://localhost:4502/system/console/configMgr/org.apache.sling.engine.parameters*

- Change *sling.default.max.parameters* to 10001

- See in the logs :

{code}
09.06.2015 19:02:11.577 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.sling.engine.parameters)] org.apache.sling.engine [org.apache.sling.engine.parameters(404)] The configure method has thrown an exception (java.lang.NullPointerException)
java.lang.NullPointerException: null
	at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.getFileLocation(RequestParameterSupportConfigurer.java:132)
	at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.configure(RequestParameterSupportConfigurer.java:108)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
....
....
09.06.2015 19:09:32.291 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.sling.engine.parameters)] org.apache.sling.engine [org.apache.sling.engine.parameters(404)] Failed creating the component instance; see log for reason
{code}



  was:
- Go to *http://localhost:4502/system/console/configMgr/org.apache.sling.engine.parameters*

- Change *sling.default.max.parameters* to 10001

- See in the logs :

{code}
09.06.2015 19:02:11.577 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.sling.engine.parameters)] org.apache.sling.engine [org.apache.sling.engine.parameters(404)] The configure method has thrown an exception (java.lang.NullPointerException)
java.lang.NullPointerException: null
	at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.getFileLocation(RequestParameterSupportConfigurer.java:132)
	at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.configure(RequestParameterSupportConfigurer.java:108)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
....
....
{code}


> Error when saving configuration of "org.apache.sling.engine.parameters" with an empty "file.location" parameter
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-4791
>                 URL: https://issues.apache.org/jira/browse/SLING-4791
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.3.10
>            Reporter: Geoffroy Schneck
>            Priority: Minor
>
> - Go to *http://localhost:4502/system/console/configMgr/org.apache.sling.engine.parameters*
> - Change *sling.default.max.parameters* to 10001
> - See in the logs :
> {code}
> 09.06.2015 19:02:11.577 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.sling.engine.parameters)] org.apache.sling.engine [org.apache.sling.engine.parameters(404)] The configure method has thrown an exception (java.lang.NullPointerException)
> java.lang.NullPointerException: null
> 	at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.getFileLocation(RequestParameterSupportConfigurer.java:132)
> 	at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.configure(RequestParameterSupportConfigurer.java:108)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> ....
> ....
> 09.06.2015 19:09:32.291 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.sling.engine.parameters)] org.apache.sling.engine [org.apache.sling.engine.parameters(404)] Failed creating the component instance; see log for reason
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)