On Wed, 29 Dec 2010, link wrote:
here is the code:

XSSFWorkbook workbook = new XSSFWorkbook(sourceFile.getAbsolutePath());
XSSFSheet sheet = workbook.getSheetAt(0);
XSSFRow rowW = sheet.getRow(2);

first line throws this:

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

Are you on windows? Windows generally wants you to close a file before you can re-open it.

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to