dhatim / fastexcel

Generate and read big Excel files quickly
Other
684 stars 122 forks source link

NullPointer on import of the empty excel file #151

Closed PetarPilipovic closed 3 years ago

PetarPilipovic commented 3 years ago

Hi,

when trying to import completely new excel file (just created and without any data within) I am getting NPE on

org.dhatim.fastexcel.reader.OPCPackage.getEntryContent(String) on the line 97

On debug, I could see that sharedStrings on parts is null

image

I am using the latest (0.12.3) version.

ochedru commented 3 years ago

Should be fixed by https://github.com/dhatim/fastexcel/pull/147: please try version 0.12.5.