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

tika-user | Andrea Asta | 10 months ago
  1. 0

    RTF exception

    tika-user | 10 months ago | Andrea Asta
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.rtf.RTFParser@47f4e407
  2. 0

    RTF exception

    tika-user | 10 months ago | Andrea Asta
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.rtf.RTFParser@47f4e407
  3. 0

    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

    Apache's JIRA Issue Tracker | 10 months ago | Andrea
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.rtf.RTFParser@47f4e407
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    general - RTF exception - msg#04159 - Recent Discussion OSDir.com

    osdir.com | 8 months ago
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.rtf.RTFParser@47f4e407
  6. 0

    general - Re: RTF exception - msg#04170 - Recent Discussion OSDir.com

    osdir.com | 8 months ago
    org.apache.tika.metadata.PropertyTypeException: meta:page-count : SIMPLE

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.tika.metadata.PropertyTypeException

      meta:page-count : SIMPLE

      at org.apache.tika.metadata.Metadata.add()
    2. Apache Tika core
      Metadata.add
      1. org.apache.tika.metadata.Metadata.add(Metadata.java:337)
      1 frame
    3. Apache Tika parsers
      RTFParser.parse
      1. org.apache.tika.parser.rtf.TextExtractor.processControlWord(TextExtractor.java:830)
      2. org.apache.tika.parser.rtf.TextExtractor.parseControlWord(TextExtractor.java:562)
      3. org.apache.tika.parser.rtf.TextExtractor.parseControlToken(TextExtractor.java:488)
      4. org.apache.tika.parser.rtf.TextExtractor.extract(TextExtractor.java:450)
      5. org.apache.tika.parser.rtf.TextExtractor.extract(TextExtractor.java:439)
      6. org.apache.tika.parser.rtf.RTFParser.parse(RTFParser.java:86)
      6 frames
    4. Apache Tika core
      Tika.parseToString
      1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
      2. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
      3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
      4. org.apache.tika.Tika.parseToString(Tika.java:496)
      4 frames
    5. com.expertsystem.experiments
      App.main
      1. com.expertsystem.experiments.tika.tika_test_dtra.App.main(App.java:48)
      1 frame