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

NullPointerException in OutlookExtractor on missing chunks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.9
    • parser
    • None

    Description

      java.lang.NullPointerException
      at org.apache.tika.parser.microsoft.OutlookExtractor.header(OutlookExtractor.java:150)

      String value might be null - see line 51: msg.setReturnNullOnMissingChunk(true);

      In my case, the message is missing the "from" chunk.

      Possible fixes include assigning a default value "" for relevant chunks, if missing or a simple check for null in the header-method.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            klonik_t Tom Klonikowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: