You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Richard Raquepo <rr...@primeorion.com> on 2004/07/15 11:08:42 UTC

error on resin2x to resin3x

i have a web application that works perfectly on resin2x.

i then tested it on resin3 for testing purposes but then i stumbled on this
error:

java.io.IOException: Unable to read entire block; 469 bytes read; expected
512 bytes
        at
org.apache.poi.poifs.storage.RawDataBlock.<init>(RawDataBlock.java:62)
        at
org.apache.poi.poifs.storage.RawDataBlockList.<init>(RawDataBlockList.java:5
1)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:
86)

what gives?

thanks for any help.

-richard



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


Re: error on resin2x to resin3x

Posted by ac...@apache.org.
You need to use some kind of buffered stream or it may beat the stream to
the data.
--=20
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?

The views expressed in this email are those of the author and are almost
definitely not shared by the Apache Software Foundation, its board or its
general membership.  In fact they probably most definitively disagree with
everything espoused in the above email.

> From: "Richard Raquepo" <rr...@primeorion.com>
> Reply-To: "POI Users List" <po...@jakarta.apache.org>
> Date: Thu, 15 Jul 2004 17:23:38 +0800
> To: "POI Users List" <po...@jakarta.apache.org>,
> <ka...@sawag.com>
> Subject: Re: error on resin2x to resin3x
>=20
> im using POI 2.5-final.
>=20
> thanks.
>=20
> ----- Original Message -----
> From: "KHZ (SAW)" <ka...@sawag.com>
> To: "'POI Users List'" <po...@jakarta.apache.org>
> Sent: Thursday, July 15, 2004 5:16 PM
> Subject: AW: error on resin2x to resin3x
>=20
>=20
> Hi Richard.
>=20
> What POI version do you use there?
>=20
> E.g. POI 2.5 made problems with lists whereas POI 2.0 worked in this
> case.
>=20
> I'ld check for this or similar effects.
>=20
> Regards, Karl-Heinz.
>=20
>=20
> -----Urspr=FCngliche Nachricht-----
> Von: Richard Raquepo [mailto:rraquepo@primeorion.com]
> Gesendet: Donnerstag, 15. Juli 2004 11:09
> An: POI Users List
> Betreff: error on resin2x to resin3x
>=20
> i have a web application that works perfectly on resin2x.
>=20
> i then tested it on resin3 for testing purposes but then i stumbled on
> this
> error:
>=20
> java.io.IOException: Unable to read entire block; 469 bytes read;
> expected
> 512 bytes
>       at
> org.apache.poi.poifs.storage.RawDataBlock.<init>(RawDataBlock.java:62)
>       at
> org.apache.poi.poifs.storage.RawDataBlockList.<init>(RawDataBlockList.ja
> va:5
> 1)
>       at
> org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.j
> ava:
> 86)
>=20
> what gives?
>=20
> thanks for any help.
>=20
> -richard
>=20
>=20
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>=20
>=20
>=20
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>=20
>=20
>=20
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org


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


Re: error on resin2x to resin3x

Posted by Richard Raquepo <rr...@primeorion.com>.
im using POI 2.5-final.

thanks.

----- Original Message -----
From: "KHZ (SAW)" <ka...@sawag.com>
To: "'POI Users List'" <po...@jakarta.apache.org>
Sent: Thursday, July 15, 2004 5:16 PM
Subject: AW: error on resin2x to resin3x


Hi Richard.

What POI version do you use there?

E.g. POI 2.5 made problems with lists whereas POI 2.0 worked in this
case.

I'ld check for this or similar effects.

Regards, Karl-Heinz.


-----Ursprüngliche Nachricht-----
Von: Richard Raquepo [mailto:rraquepo@primeorion.com]
Gesendet: Donnerstag, 15. Juli 2004 11:09
An: POI Users List
Betreff: error on resin2x to resin3x

i have a web application that works perfectly on resin2x.

i then tested it on resin3 for testing purposes but then i stumbled on
this
error:

java.io.IOException: Unable to read entire block; 469 bytes read;
expected
512 bytes
        at
org.apache.poi.poifs.storage.RawDataBlock.<init>(RawDataBlock.java:62)
        at
org.apache.poi.poifs.storage.RawDataBlockList.<init>(RawDataBlockList.ja
va:5
1)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.j
ava:
86)

what gives?

thanks for any help.

-richard



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




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




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


AW: error on resin2x to resin3x

Posted by "KHZ (SAW)" <ka...@sawag.com>.
Hi Richard.

What POI version do you use there?

E.g. POI 2.5 made problems with lists whereas POI 2.0 worked in this
case.

I'ld check for this or similar effects.

Regards,	Karl-Heinz.


-----Ursprüngliche Nachricht-----
Von: Richard Raquepo [mailto:rraquepo@primeorion.com] 
Gesendet: Donnerstag, 15. Juli 2004 11:09
An: POI Users List
Betreff: error on resin2x to resin3x

i have a web application that works perfectly on resin2x.

i then tested it on resin3 for testing purposes but then i stumbled on
this
error:

java.io.IOException: Unable to read entire block; 469 bytes read;
expected
512 bytes
        at
org.apache.poi.poifs.storage.RawDataBlock.<init>(RawDataBlock.java:62)
        at
org.apache.poi.poifs.storage.RawDataBlockList.<init>(RawDataBlockList.ja
va:5
1)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.j
ava:
86)

what gives?

thanks for any help.

-richard



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




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