You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/08/14 18:56:35 UTC

[Bug 62624] New: Regression in VBAMacroreader in 4.0.0-SNAPSHOT NPE in readProjectcProperties

https://bz.apache.org/bugzilla/show_bug.cgi?id=62624

            Bug ID: 62624
           Summary: Regression in VBAMacroreader in 4.0.0-SNAPSHOT NPE in
                    readProjectcProperties
           Product: POI
           Version: 4.0-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: tallison@mitre.org
  Target Milestone: ---

Created attachment 36091
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36091&action=edit
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;

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62624] Regression in VBAMacroreader in 4.0.0-SNAPSHOT NPE in readProjectcProperties

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62624

Tim Allison <ta...@mitre.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Tim Allison <ta...@mitre.org> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62624] Regression in VBAMacroreader in 4.0.0-SNAPSHOT NPE in readProjectcProperties

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62624

Tim Allison <ta...@mitre.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Tim Allison <ta...@mitre.org> ---
r1845138

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org