tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Klonikowski (JIRA)" <j...@apache.org>
Subject [jira] Created: (TIKA-587) NullPointerException in OutlookExtractor on missing chunks
Date Tue, 18 Jan 2011 16:18:45 GMT
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.


Mime
View raw message