poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59858] New: NullPointerException thrown by VBAMacroReader
Date Thu, 14 Jul 2016 15:23:56 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59858

            Bug ID: 59858
           Summary: NullPointerException thrown by VBAMacroReader
           Product: POI
           Version: 3.15-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POIFS
          Assignee: dev@poi.apache.org
          Reporter: brooke@usinternet.com

I am getting a NullPointerException when trying to extract the macro VBA from a
particular Excel file.

I am using org.apache.poi.poifs.macros.VBAMacroReader

The following code consistently reproduces the NullPointerException:

File file = new File("npe_example.xls");
VBAMacroReader reader = new VBAMacroReader(file);
Map<String, String> macros = reader.readMacros();

I have attached the file which causes the error.

-- 
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


Mime
View raw message