When XPATH Has Variable It Fails With Error - Unexcpected Error Occured While Processing An Assign Action (Doc ID 2286281.1)

Last updated on AUGUST 16, 2017

Applies to:

Integration Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : NA version, Core Issues

While running the below Xpath expression, it fails with error.

Expression:
$ReadRCECustomers/nsmpr4:SyncReadFileResponse/nsmpr1:FileReadResponse/nsmpr2:Root-Element/nsmpr2:W0-SEG2[$LoopCounter]/nsmpr2:W0-SEG0-PC-C

ERROR
-----------------------
 0The <from> value is invalid. The result of from-spec is null. Either the from node value or the xpath query in the from node value was invalid. According to BPEL4WS spec 1.1 section 14.3, the from node value should not be empty. Verify the from node value at line number 566 in the BPEL source. bpws:getVariableData(&apos;ics_api_internal_variable2&apos;, &apos;parameters&apos;, &apos;/nsmpr4:SyncReadFileResponse/nsmpr1:FileReadResponse/nsmpr2:Root-Element/nsmpr2:W0-SEG2[$LoopCounter]/nsmpr2:W0-SEG0-PC-C&apos;)56610124-BpAss38-BpSeq4.8-9

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run the expression of format $ReadRCECustomers/nsmpr4:SyncReadFileResponse/nsmpr1:FileReadResponse/nsmpr2:Root-Element/nsmpr2:W0-SEG2[$LoopCounter]/nsmpr2:W0-SEG0-PC-C
2. Not the error occurs.
 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms