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