nrastegar / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

FacebookBatchRequest returns null objects #407

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create multiple batch requests. Each batch is filled with 
"/FRIEND_ID/achievements" requests. Once one is done being processed send the 
next.
2. Null objects inside FacebookBatchRequest.

What is the expected output? What do you see instead?
Expected result is to get friend's achievement array. Instead I get a null 
object reference which breaks the app.

What version of the product are you using? On what operating system?
SWC: 1.8.1 Desktop
OS: Windows Xp/Windows 7

Please provide any additional information below.
Error output:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at com.facebook.graph.net::FacebookBatchRequest/handleDataReady()[C:\Users\facebookGraphApi\api\com\facebook\graph\net\FacebookBatchRequest.as:195]
    at com.facebook.graph.net::AbstractFacebookRequest/handleDataLoad()[C:\Users\facebookGraphApi\api\com\facebook\graph\net\AbstractFacebookRequest.as:269]
    at com.facebook.graph.net::AbstractFacebookRequest/handleURLLoaderComplete()[C:\Users\facebookGraphApi\api\com\facebook\graph\net\AbstractFacebookRequest.as:248]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

Original issue reported on code.google.com by aman...@magmic.com on 27 Jan 2012 at 7:33

GoogleCodeExporter commented 8 years ago
any news?

Original comment by siarhei....@gmail.com on 23 Feb 2013 at 6:35