NPE when realPath can't be obtained.
------------------------------------

                 Key: MAGNOLIA-1974
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1974
             Project: Magnolia
          Issue Type: Improvement
          Components: core
    Affects Versions: 3.5.2
            Reporter: Jan Haderka
         Assigned To: Jan Haderka
             Fix For: 3.5.3


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to