Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2972] Android sharing by Facebook.dialog now crashing every time

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-10-20T12:07:04.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, facebook, mobilesdk
ReporterBanzai Mobile
AssigneeMatthew Apperson
Created2011-08-25T04:35:23.000+0000
Updated2016-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.

Comments

  1. Matthew Apperson 2011-10-20

    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
  2. Paul Dowsett 2011-12-27

    Closing resolved tickets due to inactivity.

JSON Source