org.apache.tika.exception.TikaException

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

Solutions on the web142

  • via Google Groups by Niall, 6 months ago
    Unexpected RuntimeException from org.apache.tika.parser.txt.TXTParser@ee73ea
  • via Apache Bugzilla by tim.barrett, 1 year ago
    Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@4c5cc942
  • via Apache Bugzilla by ushi+apache, 1 year ago
    Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@2443906f
  • 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 user
    Once, 2 years ago
    Unknown user
    Once, 4 months ago
    Once, 9 months ago