Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » plugin with POI
plugin with POI [message #508304] Mon, 18 January 2010 11:14
Marco  is currently offline Marco Friend
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.


[Updated on: Wed, 20 January 2010 10:14]

Report message to a moderator

Previous Topic:API Tools - No warnings/errors when changing API
Next Topic:Error highlighting without Markers
Goto Forum:

Current Time: Fri Feb 23 20:58:36 GMT 2018

Powered by FUDForum. Page generated in 0.01541 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software