Changing as the subject as I did specify a value for action explicitly and one that does begin with a /, with I still get the same error.
Erik, any thoughts what the cause would be? Thank you, JL Error Message path must begin with a "/" Call Stack Resource URL Line Column Description XML Element oxf:/config/xforms-widgets.xsl 27 N/A processing submission dispatching XForms event event → xxforms-submit target id → form-submit <xf:submission action="/myapp/xforms/xform.nrx" id="form-submit" indent="true" method="post" omit-xml-declaration="true"/> oxf:/ops/xforms/xforms-server-submit.xpl 61 43 executing processor name → {<a href="http://www.orbeon.com/oxf/processors}xforms-server">http://www.orbeon.com/oxf/processors}xforms-server <p:processor name="oxf:xforms-server">...</p:processor> Exception Class java.lang.IllegalArgumentException Message path must begin with a "/" Servlet Stack Trace (96 method calls) Class Name Method Name File Name Line Number com.evermind.server.http.HttpApplication getRequestDispatcher HttpApplication.java 1668 org.orbeon.oxf.servlet.ServletExternalContext getRequestDispatcher ServletExternalContext.java 857 org.orbeon.oxf.xforms.XFormsSubmissionUtils doOptimized XFormsSubmissionUtils.java 92 org.orbeon.oxf.xforms.XFormsModelSubmission performDefaultAction XFormsModelSubmission.java 686 org.orbeon.oxf.xforms.XFormsContainingDocument dispatchEvent XFormsContainingDocument.java 980 org.orbeon.oxf.xforms.XFormsContainingDocument executeExternalEvent XFormsContainingDocument.java 809 org.orbeon.oxf.xforms.processor.XFormsServer executeExternalEventPrepareIfNecessary XFormsServer.java 283 org.orbeon.oxf.xforms.processor.XFormsServer doIt XFormsServer.java 223 org.orbeon.oxf.xforms.processor.XFormsServer start XFormsServer.java 84 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 650 Exception Class org.orbeon.oxf.xforms.XFormsModelSubmission$XFormsSubmissionException Message Error while processing xforms:submission Resource URL oxf:/config/xforms-widgets.xsl Line 27 Column N/A Servlet Stack Trace (93 method calls) Class Name Method Name File Name Line Number org.orbeon.oxf.xforms.XFormsModelSubmission performDefaultAction XFormsModelSubmission.java 872 org.orbeon.oxf.xforms.XFormsContainingDocument dispatchEvent XFormsContainingDocument.java 980 org.orbeon.oxf.xforms.XFormsContainingDocument executeExternalEvent XFormsContainingDocument.java 809 org.orbeon.oxf.xforms.processor.XFormsServer executeExternalEventPrepareIfNecessary XFormsServer.java 283 org.orbeon.oxf.xforms.processor.XFormsServer doIt XFormsServer.java 223 org.orbeon.oxf.xforms.processor.XFormsServer start XFormsServer.java 84 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 650 org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java 554 org.orbeon.oxf.processor.pipeline.PipelineProcessor start PipelineProcessor.java 647 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 650 Exception Class org.orbeon.oxf.common.OXFException Message line 27 of oxf:/config/xforms-widgets.xsl (processing submission): Error while processing xforms:submission path must begin with a "/" Resource URL oxf:/config/xforms-widgets.xsl Line 27 Column N/A Servlet Stack Trace (89 method calls) Class Name Method Name File Name Line Number org.orbeon.oxf.xforms.processor.XFormsServer doIt XFormsServer.java 264 org.orbeon.oxf.xforms.processor.XFormsServer start XFormsServer.java 84 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 650 org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java 554 org.orbeon.oxf.processor.pipeline.PipelineProcessor start PipelineProcessor.java 647 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 650 org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java 554 org.orbeon.oxf.processor.pipeline.PipelineProcessor start PipelineProcessor.java 647 org.orbeon.oxf.processor.pipeline.PipelineProcessor$1 getInput PipelineProcessor.java 138 org.orbeon.oxf.processor.pipeline.PipelineProcessor$1 readImpl PipelineProcessor.java 87 On Dec 17, 2007 10:34 AM, Jean Luc <[hidden email]> wrote: Yes, I've tried now. Same error. I've also tried "/." just to see if it makes a difference, but it doesn't either. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
An update. I did some debugging and the exception is thrown because the event processed by XFormsServer has no content, which is treated as an empty string (the "value" variable at XFormsServer:191 is "").
final String value = eventElement.getText(); eventElement is: [0] = {org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@9824 }"org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@1b30cc7 [Element: attributes = {java.util.ArrayList@9850} size = 2 content = {java.util.ArrayList@9849 } size = 0 data = {org.orbeon.oxf.xml.dom4j.LocationData@9846}"" parentBranch = {org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@9848 }"org.orbeon.oxf.xml.dom4j.NonLazyUserDataElement@1683789 [Element: ] userData: " qname = {org.dom4j.QName@9847}"org.dom4j.QName@1f2c9a79 [name: event namespace: \"org.dom4j.Namespace@846835cc [Namespace: prefix xxforms mapped to URI \"<a href="http://orbeon.org/oxf/xml/xforms\">http://orbeon.org/oxf/xml/xforms\ "]\"]" I'll log the http traffic to see what's being POSTed and send an update. On Dec 17, 2007 11:08 AM, Jean Luc <[hidden email]> wrote: Changing as the subject as I did specify a value for action explicitly and one that does begin with a /, with I still get the same error. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |