[ 
https://issues.apache.org/jira/browse/TIKA-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting resolved TIKA-587.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9
         Assignee: Jukka Zitting

Good point, thanks! Fixed in revision 1060794.

> 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
>            Assignee: Jukka Zitting
>             Fix For: 0.9
>
>
> 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