[
https://issues.apache.org/jira/browse/ODFTOOLKIT-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Svante Schubert resolved ODFTOOLKIT-401.
----------------------------------------
Resolution: Fixed
resolved for upcoming release
> 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
> Assignee: Svante Schubert
> Fix For: 0.6.2-incubating
>
> Attachments: ziphelper-npe.patch
>
>
> 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.15#6346)