"Invalid to part type. When performing the assign operation" Assign Activity Fails When Assigning the Same Variable to Itself in PS2
Last updated on NOVEMBER 01, 2010
Applies to:Oracle(R) BPEL Process Manager - Version: 126.96.36.199.0 to 188.8.131.52.0 - Release: 11gR1 to 11gR1
Information in this document applies to any platform.
In SOA Suite 11g R1 PS2 code starts giving out errors when trying to assign a string to itself. For eg.
1. Create a String variable in BPEL (eg. stringVar) and assign a value through assign action
2. In Java activity assign a string value to stringVar.
String newVal = "Newvalue";
3. Create another assign action and assign stringVar to itself.
when the above code is executed, it fails with the following exception:
<summary>Invalid to part type. When performing the assign operation, the to node TEMP VAR ASSIGN STRING is invalid. The node named in the error message was either null or an empty node set, and it was not an instance of org.w3c.Element. Verify the node value at line number 76 is not null and is an instance of org.w3c.Element.
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