[
https://issues.apache.org/jira/browse/SLING-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-4791.
-------------------------------------
Resolution: Duplicate
> 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}
> Workaround : set the file.location parameter to a non-empty path.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)