Subject:Error Please Help Author:Myron Chavez Date:16 May 2013 11:56 AM
avax.xml.xquery.XQQueryException: [DataDirect][XQuery][err:XPTY0004]A sequence with more than one item does not match the type xs:untypedAtomic? according to the Sequence Type Matching rules.
at com.ddtek.xquery.xqj.Util.createXQQueryException(Util.java:341)
at com.ddtek.xquery.xqj.Util.createXQException(Util.java:241)
at com.ddtek.xquery.xqj.DDXQPreparedExpression.executeQuery(DDXQPreparedExpression.java:73)
Caused by: com.ddtek.xquery.util.XQueryException: [ME0010][DataDirect][XQuery][err:XPTY0004]A sequence with more than one item does not match the type xs:untypedAtomic? according to the Sequence Type Matching rules.
at com.ddtek.xquery.mediator.MediatorMessage.createQuantifierException(MediatorMessage.java:395)
at com.ddtek.xquery.mediator.MediatorMessage.createMoreThanOneQuantifierException(MediatorMessage.java:363)
at com.ddtek.xquery.mediator.plan.SourcePhysOpImpl.bindExternalVariable(SourcePhysOpImpl.java:1221)
at com.ddtek.xquery.mediator.plan.SourcePhysOpImpl.bindExternalVariable(SourcePhysOpImpl.java:1176)
at com.ddtek.xquery.mediator.plan.SourcePhysOpImpl.bindExternalVariables(SourcePhysOpImpl.java:1167)
at com.ddtek.xquery.mediator.plan.SourcePhysOpImpl.execute(SourcePhysOpImpl.java:660)
at com.ddtek.xquery.mediator.plan.JoinPhysOpImpl.generateNextXTuple(JoinPhysOpImpl.java:195)
at com.ddtek.xquery.mediator.plan.JoinPhysOpImpl.next(JoinPhysOpImpl.java:92)
at com.ddtek.xquery.mediator.plan.ProjectPhysOpImpl.next(ProjectPhysOpImpl.java:73)
at com.ddtek.xquery.mediator.plan.JoinPhysOpImpl.generateNextXTuple(JoinPhysOpImpl.java:198)
at com.ddtek.xquery.mediator.plan.JoinPhysOpImpl.next(JoinPhysOpImpl.java:92)
at com.ddtek.xquery.mediator.plan.ProjectPhysOpImpl.next(ProjectPhysOpImpl.java:73)
at com.ddtek.xquery.mediator.plan.ProjectPhysOpImpl.next(ProjectPhysOpImpl.java:73)
at com.ddtek.xquery.mediator.plan.ReturnPhysOpImpl.getNextSequenceUngrouper(ReturnPhysOpImpl.java:106)
at com.ddtek.xquery.mediator.plan.ReturnPhysOpImpl.next(ReturnPhysOpImpl.java:63)
at com.ddtek.xquery.mediator.plan.ExecutionPlanImpl.next(ExecutionPlanImpl.java:1176)
at com.ddtek.xquery.mediator.plan.DefaultPlanIterator.next(DefaultPlanIterator.java:143)
at com.ddtek.xquery.mediator.plan.ExecutionPlanImpl.fetchAllForUpdate(ExecutionPlanImpl.java:1737)
at com.ddtek.xquery.mediator.plan.ExecutionPlanImpl.executeSqlUpdateQuery(ExecutionPlanImpl.java:301)
at com.ddtek.xquery.mediator.plan.ExecutionPlanImpl.executeQuery(ExecutionPlanImpl.java:205)
at com.ddtek.xquery.mediator.plan.ExecutionContextImpl.executeQuery(ExecutionContextImpl.java:325)
at com.ddtek.xquery.xqj.DDXQAbstractExpression.startExecution(DDXQAbstractExpression.java:564)
at com.ddtek.xquery.xqj.DDXQPreparedExpression.executeQuery(DDXQPreparedExpression.java:68)