Bug 22246 - Sheet selection
Summary: Sheet selection
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-pre3
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 12:49 UTC by DUPREZ
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DUPREZ 2003-08-08 12:49:40 UTC
When I execute the following code, on a workbook already existing and having 12 
sheets :
HSSFSheet sheet = wb.getSheetAt(6);
sheet.setSelected(true);

I get the following error message during execution :
java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFSheet.setSelected
(Z)V
	at Traitement.<init>(Traitement.java:125)...

However, I put a boolean as argument. It does not work either with false as 
argument (same error message).

Sincerely,

Cedric DUPREZ
Comment 1 Andy Oliver 2003-08-08 12:57:29 UTC
you've got old stuff in your classpath.
Comment 2 DUPREZ 2003-08-08 14:04:38 UTC
I don't think I have classpath problem. In fact, I use Eclipse as development 
environment, and it manages classpath alone. I don't have to define a classpath 
variable.
All classes are found correctly (compilation and execution).

Cedric DUPREZ
Comment 3 DUPREZ 2003-08-11 06:04:01 UTC
I apologize, there was no problem. That was really a bad classpath on execution 
in Eclipse.
Soory, and thank you for your help,

Cedric DUPREZ
Comment 4 Andy Oliver 2003-08-11 12:25:30 UTC
classpath issue