[AC-2972] Android sharing by Facebook.dialog now crashing every time
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2011-10-20T12:07:04.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | android, facebook, mobilesdk |
| Reporter | Banzai Mobile |
| Assignee | Matthew Apperson |
| Created | 2011-08-25T04:35:23.000+0000 |
| Updated | 2016-03-08T07:47:58.000+0000 |
Description
See http://developer.appcelerator.com/question/124572/android-crash-with-facebook
Any call to Titanium.Facebook.dialog("feed", data, function(e){}) crashes the Android app with the following exception trace:
{{java.lang.ArrayIndexOutOfBoundsException
at com.facebook.android.Util.decodeUrl(Util.java:115)
at com.facebook.android.Util.parseUrl(Util.java:134)
at com.facebook.android.FbDialog$FbWebViewClient.shouldOverrideUrlLoading(FbDialog.java:152)
at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:218)
at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:337)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)}}
I'm not 100% sure, but this started happening only recently.
KitchenSink Facebook example crashes too.
Thank you for raising this ticket. I am afraid we need all the information listed in the [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist) in order to accept a ticket. Once this ticket is complete, we can move it to the main project. Thank you
Closing resolved tickets due to inactivity.