Error using a section 'library' in Orbeon 4 M12

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

Error using a section 'library' in Orbeon 4 M12

elson
Hi,

I created a simple library form, published it then tried to create a new form with the same application name, pressing "Reload Components" at the top of the toolbox. Trying to open that form again in Form Builder results in an error page and the following appears in the orbeon log.

2012-10-25 08:44:35,154 ERROR XSLTTransformer  - Error at line 135 of oxf:/forms/orbeon/builder/service/form-to-xbl.xsl:
An empty sequence is not allowed as the value of variable $section-bind
2012-10-25 08:44:35,158 ERROR PageFlowControllerProcessor  - error caught {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/service/custom/orbeon/builder/toolbox"}
2012-10-25 08:44:35,386 ERROR PageFlowControllerProcessor  -
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|An empty sequence is not allowed as the value of variable $section-bind                                               |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/forms/orbeon/builder/service/form-to-xbl.xsl        | 135|    |                                                  |
|oxf:/forms/orbeon/builder/service/form-to-xbl.xsl        | 135|    |executing XSLT transformation                     |
|oxf:/forms/orbeon/builder/service/toolbox.xpl            | 110|  45|executing processor                               |
|oxf:/apps/fr/page-flow.xml                               | 161|  60|reading page model data output                    |
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.saxon.trans.XPathException                                                                      |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.saxon.expr.Expression                   |typeError                     |Expression.java               | 981|
|org.orbeon.saxon.expr.CardinalityChecker           |evaluateItem                  |CardinalityChecker.java       | 277|
|org.orbeon.saxon.expr.ExpressionTool               |evaluate                      |ExpressionTool.java           | 296|
|org.orbeon.saxon.expr.LetExpression                |eval                          |LetExpression.java            | 339|
|org.orbeon.saxon.expr.LetExpression                |processLeavingTail            |LetExpression.java            | 548|
|org.orbeon.saxon.instruct.Template                 |applyLeavingTail              |Template.java                 | 203|
|org.orbeon.saxon.instruct.ApplyTemplates           |applyTemplates                |ApplyTemplates.java           | 345|
|org.orbeon.saxon.instruct.ApplyTemplates           |apply                         |ApplyTemplates.java           | 210|
|org.orbeon.saxon.instruct.ApplyTemplates           |processLeavingTail            |ApplyTemplates.java           | 174|
|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.Template                 |applyLeavingTail              |Template.java                 | 203|
|org.orbeon.saxon.instruct.ApplyTemplates           |applyTemplates                |ApplyTemplates.java           | 345|
|org.orbeon.saxon.Controller                        |transformDocument             |Controller.java               |1807|
|org.orbeon.saxon.TransformerHandlerImpl            |endDocument                   |TransformerHandlerImpl.java   | 144|
|org.orbeon.oxf.xml.ForwardingXMLReceiver           |endDocument                   |ForwardingXMLReceiver.java    |  84|
|org.orbeon.oxf.xml.SAXStore                        |replay                        |SAXStore.java                 | 334|
|org.orbeon.oxf.xml.SAXStore                        |replay                        |SAXStore.java                 | 236|
|org.orbeon.oxf.processor.transformer.xslt.XSLTTrans|runTransformer                |XSLTTransformer.java          | 467|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.orbeon.oxf.xml.ForwardingXMLReceiver           |endDocument                   |ForwardingXMLReceiver.java    |  84|
|org.orbeon.oxf.xml.SAXStore                        |replay                        |SAXStore.java                 | 334|
|org.orbeon.oxf.xml.SAXStore                        |replay                        |SAXStore.java                 | 236|
|org.orbeon.oxf.processor.transformer.xslt.XSLTTrans|runTransformer                |XSLTTransformer.java          | 467|
|org.orbeon.oxf.processor.transformer.xslt.XSLTTrans|readImpl                      |XSLTTransformer.java          | 187|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.converter.TextConverterBas|readInput                     |TextConverterBase.java        | 112|
|org.orbeon.oxf.processor.converter.TextConverterBas|access$000                    |TextConverterBase.java        |  38|
|org.orbeon.oxf.processor.converter.TextConverterBas|readImpl                      |TextConverterBase.java        |  90|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeP|readImpl                      |TeeProcessor.java             |  89|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|org.orbeon.oxf.processor.transformer.xslt.XSLTTrans|runTransformer                |XSLTTransformer.java          | 469|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                  |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.processor.transformer.xslt.XSLTTrans|runTransformer                |XSLTTransformer.java          | 520|
|org.orbeon.oxf.processor.transformer.xslt.XSLTTrans|readImpl                      |XSLTTransformer.java          | 187|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.validation.MSVValidationPr|readImpl                      |MSVValidationProcessor.java   | 226|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsDOM4J              |ProcessorImpl.java            | 279|
|org.orbeon.oxf.processor.serializer.HttpSerializerB|read                          |HttpSerializerBase.java       | 222|
|org.orbeon.oxf.processor.serializer.HttpSerializerB|read                          |HttpSerializerBase.java       | 220|
|org.orbeon.oxf.processor.ProcessorImpl             |readCacheInputAsObject        |ProcessorImpl.java            | 363|
|org.orbeon.oxf.processor.serializer.HttpSerializerB|readConfig                    |HttpSerializerBase.java       | 219|
|org.orbeon.oxf.processor.serializer.HttpSerializerB|start                         |HttpSerializerBase.java       |  73|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                         |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.processor.serializer.HttpSerializerB|start                         |HttpSerializerBase.java       | 214|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        | 617|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                  |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.ValidationException          |wrapException                 |ValidationException.java      | 126|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        | 619|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 614|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        | 617|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 614|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|getInput                      |PipelineProcessor.java        | 140|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|readImpl                      |PipelineProcessor.java        |  83|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.pipeline.choose.ConcreteCh|readImpl                      |ConcreteChooseProcessor.java  | 127|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|org.orbeon.oxf.processor.IdentityProcessor$1       |readImpl                      |IdentityProcessor.java        |  34|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        |  92|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                    |PipelineProcessor.java        |  59|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|readImpl                      |PipelineProcessor.java        |  90|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.pipeline.choose.ConcreteCh|readImpl                      |ConcreteChooseProcessor.java  | 127|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        | 535|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeParents                |PipelineProcessor.java        | 696|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$400                    |PipelineProcessor.java        |  59|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|readImpl                      |PipelineProcessor.java        | 531|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|org.orbeon.oxf.processor.NullSerializer            |start                         |NullSerializer.java           |  28|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                         |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.processor.NullSerializer            |start                         |NullSerializer.java           |  30|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        | 617|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                  |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.ValidationException          |wrapException                 |ValidationException.java      | 126|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        | 619|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 614|
|org.orbeon.oxf.processor.pipeline.choose.ConcreteCh|start                         |ConcreteChooseProcessor.java  | 248|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        | 617|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 614|
|org.orbeon.oxf.controller.PageFlowControllerProcess|process                       |PageFlowControllerProcessor.sc| 469|
|org.orbeon.oxf.controller.PageFlowControllerProcess|start                         |PageFlowControllerProcessor.sc| 164|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|run                           |PipelineProcessor.java        | 617|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 614|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|getInput                      |PipelineProcessor.java        | 140|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|readImpl                      |PipelineProcessor.java        |  83|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.pipeline.choose.ConcreteCh|readImpl                      |ConcreteChooseProcessor.java  | 127|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl$T|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.orbeon.oxf.pipeline.InitUtils$                 |runProcessor                  |InitUtils.scala               |  81|
|org.orbeon.oxf.webapp.ProcessorService             |service                       |ProcessorService.scala        |  40|
|org.orbeon.oxf.servlet.OrbeonServlet$$anonfun$servi|apply$mcV$sp                  |OrbeonServlet.scala           |  74|
|org.orbeon.oxf.servlet.OrbeonServlet$$anonfun$servi|apply                         |OrbeonServlet.scala           |  67|
|org.orbeon.oxf.servlet.OrbeonServlet$$anonfun$servi|apply                         |OrbeonServlet.scala           |  67|
|org.orbeon.oxf.util.ScalaUtils$                    |withRootException             |ScalaUtils.scala              | 114|
|org.orbeon.oxf.servlet.OrbeonServlet               |service                       |OrbeonServlet.scala           |  67|
|javax.servlet.http.HttpServlet                     |service                       |HttpServlet.java              | 717|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter              |ApplicationFilterChain.java   | 290|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                      |ApplicationFilterChain.java   | 206|
|org.apache.catalina.core.StandardWrapperValve      |invoke                        |StandardWrapperValve.java     | 233|
|org.apache.catalina.core.StandardContextValve      |invoke                        |StandardContextValve.java     | 191|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 127|
|org.apache.catalina.valves.ErrorReportValve        |invoke                        |ErrorReportValve.java         | 102|
|org.apache.catalina.core.StandardEngineValve       |invoke                        |StandardEngineValve.java      | 109|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 293|
|org.apache.coyote.http11.Http11Processor           |process                       |Http11Processor.java          | 859|
|org.apache.coyote.http11.Http11Protocol$Http11Conne|process                       |Http11Protocol.java           | 602|
|org.apache.tomcat.util.net.JIoEndpoint$Worker      |run                           |JIoEndpoint.java              | 489|
|java.lang.Thread                                   |run                           |Thread.java                   | 679|
+----------------------------------------------------------------------------------------------------------------------+ {}
2012-10-25 08:44:35,399 INFO  ProcessorService  - /fr/service/custom/orbeon/builder/toolbox - Timing: 1445

Reply | Threaded
Open this post in threaded view
|

Re: Error using a section 'library' in Orbeon 4 M12

Erik Bruchez
Administrator
Thanks, I entered an issue:

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

-Erik

On Thu, Oct 25, 2012 at 8:53 AM, elson <[hidden email]> wrote:

> Hi,
>
> I created a simple library form, published it then tried to create a new
> form with the same application name, pressing "Reload Components" at the top
> of the toolbox. Trying to open that form again in Form Builder results in an
> error page and the following appears in the orbeon log.
>
>
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Error-using-a-section-library-in-Orbeon-4-M12-tp4655915.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: Error using a section 'library' in Orbeon 4 M12

Erik Bruchez
Administrator
And this is now fixed. The fix will be in M13. Thanks for reporting!

-Erik

On Thu, Oct 25, 2012 at 12:20 PM, Erik Bruchez <[hidden email]> wrote:

> Thanks, I entered an issue:
>
> https://github.com/orbeon/orbeon-forms/issues/516
>
> -Erik
>
> On Thu, Oct 25, 2012 at 8:53 AM, elson <[hidden email]> wrote:
>> Hi,
>>
>> I created a simple library form, published it then tried to create a new
>> form with the same application name, pressing "Reload Components" at the top
>> of the toolbox. Trying to open that form again in Form Builder results in an
>> error page and the following appears in the orbeon log.
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Error-using-a-section-library-in-Orbeon-4-M12-tp4655915.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: Error using a section 'library' in Orbeon 4 M12

elson
Great, thanks Erik