NullPointerException in OutlookExtractor on missing chunks
----------------------------------------------------------

                 Key: TIKA-587
                 URL: https://issues.apache.org/jira/browse/TIKA-587
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 0.8
            Reporter: Tom Klonikowski


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to