https://issues.apache.org/bugzilla/show_bug.cgi?id=47042
Stefan Dotti <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #5 from Stefan Dotti <[email protected]> 2011-06-08 06:51:20 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: [email protected] For additional commands, e-mail: [email protected]
