https://issues.apache.org/bugzilla/show_bug.cgi?id=50244
--- Comment #6 from Dirk Schoenberger <[email protected]> 2010-11-12 10:47:47 EST --- I send the tail of a BiffViewer run. The mentioned record is the problematic part. If I remove this name the document loads fine without changes to POI ........... Offset=0x00004F70(20336) recno=609 sid=0x0018 size=0x0024(36) [NAME] .option flags = 0x0000 .keyboard shortcut = 0x00 .length of the name = 14 .extSheetIx(1-based, 0=Global)= 0 .sheetTabIx = 3 .Menu text length = 0 .Description text length= 0 .Help topic text length = 0 .Status bar text length = 0 .NameIsMultibyte = false .Name (Unicode text) = wCompareValue. .Formula (nTokens=1): org.apache.poi.hssf.record.formula.Ref3DPtg [sheetIx=10 ! $F$1006]R .Menu text = .Description text= .Help topic text = .Status bar text = [/NAME] Offset=0x00004F98(20376) recno=610 sid=0x0018 size=0x18A2(6306) [NAME] .option flags = 0x0000 .keyboard shortcut = 0x00 .length of the name = 16 .extSheetIx(1-based, 0=Global)= 0 .sheetTabIx = 3 .Menu text length = 0 .Description text length= 0 .Help topic text length = 0 .Status bar text length = 0 .NameIsMultibyte = false .Name (Unicode text) = wDataDatenSerie. .Formula (nTokens=1): [ArrayPtg] nRows = 696 nCols = 1 {97.65625;101.875;97.1875000000001;102.8125;96.71875;99.0625;102.34375;101.40625;98.59375;98.125;100;97.65625;97.65625;97.65625;99.5312500000001;99.0625;97.1875000000001;99.0625;98.125;98.59375;101.875;98.59375;99.0625;100.46875;101.40625;98.125;100;100.46875;100.9375;99.5312500000001;100;100.9375;99.5312500000001;102.34375;101.40625;100;99.0625;100;96.71875;100;97.1875000000001;98.125;99.5312500000001;102.34375;98.125;98.125;100.9375;100.46875;101.875;98.59375;99.5312500000001;100;100;99.5312500000001;101.40625;101.875;100.46875;100.46875;100;99.5312500000001;101.875;101.875;100;100.46875;100;100.46875;102.8125;100.46875;100.9375;101.40625;100.9375;100.9375;101.875;101.40625;102.34375;104.21875;101.40625;99.0625;100.9375;103.28125;99.0625;100;103.28125;98.59375;99.5312500000001;100.9375;100;100.9375;97.65625;97.1875000000001;98.125;101.875;99.0625;101.40625;104.21875;97.65625;101.875;102.34375;100.46875;100.46875;104.6875;99.5312500000001;100.9375;100.46875;100.9375;101.406! 25;102.8125;104.6875;102.34375;102.34375;102.8125;98.59375;104.21875;100;101.875;104.21875;102.34375;101.40625;102.34375;100.9375;100.9375;104.21875;99.0625;101.40625;100.9375;101.40625;101.40625;103.75;100;102.8125;100;100.9375;102.8125;100;102.34375;98.59375;98.125;96.71875;100;99.0625;97.1875000000001;98.125;98.59375;99.5312500000001;97.1875000000001;99.5312500000001;98.125;97.65625;99.5312500000001;96.25;101.40625;99.0625;100;99.0625;101.40625;99.5312500000001;100;96.25;99.5312500000001;100;100;97.65625;98.125;99.0625;98.125;100;97.1875000000001;98.125;99.0625;100;98.125;100;100.46875;99.5312500000001;100.46875;97.65625;98.125;100;100.46875;99.0625;97.1874999999999;97.65625;101.40625;95.8437499999999;100;99.0624999999999;98.1249999999999;100.46875;96.7187499999999;100;97.65625;99.0624999999999;99.0624999999999;100;98.5937499999999;96.7187499999999;98.5937499999999;99.5312499999999;99.5312499999999;99.5312499999999;96.7187499999999;100.9375;100.9375;96.7187499999999;99.5! 312499999999;98.1249999999999;97.1874999999999;100;99.53124999! 99999;10 1.40625;97.1874999999999;100;100;97.1874999999999;99.0624999999999;95.4374999999999;99.0624999999999;97.65625;99.0624999999999;95.8437499999999;99.5312499999999;96.2499999999999;97.1874999999999;97.65625;96.2499999999999;100.46875;102.8125;100;100.46875;100.46875;100.9375;99.0624999999999;99.0624999999999;99.0624999999999;101.40625;102.8125;99.0624999999999;98.5937499999999;104.6875;101.875;99.5312499999999;99.5312499999999;98.1249999999999;103.28125;100.9375;99.5312499999999;103.75;100.9375;101.875;102.8125;101.875;101.40625;102.34375;101.40625;100;98.5937499999999;100.9375;103.28125;101.40625;103.28125;98.5937499999999;100.46875;99.0624999999999;100.9375;100.9375;102.8125;100;100.9375;100;99.0624999999999;100.46875;103.28125;100.9375;100.46875;101.40625;100;101.875;99.5312499999999;101.40625;100.46875;102.34375;102.34375;99.5312499999999;102.8125;100.46875;101.875;101.40625;100.9375;102.34375;101.40625;100.46875;100.46875;102.8125;103.28125;99.5312499999999;98.593749999999! 9;100;102.34375;102.8125;100.9375;100;100.9375;100;100;102.8125;98.1249999999999;101.875;103.28125;101.875;99.5312499999999;102.8125;99.0624999999999;99.0624999999999;99.0624999999999;97.65625;99.0624999999999;99.0624999999999;99.5312499999999;99.0624999999999;101.875;99.0624999999999;99.0624999999999;100.46875;100.46875;99.0624999999999;100;100.9375;99.5312499999999;99.0624999999999;97.65625;97.1874999999999;97.1874999999999;97.1874999999999;98.5937499999999;100;99.0624999999999;98.1249999999999;100.9375;101.875;100.9375;99.5312499999999;99.5312499999999;100.9375;100.46875;100;96.7187499999999;101.40625;98.5937499999999;99.5312499999999;96.7187499999999;100;100.46875;99.0624999999999;100;96.78125;100.9375;100;98.5937500000001;98.5937500000001;99.53125;101.875;98.125;100.46875;98.125;100.9375;100;99.0625;98.5937500000001;97.65625;98.125;100.46875;97.65625;99.53125;100;97.1875;99.53125;100;97.65625;100.9375;101.875;99.0625;98.125;99.53125;100.46875;98.5937500000001;98.125;97! .65625;99.53125;98.125;97.65625;100;98.125;98.5937500000001;99! .53125;9 8.5937500000001;98.125;100.46875;99.0625;98.5937500000001;99.53125;100;100.46875;102.8125;99.53125;98.125;101.875;100.46875;99.53125;100.46875;104.6875;103.75;100.9375;100.9375;100.46875;103.28125;102.34375;101.40625;100.46875;102.34375;100.9375;100;97.1875;97.65625;101.875;100.46875;100.9375;100;99.53125;100.9375;99.53125;98.5937500000001;100.46875;101.875;101.40625;100.46875;96.78125;103.75;101.40625;101.40625;100.9375;101.40625;102.34375;100;100.9375;101.40625;103.75;100.46875;102.34375;101.875;101.875;101.875;103.28125;107.96875;103.75;102.34375;99.53125;104.21875;100;101.40625;102.34375;106.09375;100;103.75;103.28125;102.34375;104.6875;100;102.34375;100.9375;104.6875;104.21875;100.9375;102.8125;101.40625;100.9375;100.9375;100.46875;103.28125;100;99.53125;100;103.28125;100.9375;100;98.5937500000001;100;101.40625;101.875;102.8125;97.65625;98.5937500000001;101.875;97.65625;100.9375;100.46875;100;100;98.5937500000001;96.375;97.1875;98.125;97.65625;98.125;96.78125;97.65625;9! 8.5937500000001;99.53125;97.65625;97.65625;98.125;95.15625;98.125;98.5937500000001;96.375;99.0625;96.78125;97.65625;100.9375;100;99.0625;98.5937500000001;96.78125;99.53125;99.0625;97.65625;106.09375;99.125;97.5;97.5;100;95.46875;100;100;99.53125;97.90625;97.90625;96.6875;99.125;97.90625;95.46875;99.53125;98.71875;97.09375;97.5;98.71875;98.71875;100;97.09375;98.71875;102.34375;97.90625;101.875;96.28125;97.5;96.6875;96.28125;97.5;93.84375;98.3125;97.09375;94.65625;97.5;95.0625;95.875;93.84375;97.90625;95.875;97.90625;97.5;96.28125;95.875;100.46875;97.90625;98.71875;97.90625;98.71875;101.875;98.71875;98.71875;98.3125;99.125;98.3125;98.3125;99.53125;97.90625;100.9375;100;98.3125;102.34375;100.9375;101.875;100;99.53125;97.90625;103.28125;103.28125;100.9375;99.53125;102.8125;100.9375;99.125;101.40625;100;99.125;100.9375;101.875;96.6875;100;100.9375;99.53125;101.40625;98.3125;100.46875;98.71875;97.5;100;101.40625;98.71875;100;100.46875;100;101.40625;98.3125;99.53125;100;100;100;10! 0.9375;102.8125;99.125;101.40625;99.125;99.53125;100;104.21875! ;102.343 75;100.46875;100.9375;101.875;101.40625;100;100;102.34375;102.34375;99.125;101.40625;100;100.46875;102.34375;101.40625;99.53125;100.9375;101.875;99.53125;99.125;101.40625;101.40625;99.53125;102.8125;99.125;101.875;101.875;100;99.125;99.125;101.40625;103.28125;101.875;99.125;102.8125;102.34375;98.3125;100.46875;101.875;101.875;104.21875;100.46875;101.875;97.09375;101.875;101.40625;99.125;100;101.40625;97.5;101.40625;102.34375;101.875;102.8125;98.71875;100.9375;99.53125;101.40625;100.9375;104.21875;101.40625}A .Menu text = .Description text= .Help topic text = .Status bar text = [/NAME] Offset=0x0000683E(26686) recno=611 sid=0x0018 size=0x1E21(7713) java.lang.RuntimeException: Buffer overrun at org.apache.poi.util.LittleEndianByteArrayInputStream.checkPosition(LittleEndianByteArrayInputStream.java:47) at org.apache.poi.util.LittleEndianByteArrayInputStream.readByte(LittleEndianByteArrayInputStream.java:55) at org.apache.poi.hssf.record.constant.ConstantValueParser.readAConstantValue(ConstantValueParser.java:58) at org.apache.poi.hssf.record.constant.ConstantValueParser.parse(ConstantValueParser.java:52) at org.apache.poi.hssf.record.formula.ArrayPtg$Initial.finishReading(ArrayPtg.java:261) at org.apache.poi.hssf.record.formula.Ptg.readTokens(Ptg.java:70) at org.apache.poi.ss.formula.Formula.getTokens(Formula.java:85) at org.apache.poi.hssf.record.NameRecord.toString(NameRecord.java:540) at org.apache.poi.hssf.dev.BiffViewer.createRecords(BiffViewer.java:97) at org.apache.poi.hssf.dev.BiffViewer.main(BiffViewer.java:416) at com.arlanis.exceltest.Main.main(Main.java:32) -- 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]
