Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-198

Some threads hang if openning a document with multiple threads

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • odfdom-0.8.6
    • None
    • java
    • None
    • Operating System: Windows
      Platform: PC
    • 339

    Description

      If a document is openning with ODFDOM by multiple threads, some threads hang. By looking into the stack, the problem is caused by HashMap used in concurrent environment.

      So we need to change the type of static variables from HashMap to Hashtable. One place I found is some variables definition in OdfXMLFactory. There might be other places which should be changed.

      Patches will be uploaded later.

      Regards
      Daisy

      Attachments

        Activity

          People

            issues@odfdom.odftoolkit.org issues
            daisy@odftoolkit.org Ying Chun Guo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: