Persistence API /form Request

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

Persistence API /form Request

bwallis42
I'm having a problem with the form builder and my persistence API. I have an implementation (RestEASY)
of a call to the /form url that should return a list of the deployed forms. After my REST method returns the list I get an error in Orbeon,

"An empty sequence is not allowed as the second argument of xxf:sort() "

My return value looks OK (it is in the logging below). If there are no deployed forms and my method returns an empty list (<forms/>) then I don't get the error and I see the list of default forms. I've tried the return result with and without the "lang=ns" attribute but it doesn't make any difference.

The log is as follows (all running under JBoss AS 7.1.1, Orbeon version is 4.6.2.201408072232 PE).

Any idea what I'm doing wrong here?

tahnks

17:27:20,450 DEBUG [org.jboss.resteasy.core.SynchronousDispatcher] (http-localhost-127.0.0.1-8080-5) PathInfo: /form
17:27:20,450 INFO  [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5) GET /form Request Content-Type: null
17:27:20,450 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5) Path Parameters:
17:27:20,451 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5) Query Parameters:
17:27:20,451 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5) Request Headers:
17:27:20,451 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5)   cookie: JSESSIONID=N7KMaYWIMZjJ-92wl04bUMQy.undefined; JSESSIONIDSSO=DA05EE93E9902A4D46690C3AC736E847
17:27:20,451 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5)   orbeon-token: dbcc05c22df5a0cf40997305db34ffcc41e0f6be
17:27:20,451 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5)   host: localhost:8080
17:27:20,452 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5)   connection: Keep-Alive
17:27:20,452 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5) Returning formlist: {applicationName: "orbeon",formName: "fred",title: "fred",description: "Description"},
17:27:20,456 DEBUG [au.com.infomedix.orbeon.prototype.persistence.Persistence] (http-localhost-127.0.0.1-8080-5) FormList XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<forms xmlns:ns2="xml">
    <form>
        <application-name>orbeon</application-name>
        <form-name>fred</form-name>
        <title ns2:lang="en">fred</title>
        <description ns2:lang="en">Description</description>
    </form>
</forms>

17:27:20,596 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1) 
17:27:20,596 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     +----------------------------------------------------------------------------------------------------------------------+
17:27:20,597 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |An Error has Occurred                                                                                                 |
17:27:20,597 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,597 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |An empty sequence is not allowed as the second argument of xxf:sort()                                                 |
17:27:20,598 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,598 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |Application Call Stack                                                                                                |
17:27:20,599 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,599 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,599 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |Exception: org.orbeon.saxon.trans.XPathException                                                                      |
17:27:20,600 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,600 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.saxon.expr.Expression                   |typeError                     |Expression.java               | 981|
17:27:20,600 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.saxon.expr.CardinalityChecker           |evaluateItem                  |CardinalityChecker.java       | 277|
17:27:20,601 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.saxon.instruct.Choose                   |evaluateItem                  |Choose.java                   | 721|
17:27:20,601 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |rg.orbeon.oxf.xforms.function.xxforms.XXFormsSort$1|evaluateSortKey               |XXFormsSort.java              |  60|
17:27:20,601 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.saxon.sort.SortedIterator               |buildArray                    |SortedIterator.java           | 231|
17:27:20,602 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.saxon.sort.SortedIterator               |doSort                        |SortedIterator.java           | 248|
17:27:20,602 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.saxon.sort.SortedIterator               |next                          |SortedIterator.java           | 131|
17:27:20,602 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.scaxon.XML$$anon$2                      |<init>                        |XML.scala                     | 624|
17:27:20,603 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.scaxon.XML$                             |asScalaIterator               |XML.scala                     | 622|
17:27:20,603 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |.PooledXPathExpression$$anonfun$evaluateKeepItems$1|apply                         |PooledXPathExpression.scala   |  93|
17:27:20,603 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |.PooledXPathExpression$$anonfun$evaluateKeepItems$1|apply                         |PooledXPathExpression.scala   |  93|
17:27:20,604 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.DynamicVariable                |withValue                     |DynamicVariable.scala         |  42|
17:27:20,604 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.XPath$                         |withFunctionContext           |XPath.scala                   |  52|
17:27:20,604 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.PooledXPathExpression          |evaluateKeepItems             |PooledXPathExpression.scala   |  92|
17:27:20,605 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |on.oxf.util.XPathCache$$anonfun$evaluateKeepItems$1|apply                         |XPathCache.scala              | 130|
17:27:20,605 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |on.oxf.util.XPathCache$$anonfun$evaluateKeepItems$1|apply                         |XPathCache.scala              | 130|
17:27:20,606 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.XPathCache$                    |withEvaluation                |XPathCache.scala              | 506|
17:27:20,606 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,606 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |Exception: org.orbeon.oxf.common.ValidationException                                                                  |
17:27:20,607 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,607 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.common.OrbeonLocationException$     |wrapException                 |OrbeonLocationException.scala |  60|
17:27:20,607 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.XPath$                         |handleXPathException          |XPath.scala                   | 179|
17:27:20,607 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.XPathCache$                    |withEvaluation                |XPathCache.scala              | 516|
17:27:20,608 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.XPathCache$                    |evaluateKeepItems             |XPathCache.scala              | 129|
17:27:20,608 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.XPathCache                     |evaluateKeepItems             |XPathCache.scala              |    |
17:27:20,608 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|evaluateKeepItems             |XFormsActionInterpreter.java  | 295|
17:27:20,609 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |orbeon.oxf.xforms.action.actions.XFormsInsertAction|execute                       |XFormsInsertAction.java       | 109|
17:27:20,609 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.action.XFormsAction          |execute                       |XFormsAction.scala            |  36|
17:27:20,609 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runSingleIteration            |XFormsActionInterpreter.java  | 201|
17:27:20,610 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runAction                     |XFormsActionInterpreter.java  | 147|
17:27:20,610 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |ction.actions.XFormsActionAction$$anonfun$execute$1|apply                         |XFormsActionAction.scala      |  53|
17:27:20,610 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |ction.actions.XFormsActionAction$$anonfun$execute$1|apply                         |XFormsActionAction.scala      |  41|
17:27:20,610 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.Iterator$class                    |foreach                       |Iterator.scala                | 727|
17:27:20,611 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.AbstractIterator                  |foreach                       |Iterator.scala                |1157|
17:27:20,611 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.IterableLike$class                |foreach                       |IterableLike.scala            |  72|
17:27:20,611 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.AbstractIterable                  |foreach                       |Iterable.scala                |  54|
17:27:20,612 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |orbeon.oxf.xforms.action.actions.XFormsActionAction|execute                       |XFormsActionAction.scala      |  41|
17:27:20,612 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runSingleIteration            |XFormsActionInterpreter.java  | 201|
17:27:20,612 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runAction                     |XFormsActionInterpreter.java  | 147|
17:27:20,613 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply$mcV$sp                  |EventHandlerImpl.scala        | 257|
17:27:20,613 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply                         |EventHandlerImpl.scala        | 257|
17:27:20,613 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |forms.event.EventHandlerImpl$$anonfun$handleEvent$1|apply                         |EventHandlerImpl.scala        | 257|
17:27:20,613 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.DynamicVariable                |withValue                     |DynamicVariable.scala         |  42|
17:27:20,614 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.action.XFormsAPI$            |withScalaAction               |XFormsAPI.scala               |  47|
17:27:20,614 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.event.EventHandlerImpl       |handleEvent                   |EventHandlerImpl.scala        | 256|
17:27:20,614 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,615 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |Exception: org.orbeon.oxf.common.OXFException                                                                         |
17:27:20,615 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,615 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |ms.XFormsError$$anonfun$handleNonFatalXFormsError$2|apply                         |XFormsError.scala             |  83|
17:27:20,616 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |ms.XFormsError$$anonfun$handleNonFatalXFormsError$2|apply                         |XFormsError.scala             |  83|
17:27:20,616 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.XFormsError$                 |fatalOrNot                    |XFormsError.scala             | 102|
17:27:20,616 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.XFormsError$                 |handleNonFatalXFormsError     |XFormsError.scala             |  83|
17:27:20,616 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.XFormsError$                 |handleNonFatalActionError     |XFormsError.scala             |  72|
17:27:20,617 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.XFormsError                  |handleNonFatalActionError     |XFormsError.scala             |    |
17:27:20,617 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.XFormsModel                  |performDefaultAction          |XFormsModel.java              | 442|
17:27:20,617 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply$mcV$sp                  |Dispatch.scala                | 137|
17:27:20,618 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                         |Dispatch.scala                |  73|
17:27:20,618 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                         |Dispatch.scala                |  73|
17:27:20,618 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.event.Dispatch$              |withEvent$1                   |Dispatch.scala                |  38|
17:27:20,618 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.event.Dispatch$              |dispatchEvent                 |Dispatch.scala                |  72|
17:27:20,619 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,619 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |Exception: org.orbeon.oxf.common.ValidationException                                                                  |
17:27:20,619 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |----------------------------------------------------------------------------------------------------------------------|
17:27:20,620 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.common.OrbeonLocationException$     |wrapException                 |OrbeonLocationException.scala |  60|
17:27:20,620 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.event.Dispatch$              |dispatchEvent                 |Dispatch.scala                | 146|
17:27:20,620 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.event.EventHandlerImpl       |handleEvent                   |EventHandlerImpl.scala        | 267|
17:27:20,620 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply$mcV$sp                  |Dispatch.scala                |  93|
17:27:20,621 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply                         |Dispatch.scala                |  92|
17:27:20,621 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply                         |Dispatch.scala                |  92|
17:27:20,621 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.Logging$class                  |withDebug                     |Logging.scala                 |  50|
17:27:20,622 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.xforms.event.Dispatch$              |withDebug                     |Dispatch.scala                |  23|
17:27:20,622 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |nfun$$doPhase$1$1$$anonfun$apply$2$$anonfun$apply$4|apply                         |Dispatch.scala                |  92|
17:27:20,622 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |nfun$$doPhase$1$1$$anonfun$apply$2$$anonfun$apply$4|apply                         |Dispatch.scala                |  86|
17:27:20,622 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |ollection.TraversableLike$WithFilter$$anonfun$map$2|apply                         |TraversableLike.scala         | 722|
17:27:20,623 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.immutable.List                    |foreach                       |List.scala                    | 318|
17:27:20,623 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.TraversableLike$WithFilter        |map                           |TraversableLike.scala         | 721|
17:27:20,623 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |tch$$anonfun$$anonfun$$doPhase$1$1$$anonfun$apply$2|apply                         |Dispatch.scala                |  86|
17:27:20,624 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |tch$$anonfun$$anonfun$$doPhase$1$1$$anonfun$apply$2|apply                         |Dispatch.scala                |  85|
17:27:20,624 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.TraversableLike$$anonfun$flatMap$1|apply                         |TraversableLike.scala         | 251|
17:27:20,624 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.TraversableLike$$anonfun$flatMap$1|apply                         |TraversableLike.scala         | 251|
17:27:20,624 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.immutable.List                    |foreach                       |List.scala                    | 318|
17:27:20,625 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.TraversableLike$class             |flatMap                       |TraversableLike.scala         | 251|
17:27:20,625 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |scala.collection.AbstractTraversable               |flatMap                       |Traversable.scala             | 105|
17:27:20,625 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
17:27:20,626 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.webapp.ProcessorService             |service                       |ProcessorService.scala        |  41|
17:27:20,626 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply$mcV$sp                  |OrbeonServlet.scala           |  74|
17:27:20,626 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  67|
17:27:20,627 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  67|
17:27:20,627 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.util.ScalaUtils$                    |withRootException             |ScalaUtils.scala              | 118|
17:27:20,627 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.orbeon.oxf.servlet.OrbeonServlet               |service                       |OrbeonServlet.scala           |  67|
17:27:20,627 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |javax.servlet.http.HttpServlet                     |service                       |HttpServlet.java              | 847|
17:27:20,628 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter              |ApplicationFilterChain.java   | 329|
17:27:20,628 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.catalina.core.ApplicationFilterChain    |doFilter                      |ApplicationFilterChain.java   | 248|
17:27:20,628 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.catalina.core.StandardWrapperValve      |invoke                        |StandardWrapperValve.java     | 275|
17:27:20,629 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.catalina.core.StandardContextValve      |invoke                        |StandardContextValve.java     | 161|
17:27:20,629 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |oss.as.web.security.SecurityContextAssociationValve|invoke                        |SecurityContextAssociationValv| 153|
17:27:20,629 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 155|
17:27:20,630 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.catalina.valves.ErrorReportValve        |invoke                        |ErrorReportValve.java         | 102|
17:27:20,630 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.catalina.core.StandardEngineValve       |invoke                        |StandardEngineValve.java      | 109|
17:27:20,630 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 368|
17:27:20,631 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.coyote.http11.Http11Processor           |process                       |Http11Processor.java          | 877|
17:27:20,631 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |oyote.http11.Http11Protocol$Http11ConnectionHandler|process                       |Http11Protocol.java           | 671|
17:27:20,632 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |org.apache.tomcat.util.net.JIoEndpoint$Worker      |run                           |JIoEndpoint.java              | 930|
17:27:20,632 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     |java.lang.Thread                                   |run                           |Thread.java                   | 744|
17:27:20,632 ERROR [org.orbeon.oxf.xforms.processor.XFormsServer] (http-localhost-127.0.0.1-8080-1)     +----------------------------------------------------------------------------------------------------------------------+ {}
Reply | Threaded
Open this post in threaded view
|

Re: Persistence API /form Request

Erik Bruchez
Administrator
You are missing a required element:

    <last-modified-time>2014-09-11T17:31:46.691-07:00</last-modified-time>

I updated the documentation, which was a little bit out of date:

    http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/persistence-api#TOC-Deployed-forms-metadata

I hope this helps,

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Persistence API /form Request

bwallis42
Thanks. Adding the last-modified-time got it working.
Reply | Threaded
Open this post in threaded view
|

Re: Persistence API /form Request

Erik Bruchez
Administrator
Great, happy to hear this. -Erik