Skip to main content
Participant
August 9, 2011
Question

Adobe AIR Corrupting JSON data?

  • August 9, 2011
  • 1 reply
  • 493 views

I am experiencing a very strange issues with Adobe AIR truncating JSON responses randomly.

I have an AIR application which communicates with a server process via JSON. The issue I am experiencing is that the server is sending a valid JSON response but AIR seems to be randomly truncating some responses prematurely.

I installed charles web proxy to look at the HTTP request and verify that the JSON that is being returned is valid.

The JSON that the server returns and which the web proxy sees arriving is is :

{

    "responseType":"closewindow",

    "text":"SYSTEM IS BUSY DOING SYSTEM ADMINISTRATION WORK!",

    "delay":50000,

    "logout":false

}

But when I look at the JSON in Introspector all it sees is :

{

    "responseType":"closewindow",

    "text":"SYSTEM IS BUSY DOING SYSTEM

Does anyone have any ideas or similar experiences with AIR getting truncated http responses in introspector?

Any help would be greatly appreciated!

Jeremy Johnson

This topic has been closed for replies.

1 reply

chris.campbell
Legend
August 10, 2011

Hi Jeremy,

Would you mind adding a bug report on this over at bugbase.adobe.com?  Please include any sample code (or project) to help us reproduce the problem.  Also, if there's a particular server we should test against, please let us know.  If you'd like to keep any of the code private, please feel free to email me at ccampbel@adobe.com.

Please post back with the bug URL so that others affected can add their votes and comments.

Thanks,

Chris

Participant
August 15, 2011

Chris,

I have created a bug report over this issue as requested. Here is the bug url for future reference :

https://bugbase.adobe.com/index.cfm?event=bug&id=2942798

Jeremy

chris.campbell
Legend
August 15, 2011

Thank you Jeremy.  Do you know if this issue occurs with AIR 2.7 (or earlier) or with our AIR 3.0 beta 2 release?

Chris