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

NPE in DefaultValidationFailure when resource bundle is null

    XMLWordPrintableJSON

Details

    Description

      Before:

      [...]
      2017-03-02 15:39:42,933 ERROR [127.0.0.1 [1488465582809] POST /validation/testing/fakeFolder1/resource HTTP/1.1] o.a.s.e.i.SlingRequestProcessorImpl [SlingRequestProcessorImpl.java : 225] service: Uncaught Throwable
      java.lang.NullPointerException: null
      	at org.apache.sling.validation.spi.DefaultValidationFailure.getMessage(DefaultValidationFailure.java:64)
      	at org.apache.sling.validation.testservices.internal.ValidationPostResponse.doSend(ValidationPostResponse.java:63)
      	at org.apache.sling.servlets.post.AbstractPostResponse.send(AbstractPostResponse.java:387)
      	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:226)
      [...]
      

      After:

      [...]
      2017-03-02 15:46:33,866 ERROR [127.0.0.1 [1488465993738] POST /validation/testing/fakeFolder1/resource HTTP/1.1] o.a.s.e.i.SlingRequestProcessorImpl [SlingRequestProcessorImpl.java : 225] service: Uncaught Throwable
      java.lang.NullPointerException: ResourceBundle must not be null
      	at org.apache.sling.validation.spi.DefaultValidationFailure.getMessage(DefaultValidationFailure.java:65)
      	at org.apache.sling.validation.testservices.internal.ValidationPostResponse.doSend(ValidationPostResponse.java:63)
      	at org.apache.sling.servlets.post.AbstractPostResponse.send(AbstractPostResponse.java:387)
      	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:226)
      [...]
      

      Attachments

        Activity

          People

            kwin Konrad Windszus
            olli Oliver Lietz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: