Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3185

tika-parsers-integration-test fails on windows with File being used by another process.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      The build for tika-parsers-integration-test fails on Windows for both

      TestXXEInXML.testPOIOOXMLs

      TestXXEInXML.testXMLInZips

       

      The process cannot access the file because it is being used by another process.

       

      It appears this is because the input zip file is not explicitly closed in the following function.

       

      XMLTestBase.injectZippedXMLs

        Attachments

          Activity

            People

            • Assignee:
              bob Bob Paulin
              Reporter:
              bob Bob Paulin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: