[ #303053 ] sf-id: 1056303, cause NPE if no action is present
Date: 2004-10-28 20:30
Priority: 3
Submitted By: Julien Mercay (jmercay)
Assigned To: Alessandro Vernet (avernet)
Category: Page Flow Controller
State: Open
Summary: sf-id: 1056303, <result when="..."/> cause NPE if no action is present
Detailed description: The following code produce the NPE below:
<action when="/form/action = 'cancel'" >
<result when="/form/task/parent-task-id != ''"
page="tts-edit-task">
...
</result>
<result page="home"/>
</action>
Workaround: add a simple action containing the identity
processor to mirror the instance input to the data output.
java.lang.NullPointerException
at
org.orbeon.oxf.processor.pipeline.ast.ASTHrefId.<init>(ASTHrefId.java:25)
at
org.orbeon.oxf.processor.PageFlowControllerProcessor$22.<init>(PageFlowControllerProcesso
r.java:580)
at
org.orbeon.oxf.processor.PageFlowControllerProcessor$21.<init>(PageFlowControllerProcesso
r.java:526)
at
org.orbeon.oxf.processor.PageFlowControllerProcessor.handlePage(PageFlowControllerProcess
or.java:513)
at
org.orbeon.oxf.processor.PageFlowControllerProcessor.access$300(PageFlowControllerProcess
or.java:40)
at
org.orbeon.oxf.processor.PageFlowControllerProcessor$2.<init>(PageFlowControllerProcessor
.java:296)
at
org.orbeon.oxf.processor.PageFlowControllerProcessor$1.read(PageFlowControllerProcessor.j