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

NPE when realPath can't be obtained.

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: