I have no idea where “parameters” came from and what it is. Which method in the call stack created what is “parameters”? Maybe suspendApp? Or authAndCall?
I think we need to understand why Flex has null at some point but Royale doesn’t. -Alex From: "[email protected]" <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, June 25, 2020 at 9:51 AM To: "[email protected]" <[email protected]> Subject: Re: empty object is being behaved as if an xml Which part you want to look Alex ? Android için Outlook<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7C9adde787224c40a2859c08d819280960%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637287007035345242&sdata=kXec8lJ%2Fa%2Bjs0PPAS1U0KGBuDId3pyboXFOxDvFKbvA%3D&reserved=0>'u edinin ________________________________ From: Alex Harui <[email protected]> Sent: Thursday, June 25, 2020 7:47:13 PM To: [email protected] <[email protected]> Subject: Re: empty object is being behaved as if an xml What does the code look like that calls this? From: serkan <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Wednesday, June 24, 2020 at 11:53 PM To: "[email protected]" <[email protected]> Subject: empty object is being behaved as if an xml Hi, Regarding the exception : [cid:[email protected]] When the "parameters" is null it is being behaved like an xml node by AbstractOperation with the code piece below : if (ctype == CONTENT_TYPE_XML) { if (parameters is String && xmlEncode == null) { paramsToSend = parameters as String; } else { paramsToSend = parameters.toXMLString(); } In fact Flex version checks if it is XMLNode or not than creates some kind of empty XML "<>" How can I check if "parameters" is not an xml string and convert it to empty xml string ? Checking null is not working because it is not null in royale bu an empty Array, which is an object according to the code below : [cid:[email protected]] Thanks, Serkan
