| plugin with POI [message #604229] |
Mon, 18 January 2010 06:14 |
Marco Messages: 4 Registered: January 2010 |
Junior Member |
|
|
running a plug-in project with POI API to read excel files my code stops executing after two lines already:
IFile file = ResourcesPlugin.getWorkspace().getRoot().getProject("Glossary_Analytics ").getFolder("excel").getFile("source.xls");
InputStream inp = file.getContents();
HSSFWorkbook wb = new HSSFWorkbook(inp);//causes an error
does anyone know a possible reason? POI is correctly installed and the file is also found in the file systems.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.01456 seconds