AnthonyLins / facebook-actionscript-api

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

Error thrown on FacebookMobile.login with Icecream Sandwich Android devices #427

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

FacebookMobile.login works perfectly on Android Gingerbread devices. With 
Icecream Sandwich devices an error is thrown.

Reproducable Steps (Icecream Sandwich):

1. Call FacebookMobile.login(APP_ID, stage, extendedPermissions, getWebView());
2. Login window appears, enter username/password and press Login.
3. Error! (see below)

What is the expected output? What do you see instead?

On deployed devices, webView either displays the text "success" (it should 
close the window automatically and send through the session) or closes the 
webView and throws an invisible error.

Through the AIR Android Debugger it throws the error:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at com.facebook.graph::FacebookMobile/handleLogin()[C:\Users\facebookGraphApi\mobileAPI\com\facebook\graph\FacebookMobile.as:569]
    at com.facebook.graph.windows::MobileLoginWindow/handleLocationChange()[C:\Users\facebookGraphApi\mobileAPI\com\facebook\graph\windows\MobileLoginWindow.as:146]

What version of the product are you using? On what operating system?

This works fine on the Flash Builder Android emulator and Gingerbread devices, 
but when deployed on Icecream Sandwich devices the errors occur.

Original issue reported on code.google.com by coolcook...@gmail.com on 26 Jun 2012 at 1:54