[
https://issues.apache.org/jira/browse/TIKA-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760348#action_12760348
]
MRIT64 commented on TIKA-290:
-----------------------------
Trace :
java -jar tika-app-0.4.jar test
.txt
Exception in thread "main" org.apache.tika.exception.TikaException: Unexpected R
untimeException from org.apache.tika.parser.txt.txtpar...@1ac1fe4
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:121
)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:1
05)
at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:116)
at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:57)
Caused by: java.lang.NullPointerException
at java.io.Reader.<init>(Unknown Source)
at java.io.BufferedReader.<init>(Unknown Source)
at java.io.BufferedReader.<init>(Unknown Source)
at org.apache.tika.parser.txt.TXTParser.parse(TXTParser.java:59)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:119
)
... 3 more
> org.apache.tika.exception.TikaException: Unexpected RuntimeException from
> org.apache.tika.parser.txt.txtpar...@6caf16
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: TIKA-290
> URL: https://issues.apache.org/jira/browse/TIKA-290
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 0.4
> Environment: Windows XP / jdk1.6.0_15
> Reporter: MRIT64
> Priority: Minor
>
> It's just for information (I am testing Tika).
> I am using tika-app-0.4.jar from the box.
> I get the run-time error below :
> org.apache.tika.exception.TikaException: Unexpected RuntimeException from
> org.apache.tika.parser.txt.txtpar...@6caf16
> with the ANSI text file containing :
> azerty
> 123456789012345 6789012345678901 2345678901234567890123456789
> 0123456789012345678901234567890123 456789012345678901234567890123456
> 789012345678901234567890123456789012345678901 2345678901234567890123456789
> 012345678901234567890123456 7890123456789012345
> 678901234567890123456789012345 6789012345678901234567890
> 1234567890123456789012 345678901234567890123456789012345
> 6789012345678901234567890123456789012345678901234
> 567890123456789012345678901234567890123456789012345678901234
> 56789012345678901234567890123456789012345678901234567890123456789012345
> 78901234567890123456789012345678901234 56789012345678901234567890TOOLONGTOKEN
> qwerty.
> It works well if this file is saved in UTF-8 or if I delete some lines in the
> ANSI file. I don't know why.
> Best regards
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.