[ https://issues.apache.org/jira/browse/ODFTOOLKIT-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Hopf updated ODFTOOLKIT-201: ------------------------------------ Fix Version/s: (was: odfdom-0.8.7) > HashMap leads to endless loop in OdfXMLFactory. > ----------------------------------------------- > > Key: ODFTOOLKIT-201 > URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-201 > Project: ODF Toolkit > Issue Type: Bug > Components: java > Affects Versions: odfdom-0.8.7 > Environment: Operating System: Windows > Platform: PC > Reporter: devin > Assignee: issues > > Load two documents concurrently may run into endless loops again and again. The reason seems to be a corruption of the HashMap mElementTypes in the Class OdfXMLFactory, which causes the call classCache.get(odfName) to infinitely loop within line 303 of HashMap. > We will consider using ConcurrentHashMap to replace HashMap if necessary. > BTW: setOdfElementClass and setOdfAttributeClass are not used. I think we need to improve it. > Thanks Colin discovered and reported this bug. > Devin -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira