poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From satcal <kotla.sa...@gmail.com>
Subject Re: [Bug 53819] New: Can't read xlsx files with error
Date Wed, 12 Sep 2012 20:57:25 GMT
Am tryng to read a file which is created in Windows using POI, am getting
below error. The same code works for the files that I create in mac os env.
I am able to open the file and view it.
Any clues why am i getting below error.

Caused by: java.lang.NullPointerException
	at
org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkbook.java:253)
	at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159)
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:183)
	at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:73)
	at com.fb.service.util.XLSXReader.<init>(XLSXReader.java:40)
	at
com.fb.service.impl.EVTransactionDataFileGenerator.getSourceXLSXFileContent(EVTransactionDataFileGenerator.java:185)
	at
com.fb.service.impl.EVTransactionDataFileGenerator.getSourceFileContentAsBeans(EVTransactionDataFileGenerator.java:67)




--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Bug-53819-New-Can-t-read-xlsx-files-with-error-tp5710844p5710915.html
Sent from the POI - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message