submit error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

submit error

Miroslav Polc
Hi,

I try create one form and deploy it in \orbeon\WEB-INF\resources\apps\myForm and then I follow some instructions about submission. Everythink works ok. But then, when I copy this folder into orbeon\xforms-jsp and try to submit data, it doesnt work. Error is:  

forms-submit-error - setting throwable {throwable: "org.orbeon.oxf.xforms.submis
sion.XFormsSubmissionException:  (getting submission single-node binding): Empty
single-node binding on xforms:submission for submission id: submission null, lin
e -1, column -1: Empty single-node binding on xforms:submission for submission i
d: submision
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission$SubmissionPara
meters.<init>(XFormsModelSubmission.java:751)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XForm
sModelSubmission.java:315)
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefault
Action(XFormsModelSubmission.java:291)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.jav
a:1035)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsCo
ntainingDocument.java:880)
        at org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDef
aultAction(XFormsSubmitControl.java:52)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.jav
a:1035)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsCo
ntainingDocument.java:880)
        at org.orbeon.oxf.xforms.event.ClientEvents$.dispatchEventCheckTarget$1(
ClientEvents.scala:409)
        at org.orbeon.oxf.xforms.event.ClientEvents$.processEvent(ClientEvents.s
cala:506)
        at org.orbeon.oxf.xforms.event.ClientEvents$$anonfun$processEvents$1.app
ly(ClientEvents.scala:116)
        at org.orbeon.oxf.xforms.event.ClientEvents$$anonfun$processEvents$1.app
ly(ClientEvents.scala:115)
        at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.
scala:61)
        at scala.collection.immutable.List.foreach(List.scala:45)
        at org.orbeon.oxf.xforms.event.ClientEvents$.processEvents(ClientEvents.
scala:115)
        at org.orbeon.oxf.xforms.event.ClientEvents.processEvents(ClientEvents.s
cala)
        at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:2
15)
        at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.
java:56)
        at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.
java:88)
        at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilte
r.read(ProcessorOutputImpl.java:263)
        at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutpu
tImpl.java:406)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.j
ava:260)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl
.readImpl(TeeProcessor.java:89)
        at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilte
r.read(ProcessorOutputImpl.java:263)
        at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutpu
tImpl.java:406)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.j
ava:260)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorI
mpl.java:286)
        at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:315)

        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Process
orImpl.java:365)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Process
orImpl.java:330)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(Proce
ssorImpl.java:313)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.star
t(ConcreteChooseProcessor.java:186)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelinePro
cessor.java:661)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(P
ipelineProcessor.java:726)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelinePro
cessor.java:658)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.star
t(ConcreteChooseProcessor.java:248)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelinePro
cessor.java:661)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(P
ipelineProcessor.java:726)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelinePro
cessor.java:658)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:89)
        at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:
97)
        at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDel
egate.java:133)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:224)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:169)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
927)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:987)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:579)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:309)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
"}
/xforms-server - Timing: 287 - Cache hits for cache.main: 25, fault: 5, adds: 4,
 expirations: 0, success rate: 83%

Could you help me, where is problem?
Reply | Threaded
Open this post in threaded view
|

Re: submit error

Erik Bruchez
Administrator
Miroslav,

This seems to indicate that <xforms:submission ref="..."> is not
pointing to anything. Hard to tell the exact reason without actually
running the form. Something must be different between the two ways you
are running the form.

-Erik

On Wed, Mar 14, 2012 at 6:07 AM, Miroslav Polc <[hidden email]> wrote:

> Hi,
>
> I try create one form and deploy it in \orbeon\WEB-INF\resources\apps\myForm
> and then I follow some instructions about submission. Everythink works ok.
> But then, when I copy this folder into orbeon\xforms-jsp and try to submit
> data, it doesnt work. Error is:
>
> forms-submit-error - setting throwable {throwable:
> "org.orbeon.oxf.xforms.submis
> sion.XFormsSubmissionException:  (getting submission single-node binding):
> Empty
> single-node binding on xforms:submission for submission id: submission null,
> lin
> e -1, column -1: Empty single-node binding on xforms:submission for
> submission i
> d: submision
>        at
> org.orbeon.oxf.xforms.submission.XFormsModelSubmission$SubmissionPara
> meters.<init>(XFormsModelSubmission.java:751)
>        at
> org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XForm
> sModelSubmission.java:315)
>        at
> org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefault
> Action(XFormsModelSubmission.java:291)
>        at
> org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.jav
> a:1035)
>        at
> org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsCo
> ntainingDocument.java:880)
>        at
> org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDef
> aultAction(XFormsSubmitControl.java:52)
>        at
> org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.jav
> a:1035)
>        at
> org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsCo
> ntainingDocument.java:880)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$.dispatchEventCheckTarget$1(
> ClientEvents.scala:409)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$.processEvent(ClientEvents.s
> cala:506)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$$anonfun$processEvents$1.app
> ly(ClientEvents.scala:116)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$$anonfun$processEvents$1.app
> ly(ClientEvents.scala:115)
>        at
> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.
> scala:61)
>        at scala.collection.immutable.List.foreach(List.scala:45)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$.processEvents(ClientEvents.
> scala:115)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents.processEvents(ClientEvents.s
> cala)
>        at
> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:2
> 15)
>        at
> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.
> java:56)
>        at
> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.
> java:88)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilte
> r.read(ProcessorOutputImpl.java:263)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutpu
> tImpl.java:406)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.j
> ava:260)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl
> .readImpl(TeeProcessor.java:89)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilte
> r.read(ProcessorOutputImpl.java:263)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutpu
> tImpl.java:406)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.j
> ava:260)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorI
> mpl.java:286)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:315)
>
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Process
> orImpl.java:365)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Process
> orImpl.java:330)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(Proce
> ssorImpl.java:313)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.star
> t(ConcreteChooseProcessor.java:186)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelinePro
> cessor.java:661)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(P
> ipelineProcessor.java:726)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelinePro
> cessor.java:658)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.star
> t(ConcreteChooseProcessor.java:248)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelinePro
> cessor.java:661)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(P
> ipelineProcessor.java:726)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelinePro
> cessor.java:658)
>        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:89)
>        at
> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:
> 97)
>        at
> org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDel
> egate.java:133)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:305)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:210)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:224)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:169)
>        at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:472)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:168)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:98)
>        at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 927)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:118)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:407)
>        at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
> 11Processor.java:987)
>        at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
> AbstractProtocol.java:579)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
> t.java:309)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source
> )
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>        at java.lang.Thread.run(Unknown Source)
> "}
> /xforms-server - Timing: 287 - Cache hits for cache.main: 25, fault: 5,
> adds: 4,
>  expirations: 0, success rate: 83%
>
> Could you help me, where is problem?
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/submit-error-tp4471780p4471780.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: submit error

Miroslav Polc
Hi,

i didnt change something. My submission is:

<xf:submission id="save-submission" ref="instance('order')"
                    resource="/exist/rest/db/orbeon/eventrating/rating.xml"
                    method="put" replace="none">
                <xf:message ev:event="xf-submit-error" level="modal">An error occurred while saving!</xf:message>
            </xf:submission>

where "order" is ID of xforms:instance.  

On Sat, Mar 17, 2012 at 1:18 AM, Erik Bruchez <[hidden email]> wrote:
Miroslav,

This seems to indicate that <xforms:submission ref="..."> is not
pointing to anything. Hard to tell the exact reason without actually
running the form. Something must be different between the two ways you
are running the form.

-Erik

On Wed, Mar 14, 2012 at 6:07 AM, Miroslav Polc <[hidden email]> wrote:
> Hi,
>
> I try create one form and deploy it in \orbeon\WEB-INF\resources\apps\myForm
> and then I follow some instructions about submission. Everythink works ok.
> But then, when I copy this folder into orbeon\xforms-jsp and try to submit
> data, it doesnt work. Error is:
>
> forms-submit-error - setting throwable {throwable:
> "org.orbeon.oxf.xforms.submis
> sion.XFormsSubmissionException:  (getting submission single-node binding):
> Empty
> single-node binding on xforms:submission for submission id: submission null,
> lin
> e -1, column -1: Empty single-node binding on xforms:submission for
> submission i
> d: submision
>        at
> org.orbeon.oxf.xforms.submission.XFormsModelSubmission$SubmissionPara
> meters.<init>(XFormsModelSubmission.java:751)
>        at
> org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XForm
> sModelSubmission.java:315)
>        at
> org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefault
> Action(XFormsModelSubmission.java:291)
>        at
> org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.jav
> a:1035)
>        at
> org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsCo
> ntainingDocument.java:880)
>        at
> org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDef
> aultAction(XFormsSubmitControl.java:52)
>        at
> org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.jav
> a:1035)
>        at
> org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsCo
> ntainingDocument.java:880)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$.dispatchEventCheckTarget$1(
> ClientEvents.scala:409)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$.processEvent(ClientEvents.s
> cala:506)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$$anonfun$processEvents$1.app
> ly(ClientEvents.scala:116)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$$anonfun$processEvents$1.app
> ly(ClientEvents.scala:115)
>        at
> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.
> scala:61)
>        at scala.collection.immutable.List.foreach(List.scala:45)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents$.processEvents(ClientEvents.
> scala:115)
>        at
> org.orbeon.oxf.xforms.event.ClientEvents.processEvents(ClientEvents.s
> cala)
>        at
> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:2
> 15)
>        at
> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.
> java:56)
>        at
> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.
> java:88)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilte
> r.read(ProcessorOutputImpl.java:263)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutpu
> tImpl.java:406)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.j
> ava:260)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl
> .readImpl(TeeProcessor.java:89)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilte
> r.read(ProcessorOutputImpl.java:263)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutpu
> tImpl.java:406)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.j
> ava:260)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorI
> mpl.java:286)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:315)
>
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Process
> orImpl.java:365)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Process
> orImpl.java:330)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(Proce
> ssorImpl.java:313)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.star
> t(ConcreteChooseProcessor.java:186)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelinePro
> cessor.java:661)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(P
> ipelineProcessor.java:726)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelinePro
> cessor.java:658)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.star
> t(ConcreteChooseProcessor.java:248)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelinePro
> cessor.java:661)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(P
> ipelineProcessor.java:726)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelinePro
> cessor.java:658)
>        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:89)
>        at
> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:
> 97)
>        at
> org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDel
> egate.java:133)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:305)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:210)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:224)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:169)
>        at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:472)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:168)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:98)
>        at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 927)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:118)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:407)
>        at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
> 11Processor.java:987)
>        at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
> AbstractProtocol.java:579)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
> t.java:309)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source
> )
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>        at java.lang.Thread.run(Unknown Source)
> "}
> /xforms-server - Timing: 287 - Cache hits for cache.main: 25, fault: 5,
> adds: 4,
>  expirations: 0, success rate: 83%
>
> Could you help me, where is problem?
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/submit-error-tp4471780p4471780.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
>


--
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




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: submit error

Erik Bruchez
Administrator
Miroslav,

Hard to tell without more details.

BTW it's xforms-submit-error, not xf-submit-error ;)

-Erik

On Mon, Mar 19, 2012 at 12:04 AM, Miroslav Polc <[hidden email]> wrote:

> Hi,
>
> i didnt change something. My submission is:
>
> <xf:submission id="save-submission" ref="instance('order')"
>                     resource="/exist/rest/db/orbeon/eventrating/rating.xml"
>                     method="put" replace="none">
>                 <xf:message ev:event="xf-submit-error" level="modal">An
> error occurred while saving!</xf:message>
>             </xf:submission>
>
> where "order" is ID of xforms:instance.
>
>
> On Sat, Mar 17, 2012 at 1:18 AM, Erik Bruchez <[hidden email]> wrote:
>>
>> Miroslav,
>>
>> This seems to indicate that <xforms:submission ref="..."> is not
>> pointing to anything. Hard to tell the exact reason without actually
>> running the form. Something must be different between the two ways you
>> are running the form.
>>
>> -Erik
>>
>> On Wed, Mar 14, 2012 at 6:07 AM, Miroslav Polc <[hidden email]>
>> wrote:
>> > Hi,
>> >
>> > I try create one form and deploy it in
>> > \orbeon\WEB-INF\resources\apps\myForm
>> > and then I follow some instructions about submission. Everythink works
>> > ok.
>> > But then, when I copy this folder into orbeon\xforms-jsp and try to
>> > submit
>> > data, it doesnt work. Error is:
>> >
>> > forms-submit-error - setting throwable {throwable:
>> > "org.orbeon.oxf.xforms.submis
>> > sion.XFormsSubmissionException:  (getting submission single-node
>> > binding):
>> > Empty
>> > single-node binding on xforms:submission for submission id: submission
>> > null,
>> > lin
>> > e -1, column -1: Empty single-node binding on xforms:submission for
>> > submission i
>> > d: submision
>> >        at
>> > org.orbeon.oxf.xforms.submission.XFormsModelSubmission$SubmissionPara
>> > meters.<init>(XFormsModelSubmission.java:751)
>> >        at
>> > org.orbeon.oxf.xforms.submission.XFormsModelSubmission.doSubmit(XForm
>> > sModelSubmission.java:315)
>> >        at
>> > org.orbeon.oxf.xforms.submission.XFormsModelSubmission.performDefault
>> > Action(XFormsModelSubmission.java:291)
>> >        at
>> > org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.jav
>> > a:1035)
>> >        at
>> > org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsCo
>> > ntainingDocument.java:880)
>> >        at
>> > org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDef
>> > aultAction(XFormsSubmitControl.java:52)
>> >        at
>> > org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.jav
>> > a:1035)
>> >        at
>> > org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsCo
>> > ntainingDocument.java:880)
>> >        at
>> > org.orbeon.oxf.xforms.event.ClientEvents$.dispatchEventCheckTarget$1(
>> > ClientEvents.scala:409)
>> >        at
>> > org.orbeon.oxf.xforms.event.ClientEvents$.processEvent(ClientEvents.s
>> > cala:506)
>> >        at
>> > org.orbeon.oxf.xforms.event.ClientEvents$$anonfun$processEvents$1.app
>> > ly(ClientEvents.scala:116)
>> >        at
>> > org.orbeon.oxf.xforms.event.ClientEvents$$anonfun$processEvents$1.app
>> > ly(ClientEvents.scala:115)
>> >        at
>> > scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.
>> > scala:61)
>> >        at scala.collection.immutable.List.foreach(List.scala:45)
>> >        at
>> > org.orbeon.oxf.xforms.event.ClientEvents$.processEvents(ClientEvents.
>> > scala:115)
>> >        at
>> > org.orbeon.oxf.xforms.event.ClientEvents.processEvents(ClientEvents.s
>> > cala)
>> >        at
>> > org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:2
>> > 15)
>> >        at
>> > org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.
>> > java:56)
>> >        at
>> > org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.
>> > java:88)
>> >        at
>> > org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilte
>> > r.read(ProcessorOutputImpl.java:263)
>> >        at
>> > org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutpu
>> > tImpl.java:406)
>> >        at
>> > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.j
>> > ava:260)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl
>> > .readImpl(TeeProcessor.java:89)
>> >        at
>> > org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilte
>> > r.read(ProcessorOutputImpl.java:263)
>> >        at
>> > org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutpu
>> > tImpl.java:406)
>> >        at
>> > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.j
>> > ava:260)
>> >        at
>> > org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorI
>> > mpl.java:286)
>> >        at
>> > org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:315)
>> >
>> >        at
>> > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Process
>> > orImpl.java:365)
>> >        at
>> > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Process
>> > orImpl.java:330)
>> >        at
>> > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(Proce
>> > ssorImpl.java:313)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.star
>> > t(ConcreteChooseProcessor.java:186)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelinePro
>> > cessor.java:661)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(P
>> > ipelineProcessor.java:726)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelinePro
>> > cessor.java:658)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.star
>> > t(ConcreteChooseProcessor.java:248)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelinePro
>> > cessor.java:661)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(P
>> > ipelineProcessor.java:726)
>> >        at
>> > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelinePro
>> > cessor.java:658)
>> >        at
>> > org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:89)
>> >        at
>> > org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:
>> > 97)
>> >        at
>> > org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDel
>> > egate.java:133)
>> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>> >        at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> > icationFilterChain.java:305)
>> >        at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> > ilterChain.java:210)
>> >        at
>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> > alve.java:224)
>> >        at
>> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> > alve.java:169)
>> >        at
>> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
>> > torBase.java:472)
>> >        at
>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>> > ava:168)
>> >        at
>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>> > ava:98)
>> >        at
>> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
>> > 927)
>> >        at
>> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>> > ve.java:118)
>> >        at
>> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>> > a:407)
>> >        at
>> > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
>> > 11Processor.java:987)
>> >        at
>> > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
>> > AbstractProtocol.java:579)
>> >        at
>> > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
>> > t.java:309)
>> >        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>> > Source
>> > )
>> >        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>> > Source)
>> >        at java.lang.Thread.run(Unknown Source)
>> > "}
>> > /xforms-server - Timing: 287 - Cache hits for cache.main: 25, fault: 5,
>> > adds: 4,
>> >  expirations: 0, success rate: 83%
>> >
>> > Could you help me, where is problem?
>> >
>> >
>> > --
>> > View this message in context:
>> > http://orbeon-forms-ops-users.24843.n4.nabble.com/submit-error-tp4471780p4471780.html
>> > Sent from the Orbeon Forms (ops-users) mailing list archive at
>> > Nabble.com.
>> >
>> >
>> > --
>> > 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
>> >
>>
>>
>> --
>> 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
>>
>
>
>
> --
> 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
>


--
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