Upgrading Standard to Enterprise breaks .NET object method execution
We just upgraded our CF 10 Standard to CF 13 Enterprise over the weekend and are trying to hammer out some strange bugs.
One example is where we are hitting a .NET web service which returns an object. When we try to execute the .getString() method on this object the value returned is "undefined":
<cfset var recInfo = structnew()>
<cfset var schemaName = "">
<cfset var theArray = arraynew(1)>
<cfinvoke webservice="#this.JobTicketWS#" method="GetSchemasNames" returnVariable="result" wsversion="1">
<cfinvokeargument name="inUsername" value="#this.inUserName#">
<cfinvokeargument name="inPassword" value="#this.inPassword#">
<cfinvokeargument name="inTicketID" value="#arguments.jobTicketID#">
</cfinvoke>
<cfif result.getString() neq "">
<cfset theArray = result.getString()>
<cfset schemaName = theArray[1]><!--- if it's not empty it will always be 1 --->
</cfif>
What the value I am expecting is a single-dimension array of a string.
The error is "theArray is undefined" - when I explicitly dump #result.getString() I get "undefined"
I can execute another function on this very same object that returns a string and it works just fine. Only the methods that return an array that are breaking.
We're on Windows Server 2012 and apparently Java 10 after the upgrade. (we were on Java 😎 with a single CF node.
Any ideas are appreciated.
