You may see an "incompatible classes" ($ERR_INCPTCLS) error when returning an ArrayList of structures to xfServerPlus from xfNetLink Java or xfNetLink .NET. This error occurs because the elements of the collection cannot be cast to the data type of the loop variable.
When a structure is defined in the Repository for use with xfServerPlus, the structure becomes a class named with the structure name and, by default, each of the structure’s fields becomes a property of that class. This structure may be populated and used to pass data between client and server. If the parameter is defined as an ArrayList in the SMC, it is passed to the Synergy server from an xfNetLink client as an ArrayList of boxed alpha elements.
On the Synergy side, use a FOREACH loop to extract the data from the incoming ArrayList. In your Synergy code, declare the parameter as @System.Collections.Arraylist and declare the FOREACH loop counter variable as a boxed alpha (@a). As the FOREACH loop iterates through the ArrayList, use these variables to extract the data.
For example,