https://issues.apache.org/bugzilla/show_bug.cgi?id=47042
--- Comment #6 from Stefan Dotti <[email protected]> 2011-06-08 06:53:18 UTC --- ups. we got a power failure - so i reposted my last comment accendently. i tried it with the current 3.8 beta release and nothing changed. (In reply to comment #5) > 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]
