Error in XPATH

I had an error determining the receiver of the message.  When I restarted it and increased the trace level, I found out that it is routing to the wrong XPATH.  But when you look into the Receiver Determination, the XPATH of the configured receivers are correct.
How could this be?

We are also currently encountering the same issue.
Upon checking the message trace, it is going to the correct receiver determination
*call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&_MSG&;NSP=&_NSM&;XPATH="/ZADR3MAS02_EXT/IDOC/E1ADR3MAS/ZXIDATA/ZROUTECLASS/CLASS")% CE ZFFIT*
XPATH in receiver determination - ZADR3MAS02_EXT/IDOC/E1ADR3MAS/ZXIDATA/ZROUTECLASS/CLASS
/ZADR3MAS02_EXT/IDOC/E1ADR3MAS/CONTEXT
However, when checking the message trace it is going to this XPATH:
/ZADRMAS02_EXT/IDOC/E1ADRMAS/ZXIDATA/ZROUTECLASS/CLASS
/ZADRMAS02_EXT/IDOC/E1ADRMAS/CONTEXT
This is the reason why the message is in error in XI.
Unable to determine receiver in XI
Any inputs would be appreciated

Similar Messages

  • XML-23002: (Error) internal xpath error while calling template

    Hi,
    I have used call-template named Chemloop in my xslt in the following way as attached in the xsl file. But when I am testing this xsl file through the bpel transformation, getting the error XML-23002: (Error) internal xpath error. Using this xslt I am converting a flat file into a xml file. My xslt except the call template part is working fine. Please suggest me if I m doing anything wrong.
    XSLT:
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="../ReadASNNAEbizAlcanFileAdapter.wsdl"/>
    <rootElement name="SynchAdvancedShipmentNotice" namespace="http://oracle.com/EbizGateway/NA/SynchASN/V2"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="../ReadASNNAEbizAlcanFileAdapter.wsdl"/>
    <rootElement name="ShipNotice" namespace=""/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.6.0(build 111214.0600.1553) AT [TUE FEB 12 21:05:56 GMT+05:30 2013]. -->
    ?>
    <xsl:stylesheet version="2.0"
    xmlns:svcdoc="http://xmlns.oracle.com/Services/Documentation/V1"
    xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:alcebo="http://oracle.com/EbizGateway/NA/SynchASN/V2"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:alcabcs="http://xmlns.oracle.com/pcbpel/adapter/file/T2FJAN/CreateASNNAEBIZAlcanProvABCSImpl/ReadASNNAEbizAlcanFileAdapter"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl pc alcebo plnk wsdl jca xsd alcabcs aia bpws xp20 bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref ldap">
    <xsl:template match="/">
    <ShipNotice>
    <Header>
    <BOLNo>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:BILL_OF_LADING_1000"/>
    </BOLNo>
    <TripNo>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:TRIP_NAME_1000"/>
    </TripNo>
    <Action>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Action>
    <Attr1>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr1>
    <Attr2>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr2>
    <Attr3>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr3>
    <Attr4>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr4>
    <Attr5>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr5>
    </Header>
    <Shipment>
    <ShipDate>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:DEPARTURE_DATE_1000"/>
    </ShipDate>
    <RouteCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT4_1010"/>
    </RouteCode>
    <xsl:choose>
    <xsl:when test='/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010 = "R"'>
    <RateRouteCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT3_1010"/>
    </RateRouteCode>
    </xsl:when>
    <xsl:otherwise>
    <RateRouteCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010"/>
    </RateRouteCode>
    </xsl:otherwise>
    </xsl:choose>
    <xsl:choose>
    <xsl:when test='/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010 = "R"'>
    <CarrierCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT3_1010"/>
    </CarrierCode>
    </xsl:when>
    <xsl:otherwise>
    <CarrierCode>
    <xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010"/>
    </CarrierCode>
    </xsl:otherwise>
    </xsl:choose>
    <TransportModeCode>
    <xsl:value-of select="substring(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT2_1010,1.0,1.0)"/>
    </TransportModeCode>
    <TransportModeType>
    <xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:RTIN1_1030/alcebo:ROUTING_INSTRUCTIONS1_1030)"/>
    </TransportModeType>
    <xsl:choose>
    <xsl:when test='normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010) = "R"'>
    <TrailerNo>
    <xsl:value-of select="concat(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:A1DL1_3600[1]/alcebo:DELIVERY_ATTRIBUTE1_3600,/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:A2DL2_3610[1]/alcebo:DELIVERY_ATTRIBUTE5_3610)"/>
    </TrailerNo>
    </xsl:when>
    <xsl:otherwise>
    <TrailerNo>
    <xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:EQUIPMENT_NUMBER_1010)"/>
    </TrailerNo>
    </xsl:otherwise>
    </xsl:choose>
    <SealNo>
    <xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:EQUIPMENT_SEAL_1010)"/>
    </SealNo>
    <Quantity>
    <xsl:value-of select='sum(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder/alcebo:UnpackedItemDetail/alcebo:I3IT3_4520/alcebo:SHIPPED_QUANTITY_4520) + sum(format-number(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder/alcebo:P1PO1_4000/alcebo:FREIGHT_TERMS_CODE_EXT3_4000,"##############0.00"))'/>
    </Quantity>
    <QuantityUOM>
    <xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D3DP3_1015[1]/alcebo:DELIVERY_TARE_WEIGHT_UOM_EXT1_1015)"/>
    </QuantityUOM>
    <Attr1>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr1>
    <Attr2>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr2>
    <Attr3>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr3>
    <Attr4>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr4>
    <Attr5>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr5>
    <ShipmentItems>
    <xsl:for-each select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder">
    <ShipmentItem>
    <ShipListNo>
    <xsl:value-of select='concat(substring("0000",1.0,4.0 - string-length(string(position()))),string(position()))'/>
    </ShipListNo>
    <OrderNo>
    <xsl:value-of select="normalize-space(alcebo:P1PO1_4000/alcebo:PURCHASE_ORDER_NUMBER_4000)"/>
    </OrderNo>
    <LineNo>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I2IT2_4510[1]/alcebo:CUST_PO_LINE_NUM_4510)"/>
    </LineNo>
    <ItemNoXref>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I1IT1_4500[1]/alcebo:BUYER_PART_NO_4500)"/>
    </ItemNoXref>
    <AlcoaPartNo>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I1IT1_4500[1]/alcebo:SUPPLIER_PART_NUMBER_4500)"/>
    </AlcoaPartNo>
    <Quantity>
    <xsl:value-of select="sum(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520/alcebo:SHIPPED_QUANTITY_4520)"/>
    </Quantity>
    <QuantityUOM>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520)"/>
    </QuantityUOM>
    <TareWeight>
    <xsl:value-of select='format-number(alcebo:P1PO1_4000/alcebo:FREIGHT_TERMS_CODE_EXT3_4000,"##############0.##")'/>
    </TareWeight>
    <TareWeightUOM>
    <xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520)"/>
    </TareWeightUOM>
    <Attr1>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr1>
    <Attr2>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr2>
    <Attr3>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr3>
    <Attr4>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr4>
    <Attr5>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr5>
    <xsl:for-each select="alcebo:UnpackedItemDetail">
    <Bundle>
    <LotNo>
    <xsl:value-of select="alcebo:DeliveryDetail/alcebo:LSDET_5500[1]/alcebo:LOT_NUMBER_5500"/>
    </LotNo>
    <SubLotNo>
    <xsl:value-of select="alcebo:DeliveryDetail/alcebo:EX02_5591[1]/alcebo:DSNO_LEV06_EXT09_5591"/>
    </SubLotNo>
    <Quantity>
    <xsl:value-of select="alcebo:I3IT3_4520[1]/alcebo:SHIPPED_QUANTITY_4520"/>
    </Quantity>
    <QuantityUOM>
    <xsl:value-of select="alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520"/>
    </QuantityUOM>
    <Pieces>
    <xsl:value-of select="alcebo:DeliveryDetail/alcebo:EX02_5591[1]/alcebo:DSNO_LEV06_EXT10_5591"/>
    </Pieces>
    <Attr1>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr1>
    <Attr2>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr2>
    <Attr3>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr3>
    <Attr4>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr4>
    <Attr5>
    <xsl:text disable-output-escaping="no"></xsl:text>
    </Attr5>
    <!-- User Defined Templates -->
    <xsl:call-template name="Chemloop">
    <xsl:with-param name="i">1</xsl:with-param>
    </xsl:call-template>
    </Bundle>
    </xsl:for-each>
    </ShipmentItem>
    </xsl:for-each>
    </ShipmentItems>
    </Shipment>
    </ShipNotice>
    </xsl:template>
    <xsl:template name="Chemloop">
    <xsl:param name="i"/>
    <xsl:variable name="ChemRow"
    select="concat(/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT01_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT02_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT03_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT04_5590)"/>
    <xsl:variable name="ChemBlock"
    select="substring($ChemRow,1+($i-1)*33,33)"/>
    <xsl:if test="$ChemBlock!=' '">
    <ChemicalAnalysis>
    <ElementName>
    <xsl:value-of select="substring($ChemBlock,1,5)"/>
    </ElementName>
    <RNDValue>
    <xsl:value-of select="substring($ChemBlock,6,15)"/>
    </RNDValue>
    <ValueQualifier>
    <xsl:value-of select="substring($ChemBlock,21,2)"/>
    </ValueQualifier>
    <NumDecimals>
    <xsl:value-of select="substring($ChemBlock,23,3)"/>
    </NumDecimals>
    <DropNo>
    <xsl:value-of select="substring($ChemBlock,26,8)"/>
    </DropNo>
    </ChemicalAnalysis>
    </xsl:if>
    <xsl:if test="($ChemBlock=' ') and $i=1">
    <xsl:message terminate="yes">No Chemical data found</xsl:message>
    </xsl:if>
    <xsl:if test="$i &lt;= 26">
    <xsl:call-template name="Chemloop">
    <xsl:with-param name="i">
    <!-- Increment index-->
    <xsl:value-of select="$i + 1"/>
    </xsl:with-param>
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>

    I can't get what are you trying to achieve by a construction like bellow...
    /alcebo:DeliveryDetail[position()]
    Remember XSLT is not a procedural language... a selector like /alcebo:DeliveryDetail[position() = $var] or just /alcebo:DeliveryDetail[$var] would make more sense...
    Cheers,
    Vlad

  • Unknown Error in XPath?!

    Hi.
    I've been trying to use javax.xml.xpath.XPath to get a Node from a DOMSource. But with event the absolute simplest XPath expression //StaticComponent I get the following exception.
    Here's the code I'm using:
    XPath path = XPathFactory.newInstance().newXPath();
    Node newnode = (NodeList) path.evaluate("//StaticComponent", source, XPathConstants.NODESET);(source is defined elsewhere in the program, and I am SURE that it is properly defined, because I use it for something else in the program too.)
    The exception I get tells me NOTHING, and I can't why a simple expression won't evaluate. Has anybody run into this before?
    javax.xml.transform.TransformerException: Unknown error in XPath.
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:363)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275)
         at ca.nrc.imti.dmdc.wiseshopfloor.editor.EditorModel$2.tableChanged(EditorModel.java:408)
         at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
         at javax.swing.table.AbstractTableModel.fireTableCellUpdated(AbstractTableModel.java:259)
         at javax.swing.JTable$1.setValueAt(JTable.java:417)
         at javax.swing.JTable.setValueAt(JTable.java:1783)
         at javax.swing.JTable.editingStopped(JTable.java:3129)
         at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
         at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:328)
         at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:213)
         at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3460)
         at javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.JTable.processKeyBinding(JTable.java:3254)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2481)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.xpath.internal.axes.DescendantIterator.setRoot(DescendantIterator.java:261)
         at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:213)
         at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:210)
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:335)
         ... 37 more
    java.lang.NullPointerException
         at com.sun.org.apache.xpath.internal.axes.DescendantIterator.setRoot(DescendantIterator.java:261)
         at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:213)
         at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:210)
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:335)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275)
         at ca.nrc.imti.dmdc.wiseshopfloor.editor.EditorModel$2.tableChanged(EditorModel.java:408)
         at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
         at javax.swing.table.AbstractTableModel.fireTableCellUpdated(AbstractTableModel.java:259)
         at javax.swing.JTable$1.setValueAt(JTable.java:417)
         at javax.swing.JTable.setValueAt(JTable.java:1783)
         at javax.swing.JTable.editingStopped(JTable.java:3129)
         at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
         at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:328)
         at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:213)
         at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3460)
         at javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.JTable.processKeyBinding(JTable.java:3254)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2481)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    --------------- linked to ------------------
    javax.xml.xpath.XPathExpressionException
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:289)
         at ca.nrc.imti.dmdc.wiseshopfloor.editor.EditorModel$2.tableChanged(EditorModel.java:408)
         at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
         at javax.swing.table.AbstractTableModel.fireTableCellUpdated(AbstractTableModel.java:259)
         at javax.swing.JTable$1.setValueAt(JTable.java:417)
         at javax.swing.JTable.setValueAt(JTable.java:1783)
         at javax.swing.JTable.editingStopped(JTable.java:3129)
         at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
         at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:328)
         at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:213)
         at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3460)
         at javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.JTable.processKeyBinding(JTable.java:3254)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2481)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Caused by: javax.xml.transform.TransformerException: Unknown error in XPath.
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:363)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275)
         ... 35 more
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.xpath.internal.axes.DescendantIterator.setRoot(DescendantIterator.java:261)
         at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:213)
         at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:210)
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:335)
         ... 37 more
    java.lang.NullPointerException
         at ca.nrc.imti.dmdc.wiseshopfloor.editor.EditorModel$2.tableChanged(EditorModel.java:414)
         at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
         at javax.swing.table.AbstractTableModel.fireTableCellUpdated(AbstractTableModel.java:259)
         at javax.swing.JTable$1.setValueAt(JTable.java:417)
         at javax.swing.JTable.setValueAt(JTable.java:1783)
         at javax.swing.JTable.editingStopped(JTable.java:3129)
         at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
         at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:328)
         at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:213)
         at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3460)
         at javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.JTable.processKeyBinding(JTable.java:3254)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2481)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    The root cause seems to be a NullPointerException,
    but the line given is a line of comment in my
    src.zip. Intriguing. What's your line 261 of
    com.sun.org.apache.xpath.internal.axes.DescendantItera
    tor?As far as I can tell, my jaxp libraries did not come with any source files, in a zip, jar or otherwise. At least, if it did, I can't find them.

  • Error in XPath 2.0 expression

    Hi everybody,
    I am using XMLSPY to test a XPath expression:
    <xsl:value-of select="fn:tokenize('a b c', '\s')"></xsl:value-of>                                   
    But I get the error:
    "This file is not valid:
    Error in XPath 2.0 expression"
    Any ideas?
    Thanks, regards
    Mario

    http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/frameset.htm
    /people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
    /people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
    Using substring in the XPATH expression for Receiver Determination

  • XML parser error; when XPath elements starts with "_"

    Hi,
    I have a problem in extracting elements from XML which is starting with "_". please check the queries below executed on Oracle 10g.
    Query 1:
    SELECT EXTRACTVALUE(XMLTYPE('<A><_B>1</_B><_C>2</_C><_D>3</_D><E>4</E></A>'),'/A/_B') FROM DUAL;
    Error starting at line 1 in command:
    SELECT EXTRACTVALUE(XMLTYPE('<A><_B>1</_B><_C>2</_C><_D>3</_D><E>4</E></A>'),'/A/_B') FROM DUAL
    Error report:
    SQL Error: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: '/A/_B'
    31011. 00000 - "XML parsing failed"
    *Cause:    XML parser returned an error while trying to parse the document.
    *Action:   Check if the document to be parsed is valid.
    Query 2:
    SELECT EXTRACTVALUE(XMLTYPE('<A><_B>1</_B><_C>2</_C><_D>3</_D><E>4</E></A>'),'/A/E') FROM DUAL;
    EXTRACTVALUE(XMLTYPE('<A><_B>1</_B><_C>2</_C><_D>3</_D><E>4</E></A>'),'/A/E')
    4
    Oracle version:
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Please let me know if there is any workaround for this.*
    Thanks,
    Veerababu Kanumilli.

    Hi MichaelS,
    - I have executed the queries provided by you, but I am not able to get the result in 10g when I am trying to access elements with "_" in XPath.
    select * from v$version where rownum = 1;
    select extractvalue (xmltype ('&lt;A&gt;<_B>1</_B><_C>2</_C><_D>3</_D><E>4</E>&lt;/A&gt;'), '/A/_B') "_B" from dual;
    select extractvalue (xmltype ('&lt;A&gt;<_B>1</_B><_C>2</_C><_D>3</_D><E>4</E>&lt;/A&gt;'), '/A/E') "E" from dual;
    Output:
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    Error starting at line 4 in command:
    select extractvalue (xmltype ('&lt;A&gt;<_B>1</_B><_C>2</_C><_D>3</_D><E>4</E>&lt;/A&gt;'), '/A/_B') "_B" from dual
    Error report:
    SQL Error: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: '/A/_B'
    31011. 00000 - "XML parsing failed"
    *Cause:    XML parser returned an error while trying to parse the document.
    *Action:   Check if the document to be parsed is valid.
    E
    4
    Thanks,
    Veerababu Kanumilli

  • Result is empty error in XPath

    Hi,
    I am getting the following error coming from an "Assign" activity that copies from a child element of one variable (child of message type = M1) to another variable (which is of type element same as that of that child of M1).
    I am consistently getting the following error :
    "Error in evaluate <from> expression. The result is empty for the XPath expression .
    <<from element name>> "
    Does anyone know why ?
    Thanks

    That message usually occurs when you point to a non-existing child. When you're using child nodes, you'll have to make sure you're pointing to the right node, for example by using [position() = bpws.getVariableData('idx'), or using an XSLT with a 'for each'.
    Post the variable definition and the assign here, if  you need more input.
    Hth,
    Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Receiver Determination error in Xpath

    In   receiver determination step,  I am specifying two condition check.
    The problem is that XI server is checking the second condition ahead of the first condition.
    Eg:
    I have a structure like Record in the input file:
    Record:
       Field1
       Field2
       Field3
    In specifying condition, I have a condition like this:
    If   field1 =  XY AND  field2 = AB
    Then   (do..)
    But the XI server is reading field2 first and not field1 . Why is this so?
    Thanks a lot.
    Shaily

    Check the "AND" condition properly make sure it is not a "OR" condition in xPath.
    Refresh the cache by tcode sxi_cache and try again.

  • Help Page Error: Using XPath expressions as list indexes and map keys

    The help page says for maps to use the XPath expression
    /process_data/mapvar[@id='/process_data/@stringvar']
    But in reality for things to work you have to omit the quotations.

    thanks a lot for your help..
    there are total 162 records in the v$open_cursor for that user.
    among that the open cursor is only 4 and open-recursive cursor is only 6 for that user.
    in my session i am executing only the renaming of the constraints and nothing more.
    When i have queried the v$open_cursor for cursor_type='OPEN' for all the users, then i got that it has exceeded the value of open_cursors parameter.
    So how can i resolve that....

  • Xpath error in 11g, works in 10g

    Hi all,
    We have migrated all reports from 10g to 11g and I have an issue on one of them.
    When I run the template in the template viewer I managed to get the logs and it says:
    [041912_095152537][oracle.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
    <Line 132, Column 380>: XML-23002: (Error) internal xpath error
    @Line 132 ==> <xsl:value-of select="xdoxslt:set_variable($_XDOCTX, 'BUDGET_DIFF', (xdoxslt:get_variable($_XDOCTX, 'NUV_TOT') - xdoxslt:get_variable($_XDOCTX, 'BUDGET_TOT')))" xdofo:field-name="xdoxslt:set_variable($_XDOCTX, 'BUDGET_DIFF', (xdoxslt:get_variable($_XDOCTX, 'NUV_TOT') - xdoxslt:get_variable($_XDOCTX, 'BUDGET_TOT')))"/>
    Can anyone give me a hint on this one?
    As I mentioned it is working just fine in 10g.
    Thanks
    Magnus

    We're facing the same issue. Looking for solution.

  • XPath Error after using custom xslt

    I made a mapping between my input schema and destination schema through custom xslt.
     After constructing the message when I fetch the destination schema element value through xpath it does not contains
    any value but when I saved that destination message in a location then I got all the elements value.
    When I want to update the value of any element then it shows the following error :
    The XPath expression: ' xpath of element '
    selected a node which is not valid for property or distinguished field retrieval, or it selected no node at all. Only text-only elements or attributes may be selected.
    The xpath is correct.
    Why this is occuring ?
    While I am not using any custom xslt, it is working fine.
    Any kind of help would be appreciated.
    Prakash

    Look like you're trying to use a XPath for an element/node which doesn't exist in the received message.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Runtime error in Workspace after invoking an "Initiator"

    I'm curious if anyone has figured out how to get a human initiator task working. I'm getting an error at runtime when it's invoked and am a bit embarassed I cannot figure out what the cause is.
    Thanks - here's here's the error:
    Cannot create instance in process 'default/AvioTest2!1.1*f12adf1d-8b79-4867-b2d9-8da0247dfb9d/OrderManagement'.
    Caused by: Cannot create instance in process 'default/AvioTest2!1.1*f12adf1d-8b79-4867-b2d9-8da0247dfb9d/OrderManagement'.
    Caused by: Exception
    exception.70204.type: error
    exception.70204.severity: 2
    exception.70204.name: Error creating process instance.
    exception.70204.description: Error creating instance for target process default/AvioTest2!1.1*f12adf1d-8b79-4867-b2d9-8da0247dfb9d/OrderManagement.
    exception.70204.fix: Verify server log to find the problem cause.
    Caused by: oracle.fabric.common.BusinessFaultException
    Caused by: Block cannot handle exception.
    failure of the block "OrderManagement" to handle a business exception for the instance "60006"; exception reported is: faultName: {{http://xmlns.oracle.com/bpel/workflow/taskService}operationErroredFault}
    messageType: {{http://xmlns.oracle.com/bpel/workflow/taskService}workflowErrorMessage}
    parts: {{
    payload=<operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService"><faultInfo>ORABPEL-9719
    Trying to update a deleted task 60006.
    The task 60006 was already deleted.
    Execute the query to fetch new tasks.
    </faultInfo><task xmlns="http://xmlns.oracle.com/bpel/workflow/task"><title>Create Order</title><payload><Order xmlns="http://xmlns.oracle.com/bpm/bpmobject/Model/Order"/></payload><taskDefinitionURI>default/AvioTest2!1.1*f12adf1d-8b79-4867-b2d9-8da0247dfb9d/Humantask2</taskDefinitionURI><creator>test</creator><ownerUser>test</ownerUser><priority>3</priority><identityContext>jazn.com</identityContext><userComment><comment>Error in routing slip.
    Error in evaluating parameter TASK_ASSIGNEE in the routing slip. The error is XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is bpm:getPerformer().
    The XPath expression failed to execute; the reason was: internal xpath error.
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    . The routing slip is associated with the task definition default/AvioTest2!1.1*f12adf1d-8b79-4867-b2d9-8da0247dfb9d/Humantask2.
    Make sure that the parameter TASK_ASSIGNEE is specified correctly.
    </comment><updatedBy><id>workflowsystem</id></updatedBy><updatedDate>2010-03-02T18:07:14-06:00</updatedDate><isSystemComment>true</isSystemComment><taskId>cae819e0-7e6b-4ada-8807-67cddacf08e8</taskId></userComment><processInfo><instanceId>60006</instanceId><processId>Order Management</processId></processInfo><systemAttributes><acquiredBy>test</acquiredBy><approvalDuration>0</approvalDuration><assignedDate>2010-03-02T18:07:14.084-06:00</assignedDate><assigneeUsers><id>test</id><type>user</type></assigneeUsers><createdDate>2010-03-02T18:07:14-06:00</createdDate><digitalSignatureRequired>false</digitalSignatureRequired><expirationDate></expirationDate><fromUser><id>test</id><type>user</type></fromUser><inShortHistory>true</inShortHistory><isGroup>false</isGroup><numberOfTimesModified>1</numberOfTimesModified><passwordRequiredOnUpdate>false</passwordRequiredOnUpdate><secureNotifications>false</secureNotifications><state>ALERTED</state><substate>ASSIGNED</substate><taskId>60006</taskId><taskNumber>200025</taskNumber><updatedBy><id>test</id><type>user</type></updatedBy><updatedDate>2010-03-02T18:07:14-06:00</updatedDate><version>1</version><versionReason>TASK_VERSION_REASON_ALERTED</versionReason><taskDefinitionId>default/AvioTest2!1.1*f12adf1d-8b79-4867-b2d9-8da0247dfb9d/Humantask2</taskDefinitionId><taskDefinitionName>Humantask2</taskDefinitionName><workflowPattern>Participant</workflowPattern><participantName>test</participantName><assignees><id>test</id><type>user</type></assignees><parentTaskVersion>0</parentTaskVersion><rootTaskId>cae819e0-7e6b-4ada-8807-67cddacf08e8</rootTaskId><stage>Stage1</stage><collectionTarget/><taskNamespace>http://xmlns.oracle.com/avioTest/AvioTest2/Humantask2</taskNamespace><componentType>Workflow</componentType><activityId>activity0</activityId><thread>0</thread><parentThread>-1</parentThread></systemAttributes><systemMessageAttributes/><callback><id>OrderManagement/HumanTasks.Humantask2.reference</id><converstationId>urn:B7A64930265811DFAF376182CD6C6723</converstationId></callback><sca><applicationName>default</applicationName><componentName>Humantask2</componentName><compositeDN>default/AvioTest2!1.1*f12adf1d-8b79-4867-b2d9-8da0247dfb9d</compositeDN><compositeInstanceId>30017</compositeInstanceId><compositeName>AvioTest2</compositeName><compositeVersion>1.1</compositeVersion><ecId>0000ISXMFfc7Q9ELz6G7yW1BY0Ur0000PP</ecId><parentComponentInstanceId>bpmn:60006</parentComponentInstanceId><parentComponentInstanceRefId>60006-activity0-OrderManagement_try.2-2</parentComponentInstanceRefId><headerProperties>...</mdsLabel></task></operationErroredFault>}
    cause: {null}
    This error contained the exceptions thrown by the underlying routing system.
    Contact Oracle Support Services. Provide the error message, the composite source and the exception trace in the log files (with logging level set to debug mode).

    I am watching this post closely because I actually have the same error:
    Error in routing slip. Error in evaluating parameter TASK_ASSIGNEE in the routing slip. The error is XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is bpm:getPerformer(). The XPath expression failed to execute; the reason was: internal xpath error. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. . The routing slip is associated with the task definition default/ProvSancDemo!1.0*8555707a-50ba-4d88-8748-e29f219c9b70/EnterPotentialSanction. Make sure that the parameter TASK_ASSIGNEE is specified correctly.
    I had it in a process last week but figured it had become corrupted or something, so I created a new liittle BPM project from scratch this weekend and got the same result.
    My organization seems OK:
    <ns1:applicationRole isProcessRole="true">
    <ns5:name>ProvSancDemo.Role</ns5:name>
    <ns1:member type="USER">
    <ns1:realm>jazn.com</ns1:realm>
    <ns1:name>jcooper</ns1:name>
    </ns1:member>
    <ns1:processRole name="Provider Sanction Clerk" id="Role"/>
    </ns1:applicationRole>
    It seems to be something related to that bpm:getPerformer method not being found. When I look at the Human Task and browse the Assignment - Participant Type dialog, it is looking for Application Role by Expression bpm:egtPerformer....but this value is not found in the expression builder.
    I also get these warnings when I deploy:
    Buildfile: C:\Oracle\Middleware\jdev_bpmbeta\jdeveloper\bin\ant-sca-compile.xml
    scac:
    [scac] Validating composite : 'C:\JDeveloper\mywork\ProvSancDemo\ProvSancDemo\composite.xml'
    [scac] WARNING: in EnterPotentialSanction.task: Check the application context for resource identityType: application_role, type: XPATH, value: bpm:getPerformer()
    [scac] WARNING: in EnterPotentialSanction.task: Task owner not specified
    [scac] WARNING: in EnterPotentialSanction.task: Error assignee not specified
    I have deployed and successfully executed other processes, but not this one. I had another person take my process and try it and they were also not able to deploy it and run it.
    If it would help, I can zip it up and send it.
    -- Becky Kellinger

  • Error Processing in BPM

    Hi All,
    My source is Database and my receiver is RFC
    RFC response has to be evaluated for errors. Xpath used for evaluating errors If there are errors there should be an email to a support group
    (we have to use email adapter here)
    Can anybody guide me to implement the below logic in BPM:
    If RFC Return code = E then there are errors.
    If RFC Return code = E,
      and  if RFC Error number = 'XXX'
            then retry the RFC again after 30 mins.
    Error number XXX represent the record is being locked on the ECC side, So retry for XXX error number.
    This has to happen for 4 times and still there are get error then need to mark the RFC response as errorand update the database.
    How to acheive this in BPM???
    Thanks

    Hi,
    Ref this thread: Re: JDBC to RFC & Mail
    Thanks,

  • How to use XPath with Namespaces in the xml ?

    Hi all,
    I need to reference a certain Node in a Document using XPath notation.
    The problem is the the XML Document contains Namespaces inside it
    f.e.
    <xn:SubNetwork id="JRANM">
        <xn:VsDataContainer id="1">
           <xn:vsDataType>vsDataAreas</xn:vsDataType>
        </xn:VsDataContainer>
    </xn:SubNetwork >Using DOMXPath (from weblogic.xml.xpath)
      DOMXPath xPath = new DOMXPath("xn:SubNetwork/*");
      Set nodeset = xPath.evaluateAsNodeset(this.xmlRootElement);When I Iterate through the Set I can see it's empty.
    (On the other hand without namespaces everything is fine.)
    So how can I reference a Node that contains a namespace in it ?
    Thanks a lot
    Francesco

    We use the following class to perform XPath Queries on our XmlBean objects.
    Hope this helps,
    Craig
    import java.util.Set;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.apache.xmlbeans.XmlException;
    import org.w3c.dom.Document;
    import weblogic.xml.util.StringInputStream;
    import weblogic.xml.xpath.DOMXPath;
    * Class to encapsulate API specific (i.e. weblogic) XML functions
    public class XmlUtil {
         * Returns a set containing objects of type reflected in the query.<br/>
         * e.g.<br/>
         * /saur:tree/saur:treeNode[@label='My Reports']<br/>
         * Returns a Set of TreeNode objects<br/>
         * Sample Code: <br/>
         * <code>
         * Set set = XmlUtil.executeXPathQuery( myQuery, tree.xmlText());
         * for( Iterator iter = set.iterator(); iter.hasNext();) {
         *     TreeNode node = TreeNode.Factory.parse((Node)iter.next());
         *     // Do whatever...
         * </code>
         * @param query
         * @param xml
         * @return
        public static Set executeXPathSetQuery( String query, String xml) throws XmlException {
            try {
                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();   
                factory.setNamespaceAware(true);
                DocumentBuilder builder = factory.newDocumentBuilder();
                StringInputStream in = new StringInputStream(xml);
                Document doc = builder.parse(in);
                DOMXPath xQuery =  new DOMXPath(query);
                return xQuery.evaluateAsNodeset(doc);
            catch(Exception x) {
                throw new XmlException("Error running XPath query", x);
    }

  • Reading Structured XML the Repeater gives an error

    Hi I have seen some good answers on this forum and I am looking for some assistance please.
    I have read in xml documents fine from a iDoc Listener and now I want to update the Production orders with a BAPI. the xml that I get from the Production system is in a well structured format. Then the repeater gives an error the xpath expression is now "<b><u>XmlLoader_0.XmlContent{/xml/rs:data/z:row}</u></b>" and not the normal <b>XmlLoader_0.XmlContent{/Rowsets/Rowset/Row}</b>.
    I am sure that I will sort the reading of it once I get the repeater to read the document for me.
    Thanks
    Cheers,
    Dave

    Dave,
    Glad to see you were able to sort things out.  The Rowsets/Rowset/Row xml format is the standard xMII internal format that you will see when working with any of the Query action block outputs, the Document building actions, and any of the XML convenience blocks like CalculatedColumns, etc.
    Since the iDOC file came through the external listener, the xml format will not be in this format, just like when seeing the Request/Response xml schemas when working with JCO calls to BAPI's on your R/3 system, webservice calls, etc.
    Regards,
    Jeremy

  • DoTranslateToNative xpath function

    Hi
    What is use of doTranslateToNative xpath function?
    Explain with ex.
    Thanks

    Hi
    I followed the document and used it to convert input xml payload to CSV.
    ora:doTranslateToNative($inputVariable.ip,'C:\JDeveloper\mywork\FlatFileTOFTP\FileTOFTP\xsd\sampleFlatFile_2.xsd','Root_Element','STRING')
    Input is taken using web service.
    But it gives error:The XPath expression failed to execute; the reason was: Error in getting XML input stream:

Maybe you are looking for

  • C7 breaks down after choosing the resolution for a new project

    Hello Community, finally I succeeded in installing C7 on my MacBook Pro with Mavericks 10.9. But it breaks down every time after I choose the resolution for my project. The beachball appears for one second and then C7 breaks down. On the same MacBook

  • How To use process type in Process Chain

    Hi, I am new in Procc. chain and now seeking documentation of The process type in Process chain that's describing how and when to use it. Can you please help ? thanks supriatna Message was edited by: BW - xltrs

  • Quick Time sows up with Green Screen

    Green Screen pops up when I watch trailer or download movies from the apple store but the sound plays. please help. Windows xp. just downloaded quick time for christmas when I got a card for xmas, so should be latest version....

  • EUL Tables, Business Area and Workbook

    Hi, I would like to know , how are the business area connected to Workbooks! through which EUL Tables! Business area is stored in EUL4_BAS table Workbooks are stored in EUL4_DOCUMENTS table BUT HOW ARE THESE TABLES CONNECTED? I want to create a repor

  • Forms Recognition - Sizing

    Hi, Does any one have sizing metrics for Oracle Forms Recognition? I need to know how big has to be the server to process 12k pages per month (about 600 per day). Thanks, Fabio