org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.rtf.RTFParser@47f4e407

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • RTF exception
    via by Andrea Asta,
  • RTF exception
    via by Andrea Asta,
  • When converting a RTF document with a default new Tika().parseToString(inputStream, new Metadata()) I get an exception: org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.rtf.RTFParser@47f4e407 at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:282) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) at org.apache.tika.Tika.parseToString(Tika.java:496) at com.expertsystem.experiments.tika.tika_test_dtra.App.main(App.java:48) Caused by: org.apache.tika.metadata.PropertyTypeException: meta:page-count : SIMPLE at org.apache.tika.metadata.Metadata.add(Metadata.java:337) at org.apache.tika.parser.rtf.TextExtractor.processControlWord(TextExtractor.java:830) at org.apache.tika.parser.rtf.TextExtractor.parseControlWord(TextExtractor.java:562) at org.apache.tika.parser.rtf.TextExtractor.parseControlToken(TextExtractor.java:488) at org.apache.tika.parser.rtf.TextExtractor.extract(TextExtractor.java:450) at org.apache.tika.parser.rtf.TextExtractor.extract(TextExtractor.java:439) at org.apache.tika.parser.rtf.RTFParser.parse(RTFParser.java:86) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) ... 4 more This doesn't happen if I don't pass the metadata parameter. As an example: https://www.google.it/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0ahUKEwjI0_q87NvKAhWIpA4KHdDKAHkQFggzMAM&url=http%3A%2F%2Fidkf.bogor.net%2Fidkf-wireless%2Faplikasi%2Fhukum%2FLEGAL%2520ASPECTS%2520OF%2520SOFTWARE%2520DEVELOPMENT%2520AGREEMENT.rtf&usg=AFQjCNGiyWmdH7NECJoso189tgDbIN5D9g&sig2=kn8qEb2m_ft35-h5Ni7Vgg&bvm=bv.113034660,d.ZWU
    via by Andrea,
    • org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.rtf.RTFParser@47f4e407 at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:282) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) at org.apache.tika.Tika.parseToString(Tika.java:496) at com.expertsystem.experiments.tika.tika_test_dtra.App.main(App.java:48) Caused by: org.apache.tika.metadata.PropertyTypeException: meta:page-count : SIMPLE at org.apache.tika.metadata.Metadata.add(Metadata.java:337) at org.apache.tika.parser.rtf.TextExtractor.processControlWord(TextExtractor.java:830) at org.apache.tika.parser.rtf.TextExtractor.parseControlWord(TextExtractor.java:562) at org.apache.tika.parser.rtf.TextExtractor.parseControlToken(TextExtractor.java:488) at org.apache.tika.parser.rtf.TextExtractor.extract(TextExtractor.java:450) at org.apache.tika.parser.rtf.TextExtractor.extract(TextExtractor.java:439) at org.apache.tika.parser.rtf.RTFParser.parse(RTFParser.java:86) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) ... 4 more

    Users with the same issue

    Unknown visitor1 times, last one,