Can you provide a sample workbook that demonstrates this error?
-Andy
On Thu, 2002-02-28 at 05:33, Reto Badertscher wrote:
> Hello,
>
> when reading in an Excel (which contains Macros) i get the following error:
> "java.lang.IllegalArgumentException: Cannot store a duplicate value ("Number
> of noise complaints from plant personnel") in this Map"
>
> in the User Model and the Event API.
>
> Stacktrace when using the Event API:
> java.lang.IllegalArgumentException: Cannot store a duplicate value ("Number
> of noise complaints from plant personnel") in this Map
> at org.apache.poi.util.BinaryTree.insertValue(BinaryTree.java:1398)
> at org.apache.poi.util.BinaryTree.put(BinaryTree.java:1583)
> at org.apache.poi.hssf.record.SSTRecord.processString(SSTRecord.java:1035)
> at
> org.apache.poi.hssf.record.SSTRecord.manufactureStrings(SSTRecord.java:962)
> at
> org.apache.poi.hssf.record.SSTRecord.processContinueRecord(SSTRecord.java:59
> 4)
> at
> org.apache.poi.hssf.eventmodel.HSSFEventFactory.processEvents(HSSFEventFacto
> ry.java:168)
> at jUnit.ExcelEventTest.run(ExcelEventTest.java:52)
> at jUnit.ExcelEventTest.main(ExcelEventTest.java:126)
> Exception in thread "main" Process terminated with exit code 1
>
> This value is the content of a cell. Could someone tell me what's causing
> this error and what can i do to prevent it (i didn't made the Excel
> WorkBook)?
>
> Thanks in advance for your help.
>
> Reto
>
--
http://www.superlinksoftware.com
http://jakarta.apache.org - port of Excel/Word/OLE 2 Compound Document
format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html
- fix java generics!
The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh