poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From link <marco.mar...@oneww.net>
Subject InvalidOperationException - POI cannot read temp file
Date Wed, 29 Dec 2010 16:21:45 GMT

hi all
i am trying to read an xlsx file using Apache POI 3.5

here is the code:

XSSFWorkbook workbook = new XSSFWorkbook(sourceFile.getAbsolutePath());
XSSFSheet sheet = workbook.getSheetAt(0);
XSSFRow rowW = sheet.getRow(2);
link@none.com
first line throws this:

org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open
the specified file: '/tmp/poifiles/poi-ooxml-1611734909.tmp'

POI creates that file and then cannot read it, what is wrong??

thanks in advance


-- 
View this message in context: http://apache-poi.1045710.n5.nabble.com/InvalidOperationException-POI-cannot-read-temp-file-tp3321481p3321481.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