Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S SADE
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

Dear Gitlab users, on Thursday, 19.10.2023, we will swith the login-method to SSO-only. If you are not sure what this means, please read our newest FAQ entry. Gitlab will not be available on that day between 5:00 pm and approximately 5:30 pm.

  • fontane-notizbuecherfontane-notizbuecher
  • SADE
  • Issues
  • #135

return type error in index-api

2019-12-30 14:33:15,216 [qtp1432888450-6352] ERROR (RestXqServlet.java [service]:108) - exerr:ERROR The actual return type does not match the sequence type declared in the function's signature: index:search(xs:string, item()*) array(*). Expected cardinality: exactly one, got 0. [at line 265, column 22, source: /db/apps/SADE/modules/fontane/index-api.xqm]
In function:
        index:search(xs:string, item()*) [-1:-1:/db/apps/SADE/modules/fontane/index-api.xqm] 
org.exquery.restxq.RestXqServiceException: exerr:ERROR The actual return type does not match the sequence type declared in the function's signature: index:search(xs:string, item()*) array(*). Expected cardinality: exactly one, got 0. [at line 265, column 22, source: /db/apps/SADE/modules/fontane/index-api.xqm]
In function:
        index:search(xs:string, item()*) [-1:-1:/db/apps/SADE/modules/fontane/index-api.xqm]
        at org.exist.extensions.exquery.restxq.impl.ResourceFunctionExecutorImpl.execute(ResourceFunctionExecutorImpl.java:197) ~[exist-restxq-4.7.0.jar:4.7.0]
        at org.exquery.restxq.impl.AbstractRestXqService.service(AbstractRestXqService.java:192) ~[exquery-restxq-0.1.34.jar:0.1.34]
        at org.exist.extensions.exquery.restxq.impl.RestXqServiceImpl.service(RestXqServiceImpl.java:124) ~[exist-restxq-4.7.0.jar:4.7.0]
        at org.exist.extensions.exquery.restxq.impl.RestXqServlet.service(RestXqServlet.java:87) [exist-restxq-4.7.0.jar:4.7.0]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [servlet-api-3.1.jar:3.1.0]
[…]
Assignee
Assign to
Time tracking