Summary: | Regression in VBAMacroreader in 4.0.0-SNAPSHOT NPE in readProjectcProperties | ||
---|---|---|---|
Product: | POI | Reporter: | Tim Allison <tallison> |
Component: | POI Overall | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 4.0.x-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | triggering document |
We need to add code to read name mappings from the PROJECTwm stream. 2.2.8 PROJECTwm Stream and 2.3.3 PROJECTwm Stream Will commit fix once integration tests pass. |
Created attachment 36091 [details] triggering document Minor regression in Macro reader java.lang.NullPointerException at org.apache.poi.poifs.macros.VBAMacroReader.readProjectProperties(VBAMacroReader.java:606) at org.apache.poi.poifs.macros.VBAMacroReader.findProjectProperties(VBAMacroReader.java:335) at org.apache.poi.poifs.macros.VBAMacroReader.readMacroModules(VBAMacroReader.java:115) at org.apache.poi.poifs.macros.VBAMacroReader.readMacros(VBAMacroReader.java:133) at org.apache.tika.parser.microsoft.OfficeParser.extractMacros(OfficeParser.java:323) In this one file 'module' is null at this point: module = (VBAMacroReader.ModuleImpl)modules.get(tokens[1]); module.moduleType = ModuleType.Module;