weblogic.xml.query.exceptions.XQueryDynamicException: ld:DataServices/CombinedDB/combined.ds, line 36, column 5: {err}FORG0005: expected exactly one item, got 0 items

Oracle Community | 666705 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error while testing XML based  logical data service

    Oracle Community | 1 decade ago | 666705
    weblogic.xml.query.exceptions.XQueryDynamicException: ld:DataServices/CombinedDB/combined.ds, line 36, column 5: {err}FORG0005: expected exactly one item, got 0 items

    Root Cause Analysis

    1. weblogic.xml.query.exceptions.XQueryDynamicException

      ld:DataServices/CombinedDB/combined.ds, line 36, column 5: {err}FORG0005: expected exactly one item, got 0 items

      at weblogic.xml.query.iterators.GenericIterator.reportUserError()
    2. weblogic.xml.query
      GenericIterator.next
      1. weblogic.xml.query.iterators.GenericIterator.reportUserError(GenericIterator.java:269)
      2. weblogic.xml.query.iterators.GenericIterator.reportUserError(GenericIterator.java:333)
      3. weblogic.xml.query.runtime.typing.SeqTypeMatching.checkOccurence(SeqTypeMatching.java:489)
      4. weblogic.xml.query.runtime.typing.SeqTypeMatching.fetchNext(SeqTypeMatching.java:151)
      5. weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
      5 frames
    3. com.bea.ld
      XmlFileIterator.open
      1. com.bea.ld.wrappers.xml.XmlFileIterator.buildDelegate(XmlFileIterator.java:150)
      2. com.bea.ld.wrappers.xml.XmlFileIterator.init(XmlFileIterator.java:80)
      3. com.bea.ld.wrappers.xml.XmlFileIterator.open(XmlFileIterator.java:54)
      3 frames
    4. weblogic.xml.query
      QueryIterator.open
      1. weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:161)
      2. weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:161)
      3. weblogic.xml.query.runtime.constructor.SuperElementConstructor.prepOpen(SuperElementConstructor.java:168)
      4. weblogic.xml.query.runtime.constructor.SuperElementConstructor.prepOpenElement(SuperElementConstructor.java:153)
      5. weblogic.xml.query.runtime.constructor.PartMatElemConstructor.open(PartMatElemConstructor.java:92)
      6. weblogic.xml.query.runtime.constructor.SuperElementConstructor.prepOpen(SuperElementConstructor.java:168)
      7. weblogic.xml.query.runtime.constructor.SuperElementConstructor.prepOpenElement(SuperElementConstructor.java:153)
      8. weblogic.xml.query.runtime.constructor.PartMatElemConstructor.open(PartMatElemConstructor.java:92)
      9. weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:161)
      10. weblogic.xml.query.runtime.querycide.QueryAssassin.open(QueryAssassin.java:43)
      11. weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:161)
      12. weblogic.xml.query.runtime.core.QueryIterator.open(QueryIterator.java:108)
      12 frames
    5. com.bea.ld
      ServerBean.executeFunction
      1. com.bea.ld.server.QueryInvocation.getResult(QueryInvocation.java:460)
      2. com.bea.ld.EJBRequestHandler.executeFunction(EJBRequestHandler.java:346)
      3. com.bea.ld.ServerBean.executeFunction(ServerBean.java:108)
      3 frames