https://bz.apache.org/bugzilla/show_bug.cgi?id=59786
--- Comment #1 from Sebb <[email protected]> --- The following patch works for me (against the REL_3_15_BETA2 tag) ### Eclipse Workspace Patch 1.0 #P ApachePOI Index: src/scratchpad/src/org/apache/poi/hmef/extractor/HMEFContentsExtractor.java =================================================================== --- src/scratchpad/src/org/apache/poi/hmef/extractor/HMEFContentsExtractor.java (revision 1751146) +++ src/scratchpad/src/org/apache/poi/hmef/extractor/HMEFContentsExtractor.java (working copy) @@ -75,7 +75,9 @@ try { MAPIRtfAttribute body = (MAPIRtfAttribute) message.getMessageMAPIAttribute(MAPIProperty.RTF_COMPRESSED); - fout.write(body.getData()); + if (body != null) { + fout.write(body.getData()); + } } finally { fout.close(); } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
