Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2676

After switching to TIKA 1.18 from 1.17 started to get exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • CentOS 7 running on Amazon EC2 I3.Xlarge. With JAVA 8 update 60.

    Description

      I recently switched from TIKA 1.17 to TIKA 1.18 (I'm using tika to parse emails).

      And I started to get exceptions in :

      IllegalArgumentException: failed to parse:
       at java.lang.IllegalArgumentException: failed to parse:
       at java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:435)
       at javax.activation.ActivationDataFlavor.<init>(ActivationDataFlavor.java:81)

      I'm using AutoDetectParser.

      The DataFlavor constructor throws an exception when it catches MimeTypeParseException during initialization when can't recognize MIME type and indeed mimeType that printed in the log is something not printable.

      This started to happen in the production environment , when I'm tried to reproduce it in my workstation it was not reproducible, switched back to TIKA 1.17 solved the issue. 

       

      Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            slavago Slava G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: