cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: ProcessingException from sendPage
Date Sun, 25 Jan 2004 17:41:23 GMT
OK. This occurs if you incorrectly call sendPage() more than once in the 
same invocation of your flowscript. If I have time, I'll try to put in a 
better error message.

Christopher Oliver wrote:

> I get the below exception occasionally. Any ideas?
>
> org.apache.cocoon.ProcessingException: Generator already set. You can 
> only select one Generator (jx)     at 
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setGenerator(AbstractProcessingPipeline.java:242)

>     at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setGenerator(AbstractCachingProcessingPipeline.java:158)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.GenerateNode.invoke(GenerateNode.java:92)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:139)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:373)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.handleCocoonRedirect(TreeProcessor.java:418)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.access$000(TreeProcessor.java:101)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor$TreeProcessorRedirector.cocoonRedirect(TreeProcessor.java:579)

>     at 
> org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:92) 
>     at 
> org.apache.cocoon.components.flow.AbstractInterpreter.forwardTo(AbstractInterpreter.java:270)

>     at 
> org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.forwardTo(FOM_JavaScriptInterpreter.java:836)

>     at 
> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.forwardTo(FOM_Cocoon.java:1502)

>     at 
> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction_sendPage(FOM_Cocoon.java:291)

>     at inv3.invoke()     at 
> org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:523) 
>     at 
> org.mozilla.javascript.FunctionObject.call(FunctionObject.java:438) 
>     at 
> org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244) 
>     at 
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1105)

>     at 
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)

>     at 
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)

>     at 
> org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)

>     at 
> org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244) 
>     at 
> org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:697)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:160)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:139)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:373)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:314)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:133)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:139)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:373)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:314)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:133)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

>     at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

>     at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:139)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:373)

>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:314)

>     at org.apache.cocoon.Cocoon.process(Cocoon.java:656)     at 
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112) 
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
>     at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356) 
>     at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)

>     at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) 
>     at org.mortbay.http.HttpContext.handle(HttpContext.java:1776) 
>     at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)

>     at org.mortbay.http.HttpContext.handle(HttpContext.java:1726) 
>     at org.mortbay.http.HttpServer.service(HttpServer.java:879)     at 
> org.mortbay.http.HttpConnection.service(HttpConnection.java:790) 
>     at 
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952) 
>     at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) 
>     at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:196) 
>     at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) 
>     at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:487)
>
>
>



Mime
View raw message