Publish form via Form Builder - no such element error

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

Publish form via Form Builder - no such element error

Jarosław Kowalewski
Hi,
I have such problem with publishing form. I did a research and think the problem
is related to the grid with repeat="content". When I remove repeat="content" attribute I can publish document.

<fr:grid repeat="content" min="3" name="myrepeat"
                            
ref="instance('fr-form-instance')/Document/Projekt/Risks"
                            
template="instance('origin')/Document/Projekt/Risks/Risk"
                              apply-defaults="true"
                              fb:initial-iterations="first"
                              id="grid-661-grid">
                              
                    
                        <fr:c y="1" x="1" w="12">
                          <xf:select1 id="select1-11-control"
ref="Prawdopodobienstwo">
                              <xf:label id="label-161-control"
ref="$form-resources/labels/label_126"/>
                              <xf:itemset id="itemset-12-control"
                                        
nodeset="$form-resources/labels/dictionaries/dict[@id = 'skala14']/item">
                                <xf:label id="label-162-control"
ref="@label"/>
                                <xf:value id="value-12-control"
ref="@value"/>
                              </xf:itemset>
                          </xf:select1>
                        </fr:c>
                      
                      
                    </fr:grid>

and the error log. I don't see any answer analyzing the log. Of course I
know it's related to migration process but why is the error. This form is
written manually and when I use form builder I don't jave any problem. 

Where should I search the root cause?

2018-04-30 16:02:27,509 DEBUG XFormsServer  -                              
exception while running action {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|None.get                                                                                                            
|
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                              
|
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/forms/orbeon/builder/form/add-migration.xpl                                
|reading processor output      |  65|
|······················································································································|
|element=<p:output name="data" ref="data"/>                                                                          
|
|name  =data                                                                                                        
|
|ref    =data                                                                                                        
|
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/forms/orbeon/builder/form/add-migration.xpl                                
|executing XSLT transformation |    |
|oxf:/apps/fr/services/publish.xhtml                                              
|gathering static information  | 213|
|······················································································································|
|element=<xf:var name=&quot;result&quot; value=&quot;                        
for $form-maybe-upgraded in                            |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/services/publish.xhtml                                              
|evaluating XPath expression  | 213|
|······················································································································|
|expression=                        for $form-maybe-upgraded in                            
if ($upgrade) then        |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/services/publish.xhtml                                              
|running XForms action        | 100|
|······················································································································|
|element    =&lt;xf:action event=&quot;do-publish&quot;
id=&quot;xf-12&quot;>[...]</xf:action>                                              
|
|action name=xf:action                                                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: java.util.NoSuchElementException                                                                          
|
|----------------------------------------------------------------------------------------------------------------------|
|scala.None$                                        |get                          
|Option.scala                  | 347|
|scala.None$                                        |get                          
|Option.scala                  | 345|
|org.orbeon.oxf.fb.MigrationOps$                  
|org$orbeon$oxf$fb$MigrationOps|MigrationOps.scala            |  90|
|org.orbeon.oxf.fb.MigrationOps$$anonfun$4          |apply                        
|MigrationOps.scala            |  97|
|org.orbeon.oxf.fb.MigrationOps$$anonfun$4          |apply                        
|MigrationOps.scala            |  97|
|scala.collection.immutable.Stream                  |map                          
|Stream.scala                  | 418|
|org.orbeon.oxf.fb.MigrationOps$                    |pathsForBinding$1            
|MigrationOps.scala            |  96|
|org.orbeon.oxf.fb.MigrationOps$                    |buildGridMigrationMap        
|MigrationOps.scala            | 121|
|org.orbeon.oxf.fb.MigrationOps                    |buildGridMigrationMap        
|MigrationOps.scala            |    |
|sun.reflect.NativeMethodAccessorImpl              |invoke0                      
|NativeMethodAccessorImpl.java |    |
|sun.reflect.NativeMethodAccessorImpl              |invoke                      
|NativeMethodAccessorImpl.java |  57|
|sun.reflect.DelegatingMethodAccessorImpl          |invoke                      
|DelegatingMethodAccessorImpl.j|  43|
|java.lang.reflect.Method                          |invoke                      
|Method.java                  | 606|
|org.orbeon.saxon.functions.ExtensionFunctionCall  |invokeMethod                
|ExtensionFunctionCall.java    | 690|
|org.orbeon.saxon.functions.ExtensionFunctionCall  |call                        
|ExtensionFunctionCall.java    | 343|
|org.orbeon.saxon.functions.ExtensionFunctionCall  |iterate                      
|ExtensionFunctionCall.java    | 224|
|org.orbeon.saxon.expr.Expression                  |evaluateItem                
|Expression.java              | 352|
|org.orbeon.saxon.expr.Expression                  |process                      
|Expression.java              | 461|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.expr.ExpressionTool              |evaluate                    
|ExpressionTool.java          | 321|
|org.orbeon.saxon.expr.LetExpression                |eval                        
|LetExpression.java            | 339|
|org.orbeon.saxon.expr.LetExpression                |process                      
|LetExpression.java            | 370|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Block                    |processLeavingTail          
|Block.java                    | 556|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.ElementCreator          |processLeavingTail          
|ElementCreator.java          | 296|
|org.orbeon.saxon.instruct.Copy                    |processLeavingTail          
|Copy.java                    | 217|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Template                |applyLeavingTail            
|Template.java                | 203|
|org.orbeon.saxon.instruct.ApplyTemplates          |applyTemplates              
|ApplyTemplates.java          | 293|
|org.orbeon.saxon.instruct.ApplyTemplates          |apply                        
|ApplyTemplates.java          | 210|
|org.orbeon.saxon.instruct.ApplyTemplates          |process                      
|ApplyTemplates.java          | 170|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.orbeon.saxon.instruct.ElementCreator          |processLeavingTail          
|ElementCreator.java          | 296|
|org.orbeon.saxon.instruct.Copy                    |processLeavingTail          
|Copy.java                    | 217|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Template                |applyLeavingTail            
|Template.java                | 203|
|org.orbeon.saxon.instruct.ApplyTemplates          |applyTemplates              
|ApplyTemplates.java          | 293|
|org.orbeon.saxon.instruct.ApplyTemplates          |apply                        
|ApplyTemplates.java          | 210|
|org.orbeon.saxon.instruct.ApplyTemplates          |process                      
|ApplyTemplates.java          | 170|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.ElementCreator          |processLeavingTail          
|ElementCreator.java          | 296|
|org.orbeon.saxon.instruct.Copy                    |processLeavingTail          
|Copy.java                    | 217|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Template                |applyLeavingTail            
|Template.java                | 203|
|org.orbeon.saxon.instruct.ApplyTemplates          |applyTemplates              
|ApplyTemplates.java          | 293|
|org.orbeon.saxon.instruct.ApplyTemplates          |apply                        
|ApplyTemplates.java          | 210|
|org.orbeon.saxon.instruct.ApplyTemplates          |process                      
|ApplyTemplates.java          | 170|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.ElementCreator          |processLeavingTail          
|ElementCreator.java          | 296|
|org.orbeon.saxon.instruct.Copy                    |processLeavingTail          
|Copy.java                    | 217|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Instruction              |process                      
|Instruction.java              |  93|
|org.orbeon.saxon.instruct.TraceWrapper            |processLeavingTail          
|TraceWrapper.java            | 104|
|org.orbeon.saxon.instruct.Template                |applyLeavingTail            
|Template.java                | 203|
|org.orbeon.saxon.instruct.ApplyTemplates          |applyTemplates              
|ApplyTemplates.java          | 293|
|org.orbeon.saxon.instruct.ApplyTemplates          |defaultAction                
|ApplyTemplates.java          | 378|
|org.orbeon.saxon.instruct.ApplyTemplates          |applyTemplates              
|ApplyTemplates.java          | 284|
|org.orbeon.saxon.Controller                        |transformDocument            
|Controller.java              |1807|
|org.orbeon.saxon.TransformerHandlerImpl            |endDocument                  
|TransformerHandlerImpl.java  | 144|
|org.orbeon.oxf.xml.ForwardingXMLReceiver          |endDocument                  
|ForwardingXMLReceiver.java    |  83|
|org.orbeon.oxf.xml.SAXStore                        |replay                      
|SAXStore.java                | 333|
|org.orbeon.oxf.xml.SAXStore                        |replay                      
|SAXStore.java                | 235|
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|runTransformer              
|XSLTTransformer.java          | 468|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$    |wrapException                
|OrbeonLocationException.scala |  60|
|org.orbeon.oxf.common.OrbeonLocationException      |wrapException                
|OrbeonLocationException.scala |    |
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|runTransformer              
|XSLTTransformer.java          | 526|
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|readImpl                    
|XSLTTransformer.java          | 188|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                        
|ProcessorOutputImpl.java      | 256|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                        
|ProcessorOutputImpl.java      | 392|
|org.orbeon.oxf.processor.ProcessorImpl            |readInputAsSAX              
|ProcessorImpl.java            | 262|
|orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run                          
|PipelineProcessor.java        |  93|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                  
|PipelineProcessor.java        |  60|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|readImpl                    
|PipelineProcessor.java        |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                        
|ProcessorOutputImpl.java      | 256|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                        
|ProcessorOutputImpl.java      | 392|
|org.orbeon.oxf.processor.ProcessorImpl            |readInputAsSAX              
|ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl            |readInputAsOrbeonDom        
|ProcessorImpl.java            | 279|
|org.orbeon.oxf.processor.ProcessorImpl$2          |read                        
|ProcessorImpl.java            | 314|
|org.orbeon.oxf.processor.ProcessorImpl$2          |read                        
|ProcessorImpl.java            | 312|
|org.orbeon.oxf.processor.ProcessorImpl            |readCacheInputAsObject      
|ProcessorImpl.java            | 368|
|org.orbeon.oxf.processor.ProcessorImpl            |readCacheInputAsDOM4J        
|ProcessorImpl.java            | 312|
|org.orbeon.oxf.processor.DOMSerializer            |runGetDocument              
|DOMSerializer.scala          |  49|
|org.orbeon.saxon.function.CallXPL                  |iterate                      
|CallXPL.java                  | 175|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                        
|
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.saxon.function.CallXPL                  |iterate                      
|CallXPL.java                  | 183|
|org.orbeon.saxon.instruct.BlockIterator            |next                        
|BlockIterator.java            |  42|
|org.orbeon.saxon.function.CallXPL                  |iterate                      
|CallXPL.java                  |  82|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                        
|
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.saxon.function.CallXPL                  |iterate                      
|CallXPL.java                  | 183|
|org.orbeon.saxon.instruct.Choose                  |iterate                      
|Choose.java                  | 754|
|org.orbeon.saxon.expr.ForExpression                |iterate                      
|ForExpression.java            | 624|
|org.orbeon.saxon.expr.LetExpression                |iterate                      
|LetExpression.java            | 306|
|org.orbeon.saxon.sxpath.XPathExpression            |iterate                      
|XPathExpression.java          | 141|
|org.orbeon.oxf.util.PooledXPathExpression        
|org$orbeon$oxf$util$PooledXPat|PooledXPathExpression.scala  | 172|
|l.PooledXPathExpression$$anonfun$evaluateAsExtent$1|apply                        
|PooledXPathExpression.scala  | 109|
|l.PooledXPathExpression$$anonfun$evaluateAsExtent$1|apply                        
|PooledXPathExpression.scala  | 109|
|org.orbeon.oxf.util.DynamicVariable                |withValue                    
|DynamicVariable.scala        |  42|
|org.orbeon.oxf.util.XPath$                        |withFunctionContext          
|XPath.scala                  |  62|
|org.orbeon.oxf.util.PooledXPathExpression          |evaluateAsExtent            
|PooledXPathExpression.scala  | 108|
|eon.oxf.util.XPathCache$$anonfun$evaluateAsExtent$1|apply                        
|XPathCache.scala              | 264|
|eon.oxf.util.XPathCache$$anonfun$evaluateAsExtent$1|apply                        
|XPathCache.scala              | 264|
|org.orbeon.oxf.util.XPathCache$                    |withEvaluation              
|XPathCache.scala              | 703|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$    |wrapException                
|OrbeonLocationException.scala |  60|
|org.orbeon.oxf.util.XPath$                        |handleXPathException        
|XPath.scala                  | 370|
|org.orbeon.oxf.util.XPathCache$                    |withEvaluation              
|XPathCache.scala              | 713|
|org.orbeon.oxf.util.XPathCache$                    |evaluateAsExtent            
|XPathCache.scala              | 263|
|org.orbeon.oxf.xforms.Variable                    
|org$orbeon$oxf$xforms$Variable|Variable.scala                |  95|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                        
|
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.xforms.Variable                    
|org$orbeon$oxf$xforms$Variable|Variable.scala                | 114|
|org.orbeon.oxf.xforms.Variable$$anonfun$1          |apply                        
|Variable.scala                |  46|
|org.orbeon.oxf.xforms.Variable$$anonfun$1          |apply                        
|Variable.scala                |  44|
|scala.Option                                      |getOrElse                    
|Option.scala                  | 121|
|org.orbeon.oxf.xforms.Variable                    |valueEvaluateIfNeeded        
|Variable.scala                |  44|
|org.orbeon.oxf.xforms.XFormsContextStack          |scopeVariable                
|XFormsContextStack.java      | 222|
|ction.actions.XFormsActionAction$$anonfun$execute$4|apply                        
|XFormsActionAction.scala      |  90|
|ction.actions.XFormsActionAction$$anonfun$execute$4|apply                        
|XFormsActionAction.scala      |  83|
|scala.collection.Iterator$class                    |foreach                      
|Iterator.scala                | 891|
|scala.collection.AbstractIterator                  |foreach                      
|Iterator.scala                |1334|
|scala.collection.IterableLike$class                |foreach                      
|IterableLike.scala            |  72|
|scala.collection.AbstractIterable                  |foreach                      
|Iterable.scala                |  54|
|orbeon.oxf.xforms.action.actions.XFormsActionAction|execute                      
|XFormsActionAction.scala      |  83|
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runSingleIteration          
|XFormsActionInterpreter.java  | 224|
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runAction                    
|XFormsActionInterpreter.java  | 160|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$    |wrapException                
|OrbeonLocationException.scala |  60|
|org.orbeon.oxf.common.OrbeonLocationException      |wrapException                
|OrbeonLocationException.scala |    |
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runAction                    
|XFormsActionInterpreter.java  | 167|
|forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply$mcV$sp                
|EventHandlerImpl.scala        | 257|
|forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply                        
|EventHandlerImpl.scala        | 257|
|forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply                        
|EventHandlerImpl.scala        | 257|
|org.orbeon.oxf.util.DynamicVariable                |withValue                    
|DynamicVariable.scala        |  42|
|org.orbeon.oxf.xforms.action.XFormsAPI$            |withScalaAction              
|XFormsAPI.scala              |  50|
|org.orbeon.oxf.xforms.event.EventHandlerImpl      |handleEvent                  
|EventHandlerImpl.scala        | 256|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply$mcV$sp                
|Dispatch.scala                |  99|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply                        
|Dispatch.scala                |  98|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply                        
|Dispatch.scala                |  98|
|org.orbeon.oxf.util.Logging$class                  |withDebug                    
|Logging.scala                |  50|
|org.orbeon.oxf.xforms.event.Dispatch$              |withDebug                    
|Dispatch.scala                |  29|
|nfun$$doPhase$1$1$$anonfun$apply$2$$anonfun$apply$4|apply                        
|Dispatch.scala                |  98|
|nfun$$doPhase$1$1$$anonfun$apply$2$$anonfun$apply$4|apply                        
|Dispatch.scala                |  92|
|ollection.TraversableLike$WithFilter$$anonfun$map$2|apply                        
|TraversableLike.scala        | 683|
|scala.collection.immutable.List                    |foreach                      
|List.scala                    | 392|
|scala.collection.TraversableLike$WithFilter        |map                          
|TraversableLike.scala        | 682|
|tch$$anonfun$$anonfun$$doPhase$1$1$$anonfun$apply$2|apply                        
|Dispatch.scala                |  92|
|tch$$anonfun$$anonfun$$doPhase$1$1$$anonfun$apply$2|apply                        
|Dispatch.scala                |  91|
|scala.collection.immutable.List                    |flatMap                      
|List.scala                    | 338|
|forms$event$Dispatch$$anonfun$$anonfun$$doPhase$1$1|apply                        
|Dispatch.scala                |  91|
|forms$event$Dispatch$$anonfun$$anonfun$$doPhase$1$1|apply                        
|Dispatch.scala                |  90|
|scala.collection.immutable.List                    |flatMap                      
|List.scala                    | 338|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|org$orbeon$oxf$xforms$event$Di|Dispatch.scala              
|  90|
|t$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$5|apply                        
|Dispatch.scala                | 120|
|t$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$5|apply                        
|Dispatch.scala                | 120|
|scala.Option                                      |foreach                      
|Option.scala                  | 257|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply$mcV$sp                
|Dispatch.scala                | 120|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply                        
|Dispatch.scala                |  80|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply                        
|Dispatch.scala                |  80|
|org.orbeon.oxf.util.Logging$class                  |withDebug                    
|Logging.scala                |  50|
|org.orbeon.oxf.xforms.event.Dispatch$              |withDebug                    
|Dispatch.scala                |  29|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply$mcV$sp                
|Dispatch.scala                |  80|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                        
|Dispatch.scala                |  79|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                        
|Dispatch.scala                |  79|
|org.orbeon.oxf.xforms.event.Dispatch$              |withEvent$1                  
|Dispatch.scala                |  44|
|org.orbeon.oxf.xforms.event.Dispatch$              |dispatchEvent                
|Dispatch.scala                |  78|
|eon.oxf.xforms.action.actions.XFormsDispatchAction$|dispatch                    
|XFormsDispatchAction.scala    | 153|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|javax.servlet.http.HttpServlet                    |service                      
|HttpServlet.java              | 742|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter            
|ApplicationFilterChain.java  | 231|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                    
|ApplicationFilterChain.java  | 166|
|org.apache.tomcat.websocket.server.WsFilter        |doFilter                    
|WsFilter.java                |  52|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter            
|ApplicationFilterChain.java  | 193|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                    
|ApplicationFilterChain.java  | 166|
|org.orbeon.oxf.servlet.FormRunnerAuthFilter        |doFilter                    
|FormRunnerAuthFilter.scala    |  24|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter            
|ApplicationFilterChain.java  | 193|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                    
|ApplicationFilterChain.java  | 166|
|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        | 125|
|.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        | 125|
|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  | 193|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                    
|ApplicationFilterChain.java  | 166|
|org.apache.catalina.core.StandardWrapperValve      |invoke                      
|StandardWrapperValve.java    | 198|
|org.apache.catalina.core.StandardContextValve      |invoke                      
|StandardContextValve.java    |  96|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke                      
|AuthenticatorBase.java        | 496|
|org.apache.catalina.core.StandardHostValve        |invoke                      
|StandardHostValve.java        | 140|
|org.apache.catalina.valves.ErrorReportValve        |invoke                      
|ErrorReportValve.java        |  81|
|org.apache.catalina.valves.AbstractAccessLogValve  |invoke                      
|AbstractAccessLogValve.java  | 650|
|org.apache.catalina.core.StandardEngineValve      |invoke                      
|StandardEngineValve.java      |  87|
|org.apache.catalina.connector.CoyoteAdapter        |service                      
|CoyoteAdapter.java            | 342|
|org.apache.coyote.http11.Http11Processor          |service                      
|Http11Processor.java          | 803|
|org.apache.coyote.AbstractProcessorLight          |process                      
|AbstractProcessorLight.java  |  66|
|rg.apache.coyote.AbstractProtocol$ConnectionHandler|process 

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Publish form via Form Builder - no such element error

Alessandro  Vernet
Administrator
Hi Jarek,

It sounds you've hit issue #3568, which we've just fixed. If you're using
Orbeon Forms PE, I would encourage you to contact us through support for a
patch.

https://github.com/orbeon/orbeon-forms/issues/3568

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Publish form via Form Builder - no such element error

Jarosław Kowalewski
Thank you Alex.

Do you think I can receive a patch to test it on my local installation on the laptop?
I need to test and publish my forms - I have a strict deadline and I'm not sure if this path resolves my problem. 

Jarek

2018-05-01 20:07 GMT+02:00 Alessandro Vernet <[hidden email]>:
Hi Jarek,

It sounds you've hit issue #3568, which we've just fixed. If you're using
Orbeon Forms PE, I would encourage you to contact us through support for a
patch.

https://github.com/orbeon/orbeon-forms/issues/3568

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Publish form via Form Builder - no such element error

Alessandro  Vernet
Administrator
Hi Jarek,

Certainly, you can try this test build. Just make sure not to use this in
production :).

https://s3.amazonaws.com/orbeon-builds/orbeon/orbeon-forms/4327/4327.2/build/distrib/orbeon-2018.1-SNAPSHOT.201804301931-CE.war

Alex



-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Publish form via Form Builder - no such element error

Jarosław Kowalewski
Thanks a lot Alex. 
I've tested my case and it was not related to a mentioned by you bug. 
I found the other reason - and I was really surprised why it doesn't work.

In nutshell, the problem is with xf:bind structure. Please see in the attachment TEST CASE 1 and 2.

TEST case 3 and 4 as additional things but I don't think it's a bug. 

Jarek


W dniu czwartek, 3 maja 2018 01:33:19 UTC+2 użytkownik Alessandro Vernet napisał:
Hi Jarek,

Certainly, you can try this test build. Just make sure not to use this in
production :).

<a href="https://s3.amazonaws.com/orbeon-builds/orbeon/orbeon-forms/4327/4327.2/build/distrib/orbeon-2018.1-SNAPSHOT.201804301931-CE.war" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fs3.amazonaws.com%2Forbeon-builds%2Forbeon%2Forbeon-forms%2F4327%2F4327.2%2Fbuild%2Fdistrib%2Forbeon-2018.1-SNAPSHOT.201804301931-CE.war\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFbfjQp4dn3Fv0j1iZ2VELeW2Dkwg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fs3.amazonaws.com%2Forbeon-builds%2Forbeon%2Forbeon-forms%2F4327%2F4327.2%2Fbuild%2Fdistrib%2Forbeon-2018.1-SNAPSHOT.201804301931-CE.war\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFbfjQp4dn3Fv0j1iZ2VELeW2Dkwg&#39;;return true;">https://s3.amazonaws.com/orbeon-builds/orbeon/orbeon-forms/4327/4327.2/build/distrib/orbeon-2018.1-SNAPSHOT.201804301931-CE.war

Alex



-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

wniosek_ob.xml (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Publish form via Form Builder - no such element error

Jarosław Kowalewski
And I can add also that template cannot be an xpath to subtree in existing instance.

E.g.
template="instance('origin')/Document/items/item".

BR,
Jarek

Maybe it works like that by design but is more difficult do produce easy-to-read code.

W dniu czwartek, 3 maja 2018 15:34:48 UTC+2 użytkownik Jarek napisał:
Thanks a lot Alex. 
I've tested my case and it was not related to a mentioned by you bug. 
I found the other reason - and I was really surprised why it doesn't work.

In nutshell, the problem is with xf:bind structure. Please see in the attachment TEST CASE 1 and 2.

TEST case 3 and 4 as additional things but I don't think it's a bug. 

Jarek


W dniu czwartek, 3 maja 2018 01:33:19 UTC+2 użytkownik Alessandro Vernet napisał:
Hi Jarek,

Certainly, you can try this test build. Just make sure not to use this in
production :).

<a href="https://s3.amazonaws.com/orbeon-builds/orbeon/orbeon-forms/4327/4327.2/build/distrib/orbeon-2018.1-SNAPSHOT.201804301931-CE.war" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fs3.amazonaws.com%2Forbeon-builds%2Forbeon%2Forbeon-forms%2F4327%2F4327.2%2Fbuild%2Fdistrib%2Forbeon-2018.1-SNAPSHOT.201804301931-CE.war\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFbfjQp4dn3Fv0j1iZ2VELeW2Dkwg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fs3.amazonaws.com%2Forbeon-builds%2Forbeon%2Forbeon-forms%2F4327%2F4327.2%2Fbuild%2Fdistrib%2Forbeon-2018.1-SNAPSHOT.201804301931-CE.war\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFbfjQp4dn3Fv0j1iZ2VELeW2Dkwg&#39;;return true;">https://s3.amazonaws.com/orbeon-builds/orbeon/orbeon-forms/4327/4327.2/build/distrib/orbeon-2018.1-SNAPSHOT.201804301931-CE.war

Alex



-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: <a href="http://discuss.orbeon.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Publish form via Form Builder - no such element error

Alessandro  Vernet
Administrator
Hi Jarek,

Thank you for the sample code. The 2 cases where publish doesn't work are
with code that wasn't generated by the current Form Builder (or an older
version of Form Builder), and thus those cases just aren't supported. If you
edit the source by hand, I'd recommend you to be careful to follow the same
code structure that Form Builder does generate. And of course, just let me
know if I'm missing something.

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Publish form via Form Builder - no such element error

Jarosław Kowalewski
Hi Alex,
I understand your point of view :) I know I edited (to be honest I didn't use form builder at all) code outside builder. 
My question is - why the validator doesn't approve such code even if the code works fine in Form Builder and even more important works in TEST - 
test button available in form builder. 
I'm just curious if it's only validator restriction - such code just works fine. 

Jarek

W dniu piątek, 4 maja 2018 01:27:25 UTC+2 użytkownik Alessandro Vernet napisał:
Hi Jarek,

Thank you for the sample code. The 2 cases where publish doesn't work are
with code that wasn't generated by the current Form Builder (or an older
version of Form Builder), and thus those cases just aren't supported. If you
edit the source by hand, I'd recommend you to be careful to follow the same
code structure that Form Builder does generate. And of course, just let me
know if I'm missing something.

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Publish form via Form Builder - no such element error

Alessandro  Vernet
Administrator
Hi Jarek,

When you paste source in Form Builder, there isn't as much validation as you
would expect. We have an RFE (#816, linked below), to improve this. But, in
the meantime, you'll need to be careful when making changes to the source
;), especially if those changes aren't like something that Form Builder
generates.

https://github.com/orbeon/orbeon-forms/issues/816

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet