Version - it's a good question. I get this file from our partners in 
italy. I changed it and saved it with Star Office (5.2) - the version 
which I send to you. But I get the same error with the original File. 
This was my first try to look what I can do again this error.


Glen Stampoultzis wrote:

>Hi, it appears that there are duplicate string entries in the SSTRecord.
>Which version of Excel was this file created with?
>
>-- Glen
>
>----- Original Message -----
>From: "Stefan Neudorfer" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, April 01, 2002 2:02 PM
>Subject: Re: Can not create HSSFWorkbook for the file attached
>
>
>>We get the same error with the first try with our file and now we search
>>about a workarrount for this bug. I check our version, it is the newest
>>version from POI.
>>
>>We have to import some files like this file into our database and we
>>hope POI can help us that we never have to make some CSV-files before we
>>can work with this data.
>>
>>
>>
>>
>>Iouri Michtchenko wrote:
>>
>>>Could anybody test this file?
>>>When I do :
>>>
>>>HSSFWorkbook wb = new HSSFWorkbook(new FileInputStream("test.xls"));
>>>
>>>It throws an exception:
>>>
>>>net.sourceforge.poi.hssf.record.RecordFormatException: Unable to
>>>
>construct
>
>>>record instance
>>>net.sourceforge.poi.hssf.record.Record[]
>>>net.sourceforge.poi.hssf.record.RecordFactory.createRecord(short, short,
>>>byte[]) (RecordFactory.java:271)
>>>java.util.List
>>>
>>net.sourceforge.poi.hssf.record.RecordFactory.createRecords(java.io.InputSt
>>
>r
>
>>>eam) (RecordFactory.java:202)
>>>void
>>>
>>net.sourceforge.poi.hssf.usermodel.HSSFWorkbook.<init>(net.sourceforge.poi.
>>
>p
>
>>>oifs.filesystem.POIFSFileSystem) (HSSFWorkbook.java:156)
>>>void
>>>
>>net.sourceforge.poi.hssf.usermodel.HSSFWorkbook.<init>(java.io.InputStream)
>>
>>>(HSSFWorkbook.java:191)
>>>
>>>Thanks.
>>>
>>
>>--
>>Stefan Neudorfer
>>E-Mail: [EMAIL PROTECTED]
>>Tel.: 0049 89 688 00 622
>>Fax.: 0049 89 688 00 669
>>
>>
>>Firma:
>>Stefan Th. Neudorfer Software & Consulting GmbH
>>Klack-Redaktion
>>Turner Str. 64
>>81827 M�nchen
>>Germany
>>Web.: http://www.neudorfer.de
>>TV-Magazin: http://www.klack.com
>>
>>
>>
>
>
>
>


-- 
Stefan Neudorfer
E-Mail: [EMAIL PROTECTED]
Tel.: 0049 89 688 00 622
Fax.: 0049 89 688 00 669


Firma:
Stefan Th. Neudorfer Software & Consulting GmbH
Klack-Redaktion
Turner Str. 64
81827 M�nchen
Germany
Web.: http://www.neudorfer.de
TV-Magazin: http://www.klack.com



Reply via email to