You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/06/07 14:47:35 UTC
DO NOT REPLY [Bug 47042] two Page Settings Blocks found in the same
sheet
https://issues.apache.org/bugzilla/show_bug.cgi?id=47042
Stefan Dotti <st...@shark-soft.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|LATER |
--- Comment #3 from Stefan Dotti <st...@shark-soft.com> 2011-06-07 12:47:35 UTC ---
I am getting this error when opening an xls file on Windows (Windows 7).
On Linux/Unix everything work fine.
my Code:
InputStream in = new FileInputStream(xlsFile);
POIFSFileSystem fs = new POIFSFileSystem(in);
HSSFWorkbook wb = new HSSFWorkbook(fs);
The Exception:
java.lang.RuntimeException: java.lang.RuntimeException: two Page Settings
Blocks found in the same sheet
at com.shark.testing.model.TestCaseLoader.load(TestCaseLoader.java:48)
at
com.shark.testing.runtime.TestRunner.runFromSingleFile(TestRunner.java:108)
at
com.shark.lv1871.testing.xls.LV1871XlsTestRunnerStep.start(LV1871XlsTestRunnerStep.java:262)
at
com.shark.lv1871.testing.xls.LV1871XlsTestRunner.<init>(LV1871XlsTestRunner.java:135)
at
com.shark.lv1871.testing.xls.LV1871XlsTestRunner.main(LV1871XlsTestRunner.java:233)
Caused by: java.lang.RuntimeException: two Page Settings Blocks found in the
same sheet
at org.apache.poi.hssf.model.Sheet.<init>(Sheet.java:237)
at org.apache.poi.hssf.model.Sheet.createSheet(Sheet.java:160)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:287)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:201)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:183)
at com.shark.testing.utils.xls.XlsGridParser.parse(XlsGridParser.java:44)
at com.shark.testing.utils.xls.FileParser.parse(FileParser.java:26)
at com.shark.testing.model.TestCaseLoader.parse(TestCaseLoader.java:74)
at com.shark.testing.model.TestCaseLoader.load(TestCaseLoader.java:46)
... 4 more
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org