1 Reply Latest reply: Oct 18, 2012 9:22 AM by 882807 RSS

    Error amending a specific task

    AndresG
      Hi There !

      I'm sending an amending to an order in progress, everything works as expected in the compensation process, compensating each task as I set it up, but when it try to execute a specific task in Redo mode near the end of the process I'm getting the folowing exception.

      <16-oct-2012 4:09:56,809 COT PM> <INFO> <ncaosmorquestacionba_toip.enviarReapertura> <ExecuteThread: '11' for queue: 'oms.automation'> <Creating automation plugin [c
      lass oracle.communications.ordermanagement.automation.plugin.XQuerySender] jndi[TACrearOrdenActivadorBA_TOIP.automatedtask.ncaosmorquestacionba_toip.enviarReapertura
      ] built using SDK version [7.2.0.0.0]>
      <16-oct-2012 4:09:56,884 COT PM> <WARN> <ncaosmorquestacionba_toip.enviarReapertura> <ExecuteThread: '11' for queue: 'oms.automation'> <Attempting to clean up refere
      nces to bad EJB references>
      <16/10/2012 04:09:56 PM COT> <Warning> <oms> <BEA-000000> <ncaosmorquestacionba_toip.enviarReapertura: Attempting to clean up references to bad EJB references>
      <16-oct-2012 4:09:56,894 COT PM> <ERROR> <automation.AutomationDispatcher> <ExecuteThread: '11' for queue: 'oms.automation'> <Failed to execute plugin[/automation/pl
      ugin/internal/task/NcaOsmOrquestacionBA_TOIP/1.0.0.0.0/TACrearOrdenActivadorBA_TOIP/redo] due to com.mslv.oms.automation.AutomationException: org.w3c.dom.ls.LSExcept
      ion>
      com.mslv.oms.automation.AutomationException: com.mslv.oms.automation.AutomationException: org.w3c.dom.ls.LSException
      at com.mslv.oms.automation.plugin.AutomationEventHandlerImpl.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)
      Caused by: com.mslv.oms.automation.AutomationException: org.w3c.dom.ls.LSException
      at com.mslv.oms.automation.TaskContextLocal.getOrderAsSource(Unknown Source)
      at com.mslv.oms.automation.plugin.AbstractAutomator._runAutomator(Unknown Source)
      at com.mslv.oms.automation.AutomationDispatcher.a(Unknown Source)
      ... 18 more
      Caused by: com.mslv.oms.OMSException: org.w3c.dom.ls.LSException
      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.controller.CoreRequestController.processRequestSourceResponse(Unknown Source)
      at com.mslv.oms.jsp.controller.CoreRequestController.processRequestSourceResponse(Unknown Source)
      at com.mslv.oms.automation.TaskContextLocal.getOrder(Unknown Source)
      at com.mslv.oms.automation.TaskContextLocal.getOrderData(Unknown Source)
      ... 21 more
      Caused by: java.lang.RuntimeException: org.w3c.dom.ls.LSException
      at oracle.communications.ordermanagement.util.xml.XMLHelper.asXML(Unknown Source)
      at com.mslv.oms.handler.order.compare.m.nodeAdded(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.b(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.b(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.b(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
      at com.mslv.oms.handler.order.compare.r.a(Unknown Source)
      at com.mslv.oms.model.order.CompensatedTask.getDataDifferences(Unknown Source)
      at com.mslv.oms.model.order.CompensatedTask.getCompensatedTask(Unknown Source)
      at com.mslv.oms.handler.getorder.GetOrderHandlerEJB.process(Unknown Source)
      at com.mslv.oms.handler.a.processRequest(Unknown Source)
      at com.mslv.oms.jsp.processor.RequestProcessorSupport.a(Unknown Source)
      ... 28 more
      Caused by: org.w3c.dom.ls.LSException
      at org.apache.xml.serialize.DOMSerializerImpl.writeToString(Unknown Source)
      ... 44 more
      Caused by: java.lang.NullPointerException
      at org.apache.xml.serialize.DOMSerializerImpl.prepareForSerialization(Unknown Source)
      ... 45 more

      I've checked every detail in the task settings and the function involved I've checked every detail in the task settings and the function involved, I have even re-created the task and function, but the error persists.

      If anyone has any idea what caused the error I appreciate your help.

      Best Regards