tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seva Alekseyev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-2197) TikaException from invalid URL in an Excel document
Date Tue, 13 Dec 2016 17:32:58 GMT
Seva Alekseyev created TIKA-2197:
------------------------------------

             Summary: TikaException from invalid URL in an Excel document
                 Key: TIKA-2197
                 URL: https://issues.apache.org/jira/browse/TIKA-2197
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.14
         Environment: Windows 7 x64, JVM 1.8.0_101
            Reporter: Seva Alekseyev
         Attachments: Neut_paratope_updated_0813_naming_formattable.xlsx

The attached document, which open fine in Excel (if slowly), causes the following error in
the Tika parser:

org.apache.tika.exception.TikaException: Error creating OOXML extractor
	at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse:120
	at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse:87
Caused by: java.lang.IllegalArgumentException: targetUri invalid - http://invalid.uri
	at org.apache.poi.openxml4j.opc.PackagingURIHelper.resolvePartUri:427
	at org.apache.poi.openxml4j.opc.PackageRelationship.getTargetURI:206
	at org.apache.tika.parser.microsoft.ooxml.XSSFExcelExtractorDecorator.addDrawingHyperLinks:182
	at org.apache.tika.parser.microsoft.ooxml.XSSFExcelExtractorDecorator.buildXHTML:134
	at org.apache.tika.parser.microsoft.ooxml.AbstractOOXMLExtractor.getXHTML:112
	at org.apache.tika.parser.microsoft.ooxml.XSSFExcelExtractorDecorator.getXHTML:105
	at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse:112
	at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse:87
	at gov.nih.niaid.fscanner.Extract.ExtractContents:69



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message