Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4791

Error when saving configuration of "org.apache.sling.engine.parameters" with an empty "file.location" parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • Engine 2.3.10
    • None
    • Engine
    • None

    Description

      • Change sling.default.max.parameters to 10001
      • See in the logs :
      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
      

      Workaround : set the file.location parameter to a non-empty path.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gschneck Geoffroy Schneck
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: