Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1974

NPE when realPath can't be obtained.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.5.3
    • 3.5.2
    • core
    • None

    Description

      Currently when servletContext.getRealPath() returns null, NPE is thrown by magnolia at later stage. According to the Servlet spec 2.4 method is allowed to return null when real path can't be obtained, therefore magnolia should fail gracefully explaining the error rather then with NPE.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              had Jan Haderka
              had Jan Haderka
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD