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

Exception on parsing .docx file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.13
    • 1.14, 2.0.0
    • parser
    • None
    • Linux Centos 7

    Description

      Command: java -jar tika-app-1.13.jar input.docx
      Exception in thread "main" org.apache.tika.exception.TikaException: Error creating OOXML extractor
      at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:120)
      at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:87)
      at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
      at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
      at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
      at org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:191)
      at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:480)
      at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:145)
      Caused by: org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Invalid int value: 4294967295
      at org.apache.xmlbeans.impl.values.JavaIntHolder.set_text(JavaIntHolder.java:43)
      at org.apache.xmlbeans.impl.values.XmlObjectBase.update_from_wscanon_text(XmlObjectBase.java:1180)
      at org.apache.xmlbeans.impl.values.XmlObjectBase.check_dated(XmlObjectBase.java:1319)
      at org.apache.xmlbeans.impl.values.JavaIntHolder.getIntValue(JavaIntHolder.java:53)
      at org.openxmlformats.schemas.officeDocument.x2006.extendedProperties.impl.CTPropertiesImpl.getTotalTime(Unknown Source)
      at org.apache.tika.parser.microsoft.ooxml.MetadataExtractor.extractMetadata(MetadataExtractor.java:124)
      at org.apache.tika.parser.microsoft.ooxml.MetadataExtractor.extract(MetadataExtractor.java:62)
      at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:109)

      Attachments

        Activity

          People

            Unassigned Unassigned
            siturra Sebastian Iturra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: