poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24088] - Fail to open the file
Date Fri, 24 Oct 2003 08:34:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24088>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24088

Fail to open the file





------- Additional Comments From w_ambrose@hotmail.com  2003-10-24 08:34 -------
POIFSFileSystem fs      =
					new POIFSFileSystem(new FileInputStream
("C:\\Projects\\KPM\\POI Test\\xls\\report_card.xls"));
	
			HSSFWorkbook wb = new HSSFWorkbook(fs);

java.lang.NegativeArraySizeException
	at org.apache.poi.hssf.record.SSTDeserializer.readStringRemainder
(SSTDeserializer.java:335)
	at org.apache.poi.hssf.record.SSTDeserializer.processContinueRecord
(SSTDeserializer.java:320)
	at org.apache.poi.hssf.record.SSTRecord.processContinueRecord
(SSTRecord.java:539)
	at org.apache.poi.hssf.record.RecordFactory.createRecords
(RecordFactory.java:216)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
(HSSFWorkbook.java:181)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
(HSSFWorkbook.java:153)
	at TestReadWriteSample.main(TestReadWriteSample.java:28)

The SSTDeserializer's status before the error happened
charCount=122
coninuationExpectedChars=-12
extendedText=true
extensionLength=16
richText=true
runCount=2
unfinishedString="........year:Y   m     \f "
wideChar=true

record=byte[2452]
stringRemainderSizeInBytes=-24

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message