poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <apa...@gagravarr.org>
Subject Re: NPE on OPCPackage
Date Mon, 11 May 2015 10:58:40 GMT
On Mon, 11 May 2015, João Miguel Penetra wrote:
> I have a web site where users can upload CSV and XLSX files and I use
> Apache-POI to parse XLSX files. However, I discovered something unusual.
> When I convert a CSV file to XLSX on Excel 2013 I get a NPE while
> initializing XSSFReader:
>
> java.lang.NullPointerException
> at org.apache.poi.openxml4j.opc.OPCPackage.getPart(OPCPackage.java:625)
> at org.apache.poi.xssf.eventusermodel.XSSFReader.<init>(XSSFReader.java:67)

That's an odd one. Any chance you could raise a new bug for this in 
bugzilla - http://issues.apache.org/bugzilla/buglist.cgi?product=POI - and 
upload the excel file that triggers it?

Nick

Mime
View raw message