Hi all, I am trying to use the oxf:exception-catcher
within a for-each processor and its giving me some trouble. The for-each
processor contains three processors (a pipeline to do a call to tamino and a
few XSLTs, the exception catcher, an XSLT to transform an exception if it occurs)
This all works fine until I actually get an exception. It breaks off and gives
me this exception, which isn’t caught! Line 55 is the start of the
for-each (BTW I’m using OPS 3.0 Beta 4 Unstable 07-12-2005) Can anyone
shed any light on the issue? org.orbeon.oxf.common.ValidationException:
oxf:/pages/checkAll/loadAll.xpl, line 55, column 97, description reading
processor output: Current processor should be on top of the stack Current
processor should be on top of the stack at
org.orbeon.oxf.processor.ProcessorImpl.removeSelfAsParent(ProcessorImpl.java:503) at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:515) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.pipeline.ForEachProcessor$1.readImpl(ForEachProcessor.java:144) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354) at
org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access$600(XSLTTransformer.java:60) at
org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSLTTransformer.java:193) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:935) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354) at
org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:62) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:959) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:96) at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:514) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354) at
org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:96) at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:514) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:122) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354) at
org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:96) at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:514) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$6.run(PipelineProcessor.java:572) at
org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:529) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1600(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.pipeline.TeeProcessor.access$100(TeeProcessor.java:36) at
org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:57) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$6.run(PipelineProcessor.java:572) at
org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:529) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1600(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$6.run(PipelineProcessor.java:572) at
org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:529) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1600(PipelineProcessor.java:66) at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568) at
org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354) at
org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access$600(XSLTTransformer.java:60) |
Hi Ryan There was a bug that I found that was
fixed, I think after your build: http://forge.objectweb.org/tracker/index.php?func=detail&aid=304365&group_id=168&atid=350207 If you still get trouble, post your
pipeline that contains the exception catcher, and showing what you’re
doing with the output of the exception catcher – I managed to
successfully implement it here so I can then compare yours with mine. Steve From: Ryan Puddephatt
[mailto:[hidden email]] Hi all,
I am trying to use the oxf:exception-catcher within a for-each processor and
its giving me some trouble. The for-each processor contains three processors (a
pipeline to do a call to tamino and a few XSLTs, the exception catcher, an XSLT
to transform an exception if it occurs) This all works fine until I actually
get an exception. It breaks off and gives me this exception, which isn’t
caught! Line 55 is the start of the for-each (BTW I’m using OPS 3.0 Beta
4 Unstable 07-12-2005) Can anyone shed any light on the issue? org.orbeon.oxf.common.ValidationException:
oxf:/pages/checkAll/loadAll.xpl, line 55, column 97, description reading
processor output: Current processor should be on top of the stack Current
processor should be on top of the stack
at
org.orbeon.oxf.processor.ProcessorImpl.removeSelfAsParent(ProcessorImpl.java:503)
at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:515)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at
org.orbeon.oxf.processor.pipeline.ForEachProcessor$1.readImpl(ForEachProcessor.java:144)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354)
at
org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer.access$600(XSLTTransformer.java:60)
at
org.orbeon.oxf.processor.transformer.xslt.XSLTTransformer$1.readImpl(XSLTTransformer.java:193)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:935)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354)
at org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:62)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:959)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:96)
at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:514)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:96)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:514)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:122)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:354)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:33)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:96)
at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:514)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:66)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:94)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$6.run(PipelineProcessor.java:572)
at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:529)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1600(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:568)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at
org.orbeon.oxf.processor.pipeline.TeeProcessor.access$100(TeeProcessor.java:36)
at
org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:57)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981)
at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:66)
at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$6.run(PipelineProcessor.java:572) Threaded
RE: Pipeline and Exception Problems
|