This page section details common errors that you may encounter when using the Groovy stage and resolutions. You should look for the Caused by: in the AspireException to aid troubleshooting.
The following error was caused by an incorrect Groovy component configuration:
...
Code Block | ||
---|---|---|
| ||
<component name="SplitEndecaFileAndFeedIndividualDocs" subType="default" factoryName="aspire-groovy"> <config> <script> <![CDATA[ . . AspireDocument subDoc = new AspireDocument(); subDoc.add("text", outputBuffer.toString()); Job subJob = job.createSubJob(subDoc, job.getJobId() + "-" + subjobCount); bh.enqueue(subJob, "onPublish"); . . ]]> </script> <!-- Correctly placed <branches> configuration below --> <branches> <branch event="onPublish" pipelineManager="../PrintDocDontIndex" /> </branches> </config> </component> |
...