|
From: Hans B. <ben...@ch...> - 2003-12-04 18:49:58
|
Hi to all,
I am trying to use JTidyPipelineStage the first time since 1.0.2, but it
throws the following exception:
-------------
java.lang.ArrayStoreException
at
java.util.AbstractCollection.toArray(AbstractCollection.java:174)
at
com.babeldoc.core.pipeline.stage.JTidyPipelineStage.getConfigProperties(JTidyPipelineStage.java:336)
at
com.babeldoc.core.pipeline.stage.JTidyPipelineStage.process(JTidyPipelineStage.java:291)
------------
I assume that casting the ConfigOptions from getOptions() to Strings in
line 337
---
String[] optionKeys = (String[]) getInfo().getOptions().toArray(new String[0]);
---
causes the problem, but at the moment I have no idea what to do instead
Any suggestions?
Regards,
Hans
|