but, on the linux (server) can't export when call saveToStream
- Code: Select all
InputStream input = new URL("https://mydomain.com/Report/template.xls").openStream();
Workbook workbook = new Workbook();
workbook.loadFromStream(input);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
workbook.saveToStream(baos, FileFormat.PDF);
so, error exception is
"Index is less than 0 or more than or equal to the list count.
Parameter name: index
Actual value was 0."
By chance anyone of you have already experienced this issue?
Thanks in advance.