tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Dubois (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-1029) Parser exception with the attached document
Date Fri, 23 Nov 2012 08:52:58 GMT
Philippe Dubois created TIKA-1029:
-------------------------------------

             Summary: Parser exception with the attached document
                 Key: TIKA-1029
                 URL: https://issues.apache.org/jira/browse/TIKA-1029
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.2
         Environment: Linux, JDK 1.7
            Reporter: Philippe Dubois


Exception when issuing following command with the attached document:
java -jar tika-app-1.2.jar <TRA-MAIL-EN-ARRET-F-0001-2011-201100038-01M01 (2).doc
bash: syntax error near unexpected token `('
philippe@philippe-Latitude-E6530:~/curia/Document-non-indexe$ java -jar tika-app-1.2.jar <"TRA-MAIL-EN-ARRET-F-0001-2011-201100038-01M01
(2).doc"
Exception in thread "main" org.apache.tika.exception.TikaException: Unexpected RuntimeException
from org.apache.tika.parser.microsoft.OfficeParser@1883c235
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244)
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
	at org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:138)
	at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:399)
	at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:121)
Caused by: java.lang.ArrayIndexOutOfBoundsException
	at java.lang.System.arraycopy(Native Method)
	at org.apache.poi.util.LittleEndian.getByteArray(LittleEndian.java:72)
	at org.apache.poi.hpsf.UnicodeString.<init>(UnicodeString.java:44)
	at org.apache.poi.hpsf.TypedPropertyValue.readValue(TypedPropertyValue.java:162)
	at org.apache.poi.hpsf.Vector.read(Vector.java:74)
	at org.apache.poi.hpsf.TypedPropertyValue.readValue(TypedPropertyValue.java:218)
	at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:163)
	at org.apache.poi.hpsf.Property.<init>(Property.java:164)
	at org.apache.poi.hpsf.Section.<init>(Section.java:277)
	at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:451)
	at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:246)
	at org.apache.tika.parser.microsoft.SummaryExtractor.parseSummaryEntryIfExists(SummaryExtractor.java:78)
	at org.apache.tika.parser.microsoft.SummaryExtractor.parseSummaries(SummaryExtractor.java:69)
	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:170)
	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:161)
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
	... 5 more


--
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

Mime
View raw message