Damjan Jovanovic created ODFTOOLKIT-401:
-------------------------------------------

             Summary: NullPointerException from typo hides all ZIP exceptions
                 Key: ODFTOOLKIT-401
                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-401
             Project: ODF Toolkit
          Issue Type: Bug
          Components: odfdom
            Reporter: Damjan Jovanovic


In SVN trunk, org.odftoolkit.odfdom.pkg.ZipHelpder.entriesToMap() has an 
exception handler that calls System.getProperty("Java.version") which will 
return null as it's supposed to be "java.version" (lowercase), and then 
compares it to "1.5.0" with equals(), and calling equals() on a null 
reproducibly generates an NPE.

This was already reported as one of the problems in ODFTOOLKIT-353 and still is 
not fixed.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to