poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avik.sengu...@itellix.com
Subject Re: o.a.pi.poifs.filesystem.TestEmptyDocument fails on HEAD
Date Wed, 20 Apr 2005 17:47:37 GMT
Ok, thanks. That makes sense. Do you have a bug he for this? I'll update the code with that.
In any event i think we should not run known failing tests by default, it can hide other breakage.
I've been thinking of a way to keep them separately in cvs; for now i'll disable them.Quoting
Rainer Klute <klute@rainer-klute.de>:

> Avik,
>
> this testcase never ran successfully. I added it once because someone
> sent an error report and complained that reading an empty document does
> not work. The testcase verifies that by creating an empty document and
> trying to read it back in.
>
> I fiddeled around with POIFS a little bit but due to lack of time and
> lack of knowledge about POIFS I couldn't find a solution. However, I
> believe that this is an error and someone who knows POIFS better than me
> should try to solve that issue.
>
> Am Mittwoch, den 20.04.2005, 18:02 +0530 schrieb Avik Sengupta:
>> with the following error. Ideas?? Can someone confirm this with latest
>> CVS HEAD?
>> (ant -Dtestcase=org.apache.poi.poifs.filesystem.TestEmptyDocument
>> single-test)
>>
>> [junit] Testcase: testSingleEmptyDocument took 0.113 sec
>>     [junit]     Caused an ERROR
>>     [junit] Cannot remove block[ 0 ]; out of range
>>     [junit] java.io.IOException: Cannot remove block[ 0 ]; out of range
>>     [junit]     at
>> org.apache.poi.poifs.storage.BlockListImpl.remove(BlockListImpl.java:103)
>>     [junit]     at
>> org.apache.poi.poifs.storage.BlockAllocationTableReader.fetchBlocks(BlockAllocationTableReader.java:190)
>>     [junit]     at
>> org.apache.poi.poifs.storage.BlockListImpl.fetchBlocks(BlockListImpl.java:128)
>>     [junit]     at
>> org.apache.poi.poifs.filesystem.POIFSFileSystem.processProperties(POIFSFileSystem.java:403)
>>     [junit]     at
>> org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:102)
>>     [junit]     at
>> org.apache.poi.poifs.filesystem.TestEmptyDocument.testSingleEmptyDocument(TestEmptyDocument.java:94)
>
> Best regards
> Rainer Klute
>
>                            Rainer Klute IT-Consulting GmbH
>   Dipl.-Inform.
>   Rainer Klute             E-Mail:  klute@rainer-klute.de
>   Körner Grund 24          Telefon: +49 172 2324824
> D-44143 Dortmund           Telefax: +49 231 5349423
>
> Inhibit software patents: http://www.nosoftwarepatents.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Mime
View raw message