org.apache.tika.exception.TikaException

Unexpected RuntimeException from org.apache.tika.parser.txt.TXTParser@ee73ea

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web68

  • via Unknown by Niall,
  • via Stack Overflow by The Learner
    ,
  • Stack trace

    • org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.txt.TXTParser@ee73ea at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:165) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:110) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:123) at org.apache.tika.parser.mail.MailContentHandler.body(RFC822Parser.java:135) at org.apache.james.mime4j.parser.MimeStreamParser.parse(MimeStreamParser.java:101) at org.apache.tika.parser.mail.RFC822Parser.parse(RFC822Parser.java:65) at com.digitalpebble.classification.example.TwentyNewsgroups.addDocument(TwentyNewsgroups.java:102) at com.digitalpebble.classification.example.TwentyNewsgroups.recursiveParsing(TwentyNewsgroups.java:90) at com.digitalpebble.classification.example.TwentyNewsgroups.recursiveParsing(TwentyNewsgroups.java:87) at com.digitalpebble.classification.example.TwentyNewsgroups.recursiveParsing(TwentyNewsgroups.java:87) at com.digitalpebble.classification.example.TwentyNewsgroups.<init>(TwentyNewsgroups.java:77) at com.digitalpebble.classification.example.TwentyNewsgroups.main(TwentyNewsgroups.java:157) Caused by: java.nio.charset.UnsupportedCharsetException: ascii_827 at java.nio.charset.Charset.forName(Unknown Source) at org.apache.tika.parser.txt.CharsetDetector.setCanonicalDeclaredEncoding(CharsetDetector.java:352) at org.apache.tika.parser.txt.CharsetDetector.setDeclaredEncoding(CharsetDetector.java:75) at org.apache.tika.parser.txt.TXTParser.parse(TXTParser.java:91) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:163) ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    MoYaproMoYapro
    Once,