"Invalid to part type. When performing the assign operation" Assign Activity Fails When Assigning the Same Variable to Itself in PS2
(Doc ID 1194228.1)
Last updated on NOVEMBER 01, 2010
Applies to:Oracle(R) BPEL Process Manager - Version: 220.127.116.11.0 to 18.104.22.168.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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document