Having some problems with this stage. I've checked that my options work in JTidy, but it stops working as soon as I put it into BabelDoc.
An exception is generated, but the odd thing is that it seems to originate in the pipeline feeder - see below.
Has anyone had any similar experience - > care to suggest how I can fix this?
Regards
Ed
<2004-04-01 14:22:47,906> INFO [main] : Initializing workers:
<2004-04-01 14:22:47,953> INFO [main] : me (directory) configured...
<2004-04-01 14:22:47,953> INFO [main] : Starting workers...
<2004-04-01 14:22:47,968> INFO [main] : me started...
<2004-04-01 14:22:52,046> INFO [me] : Document Large Print VST Test File.txt enqueued for pipeline M-and-S
<2004-04-01 14:22:52,406> INFO [Thread-1] : Processing document...
<2004-04-01 14:22:53,187> INFO [Thread-1] : PipelineStage name: flat2XML
<2004-04-01 14:22:54,250> INFO [Thread-1] : PipelineStage name: edtidy
java.lang.ArrayStoreException
at java.util.AbstractCollection.toArray(AbstractCollection.java:170)
at com.babeldoc.core.pipeline.stage.JTidyPipelineStage.getConfigProperties(Unknown Source)
at com.babeldoc.core.pipeline.stage.JTidyPipelineStage.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(Unknown Source)
at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown Source)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Having some problems with this stage. I've checked that my options work in JTidy, but it stops working as soon as I put it into BabelDoc.
An exception is generated, but the odd thing is that it seems to originate in the pipeline feeder - see below.
Has anyone had any similar experience - > care to suggest how I can fix this?
Regards
Ed
<2004-04-01 14:22:47,906> INFO [main] : Initializing workers:
<2004-04-01 14:22:47,953> INFO [main] : me (directory) configured...
<2004-04-01 14:22:47,953> INFO [main] : Starting workers...
<2004-04-01 14:22:47,968> INFO [main] : me started...
<2004-04-01 14:22:52,046> INFO [me] : Document Large Print VST Test File.txt enqueued for pipeline M-and-S
<2004-04-01 14:22:52,406> INFO [Thread-1] : Processing document...
<2004-04-01 14:22:53,187> INFO [Thread-1] : PipelineStage name: flat2XML
<2004-04-01 14:22:54,250> INFO [Thread-1] : PipelineStage name: edtidy
java.lang.ArrayStoreException
at java.util.AbstractCollection.toArray(AbstractCollection.java:170)
at com.babeldoc.core.pipeline.stage.JTidyPipelineStage.getConfigProperties(Unknown Source)
at com.babeldoc.core.pipeline.stage.JTidyPipelineStage.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown Source)
at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(Unknown Source)
at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown Source)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
Just to mention there is a fix for this at the following:
http://sourceforge.net/mailarchive/forum.php?thread_id=3654086&forum_id=29546
However, the code does not appear to have made it into the CVS.