1 Reply Latest reply: Apr 25, 2013 1:20 AM by FreakySoni RSS

    error while updating data in automator::::urgent

    FreakySoni
      Hi,

      I am getting the following error, since a long time, please help me. I am using o2a pip cartridge and osm version is 7.2

      I printed out the getOrderResponse, and from the below two index only one index is there in the response, i have no idea, from where osm is picking up the other index. I undeploy and deploy the cartridge many times, but not able to get rid of the error, Please reply, any input is very much appreciated :)

      Main error
      Cannot convert string "1366694865424 1366694865434" to an integer


      Error Details

      <23-Apr-2013 1:28:45,789 SGT PM> <INFO> <impl.OrchestrationCascadingLRUPolicy> <Timer-8> <Evicted order /891 from orchestration cache due to cache entry expiry>
      <23-Apr-2013 1:28:50,772 SGT PM> <INFO> <GetInventoryDetailsEntryPointTask.GetInventoryDetailsEntryPointBean_doredo> <ExecuteThread: '14' for queue: 'oms.automation'> <Creatin
      g automation plugin [class oracle.communications.ordermanagement.automation.plugin.XQueryReceiver] jndi[GetInventoryDetailsEntryPointTask.GetInventoryDetailsEntryPointBean_dor
      edo] built using SDK version [7.2.0.3.0]>
      Validation error on line 27 of module with no systemId:
      FORG0001: Cannot convert string "1366694865424 1366694865434" to an integer
      <23-Apr-2013 1:28:50,975 SGT PM> <ERROR> <rule.XQueryHelper> <ExecuteThread: '14' for queue: 'oms.automation'> <Cannot convert string "1366694865424 1366694865434" to an integ
      er. . File[*module with no systemId* (actual location resolved to [*module with no systemId*])] Line[27] Column[-1]
      >
      ; SystemID: module with no systemId; Line#: 27; Column#: -1
      ValidationException: Cannot convert string *"1366694865424 1366694865434"* to an integer
      at net.sf.saxon.type.ValidationFailure.makeException(ValidationFailure.java:233)
      at net.sf.saxon.expr.UntypedAtomicConverter$1.map(UntypedAtomicConverter.java:156)
      at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:46)
      at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:39)
      at net.sf.saxon.expr.CardinalityChecker.evaluateItem(CardinalityChecker.java:262)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
      at net.sf.saxon.expr.ExpressionTool.lazyEvaluate(ExpressionTool.java:437)
      at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:221)
      at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
      at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:339)
      at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:298)
      at net.sf.saxon.instruct.Choose.iterate(Choose.java:754)
      at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:306)
      at net.sf.saxon.expr.ForExpression$MappingAction.map(ForExpression.java:775)
      at net.sf.saxon.expr.MappingIterator.next(MappingIterator.java:54)
      at net.sf.saxon.query.XQueryExpression$ErrorReportingIterator.next(XQueryExpression.java:887)
      at net.sf.saxon.query.XQueryExpression.evaluate(XQueryExpression.java:220)
      at oracle.communications.ordermanagement.rule.f.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.f.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.o.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.evaluateList(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.evaluateListAsNodes(Unknown Source)
      at oracle.communications.ordermanagement.rule.impl.i.b(Unknown Source)
      at oracle.communications.ordermanagement.orchestration.execution.impl.j.a(Unknown Source)
      at com.mslv.oms.handler.updateorder.UpdateOrderHandlerEJB.a(Unknown Source)
      at com.mslv.oms.handler.updateorder.UpdateOrderHandlerEJB.process(Unknown Source)
      at com.mslv.oms.handler.a.processRequest(Unknown Source)
      at com.mslv.oms.jsp.processor.RequestProcessorSupport.a(Unknown Source)
      at com.mslv.oms.jsp.processor.RequestProcessorSupport.processRequest(Unknown Source)
      at com.mslv.oms.jsp.processor.RequestProcessorSupport.processRequest(Unknown Source)
      at com.mslv.oms.jsp.xmlapi.InternalRequestProcessor.processRequestSourceResponse(Unknown Source)
      at com.mslv.oms.jsp.xmlapi.InternalRequestProcessor.processRequestSourceResponse(Unknown Source)
      at com.mslv.oms.jsp.controller.CoreRequestController.processRequestSourceResponse(Unknown Source)
      at com.mslv.oms.jsp.controller.CoreRequestController.processRequestSourceResponse(Unknown Source)
      at com.mslv.oms.automation.TaskContextLocal.processXMLRequestDom(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at net.sf.saxon.functions.ExtensionFunctionCall.invokeMethod(ExtensionFunctionCall.java:690)
      at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:343)
      at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:224)
      at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:352)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:296)
      at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:339)
      at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:548)
      at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:686)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
      at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:556)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:376)
      at net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:322)
      at net.sf.saxon.instruct.Instruction.iterate(Instruction.java:308)
      at net.sf.saxon.expr.PathExpression.iterate(PathExpression.java:653)
      at net.sf.saxon.expr.Expression.process(Expression.java:468)
      at net.sf.saxon.expr.LetExpression.process(LetExpression.java:378)
      at net.sf.saxon.value.Closure.process(Closure.java:218)
      at net.sf.saxon.expr.TailCallLoop.process(TailCallLoop.java:125)
      at net.sf.saxon.instruct.UserFunction.process(UserFunction.java:374)
      at net.sf.saxon.expr.UserFunctionCall.process(UserFunctionCall.java:451)
      at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:688)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
      at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:556)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.expr.LetExpression.process(LetExpression.java:378)
      at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
      at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:556)
      at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
      at net.sf.saxon.instruct.ElementCreator.constructElement(ElementCreator.java:376)
      at net.sf.saxon.instruct.ElementCreator.evaluateItem(ElementCreator.java:322)
      at net.sf.saxon.instruct.Instruction.iterate(Instruction.java:308)
      at net.sf.saxon.expr.PathExpression.iterate(PathExpression.java:653)
      at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:306)
      at net.sf.saxon.instruct.Choose.iterate(Choose.java:754)
      at net.sf.saxon.expr.LetExpression.iterate(LetExpression.java:306)
      at net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:307)
      at net.sf.saxon.query.XQueryExpression.evaluate(XQueryExpression.java:217)
      at oracle.communications.ordermanagement.rule.d.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.d.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.o.a(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.rule.XQueryHelper.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.d.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.transform(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.runCommonFunctionality(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.ScriptRunnerImpl.runScript(Unknown Source)
      at oracle.communications.ordermanagement.automation.plugin.AbstractScriptAutomator.run(Unknown Source)
      at com.mslv.oms.automation.plugin.AbstractAutomator._runAutomator(Unknown Source)
      at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
      at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.processMessage(Unknown Source)
      at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
      at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
      at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
      at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
      at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:379)
      at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
      at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
      at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
      at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
      at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
      at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
      <Apr 23, 2013 1:28:50 PM SGT> <Error> <oms> <BEA-000000> <rule.XQueryHelper: Cannot convert string "1366694865424 1366694865434" to an integer. . File[*module with no systemId
      * (actual location resolved to [*module with no systemId*])] Line[27] Column[-1]

      ValidationException: Cannot convert string "1366694865424 1366694865434" to an integer
      at net.sf.saxon.type.ValidationFailure.makeException(ValidationFailure.java:233)
      at net.sf.saxon.expr.UntypedAtomicConverter$1.map(UntypedAtomicConverter.java:156)
      at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:46)
      at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:39)
      at net.sf.saxon.expr.CardinalityChecker.evaluateItem(CardinalityChecker.java:262)
      Truncated. see log file for complete stacktrace
      >
      <23-Apr-2013 1:28:50,975 SGT PM> <ERROR> <core.logXMLApplicationException> <ExecuteThread: '14' for queue: 'oms.automation'> <An error occurred processing XML request: 0 unkno
      wn error code 0 : message Error updating External Fulfillment State>
      <Apr 23, 2013 1:28:50 PM SGT> <Error> <oms> <BEA-000000> <core.logXMLApplicationException: An error occurred processing XML request: 0 unknown error code 0 : message Error upd
      ating External Fulfillment State>
      Error at xsl:if on line 324 of OrderLifecycleManagementModule.xquery:
      ORDER_UPDATE_FAILED: Error updating Order Lifecycle record.
      at orderlifecyclefn:updateOLMOnComponentStart() (*module with no systemId*#234)
      <23-Apr-2013 1:28:50,991 SGT PM> <ERROR> <rule.XQueryHelper> <ExecuteThread: '14' for queue: 'oms.automation'> <Error updating Order Lifecycle record.. . File[http://xmlns.ora
      cle.com/communications/ordermanagement/pip/orderlifecyclefn/OrderLifecycleManagementModule.xquery (actual location resolved to [osmmodel:///OracleComms_OSM_O2A_COM_SalesOrderF
      ulfillment/1.0.0.0.0/resources/ComponentInteraction/OrderLifecycleManagementModule.xquery])] Line[324] Column[-1]
      [
      at orderlifecyclefn:updateOLMOnComponentStart() (*module with no systemId*#234)
      ]
      >
      ; SystemID: http://xmlns.oracle.com/communications/ordermanagement/pip/orderlifecyclefn/OrderLifecycleManagementModule.xquery; Line#: 324; Column#: -1
      net.sf.saxon.trans.XPathException: Error updating Order Lifecycle record.
      at net.sf.saxon.functions.Error.evaluateItem(Error.java:48)
      at net.sf.saxon.expr.Expression.process(Expression.java:461)
      at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:688)
      at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:557)