如何从控制台中删除Web服务中的 404错误?
我设法通过添加条件(如果Web服务参数不为null)从Web服务中删除404。 但是如果字段属于可重复的部分,我就无法做到(如果我设置了参数的条件,那么Web服务在其他迭代中不起作用)。
同样在保存表单期间,我注意到Web服务中有几个404错误。 发生错误时,这是一个堆栈跟踪:
> +----------------------------------------------------------------------------------------------------------------------+"}
2017-12-13 11:37:30,835 ERROR XFormsServer - xforms-submit-error - setting throwable {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred |
|----------------------------------------------------------------------------------------------------------------------|
|xf:submission for submission id: getStatutGestion-submission, error code received when submitting instance: 404 |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.xforms.submission.XFormsSubmissionException |
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|getReplacer |XFormsModelSubmission.java | 722|
|rg.orbeon.oxf.xforms.submission.RegularSubmission$1|call |RegularSubmission.java | 108|
|rg.orbeon.oxf.xforms.submission.RegularSubmission$1|call |RegularSubmission.java | 78|
|org.orbeon.oxf.xforms.submission.BaseSubmission |submitCallable |BaseSubmission.scala | 89|
|org.orbeon.oxf.xforms.submission.RegularSubmission |connect |RegularSubmission.java | 131|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|doSubmit |XFormsModelSubmission.java | 453|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|performDefaultAction |XFormsModelSubmission.java | 283|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply$mcV$sp |Dispatch.scala | 130|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply |Dispatch.scala | 79|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply |Dispatch.scala | 79|
|org.orbeon.oxf.util.Logging$class |withDebug |Logging.scala | 50|
|org.orbeon.oxf.xforms.event.Dispatch$ |withDebug |Dispatch.scala | 28|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply$mcV$sp |Dispatch.scala | 79|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply |Dispatch.scala | 78|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply |Dispatch.scala | 78|
|org.orbeon.oxf.xforms.event.Dispatch$ |withEvent$1 |Dispatch.scala | 43|
|org.orbeon.oxf.xforms.event.Dispatch$ |dispatchEvent |Dispatch.scala | 77|
|g.orbeon.oxf.xforms.action.actions.XFormsSendAction|execute |XFormsSendAction.scala | 51|
|org.orbeon.oxf.xforms.action.XFormsAction |execute |XFormsAction.scala | 34|
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runSingleIteration |XFormsActionInterpreter.java | 221|
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runAction |XFormsActionInterpreter.java | 157|
|ction.actions.XFormsActionAction$$anonfun$execute$2|apply |XFormsActionAction.scala | 79|
|ction.actions.XFormsActionAction$$anonfun$execute$2|apply |XFormsActionAction.scala | 67|
|scala.collection.Iterator$class |foreach |Iterator.scala | 893|
|scala.collection.AbstractIterator |foreach |Iterator.scala |1336|
|scala.collection.IterableLike$class |foreach |IterableLike.scala | 72|
|scala.collection.AbstractIterable |foreach |Iterable.scala | 54|
|orbeon.oxf.xforms.action.actions.XFormsActionAction|execute |XFormsActionAction.scala | 67|
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runSingleIteration |XFormsActionInterpreter.java | 221|
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runAction |XFormsActionInterpreter.java | 157|
|forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply$mcV$sp |EventHandlerImpl.scala | 256|
|forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply |EventHandlerImpl.scala | 256|
|forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply |EventHandlerImpl.scala | 256|
|org.orbeon.oxf.util.DynamicVariable |withValue |DynamicVariable.scala | 42|
|org.orbeon.oxf.xforms.action.XFormsAPI$ |withScalaAction |XFormsAPI.scala | 47|
|org.orbeon.oxf.xforms.event.EventHandlerImpl |handleEvent |EventHandlerImpl.scala | 255|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply$mcV$sp |Dispatch.scala | 98|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply |Dispatch.scala | 97|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply |Dispatch.scala | 97|
|org.orbeon.oxf.util.Logging$class |withDebug |Logging.scala | 50|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 305|
|org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 210|
|org.apache.tomcat.websocket.server.WsFilter |doFilter |WsFilter.java | 51|
|org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 243|
|org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 210|
|org.apache.catalina.filters.CorsFilter |handleSimpleCORS |CorsFilter.java | 302|
|org.apache.catalina.filters.CorsFilter |doFilter |CorsFilter.java | 170|
|org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 243|
|org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 210|
|org.orbeon.oxf.servlet.FormRunnerAuthFilter |doFilter |FormRunnerAuthFilter.scala | 26|
|org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 243|
|org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 210|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply$mcV$sp |LimiterFilter.scala | 85|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply |LimiterFilter.scala | 85|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply |LimiterFilter.scala | 85|
|org.orbeon.oxf.logging.LifecycleLogger$ |withEvent |LifecycleLogger.scala | 124|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply$mcV$sp |LimiterFilter.scala | 84|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply |LimiterFilter.scala | 78|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply |LimiterFilter.scala | 78|
|org.orbeon.oxf.logging.LifecycleLogger$ |withEvent |LifecycleLogger.scala | 124|
|rbeon.oxf.servlet.LimiterFilter$$anonfun$doFilter$1|apply |LimiterFilter.scala | 78|
|rbeon.oxf.servlet.LimiterFilter$$anonfun$doFilter$1|apply |LimiterFilter.scala | 72|
|scala.Option |foreach |Option.scala | 257|
|org.orbeon.oxf.servlet.LimiterFilter |doFilter |LimiterFilter.scala | 72|
|org.apache.catalina.core.ApplicationFilterChain |internalDoFilter |ApplicationFilterChain.java | 243|
|org.apache.catalina.core.ApplicationFilterChain |doFilter |ApplicationFilterChain.java | 210|
|org.apache.catalina.core.StandardWrapperValve |invoke |StandardWrapperValve.java | 222|
|org.apache.catalina.core.StandardContextValve |invoke |StandardContextValve.java | 123|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke |AuthenticatorBase.java | 502|
|org.apache.catalina.core.StandardHostValve |invoke |StandardHostValve.java | 171|
|org.apache.catalina.valves.ErrorReportValve |invoke |ErrorReportValve.java | 100|
|org.apache.catalina.valves.AccessLogValve |invoke |AccessLogValve.java | 953|
|org.apache.catalina.core.StandardEngineValve |invoke |StandardEngineValve.java | 118|
|org.apache.catalina.connector.CoyoteAdapter |service |CoyoteAdapter.java | 408|
|org.apache.coyote.http11.AbstractHttp11Processor |process |AbstractHttp11Processor.java |1041|
|e.coyote.AbstractProtocol$AbstractConnectionHandler|process |AbstractProtocol.java | 603|
|.apache.tomcat.util.net.JIoEndpoint$SocketProcessor|run |JIoEndpoint.java | 312|
|java.util.concurrent.ThreadPoolExecutor |runWorker |ThreadPoolExecutor.java |1142|
|java.util.concurrent.ThreadPoolExecutor$Worker |run |ThreadPoolExecutor.java | 617|
|java.lang.Thread |run |Thread.java | 745|