Answered

Intercom Android SDK 10.6.1 crash IllegalArgumentException Key 'limit' not found

  • 25 April 2022
  • 3 replies
  • 99 views

Hi. I have some crashes in app with integrated Intercom Android SDK 10.6.1. Stack trace is:

Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=840666861, result=-1, data=Intent { (has extras) }} to activity {com.healbe.healbegobe/io.intercom.android.sdk.activities.IntercomMessengerActivity}: java.lang.IllegalArgumentException: Key 'limit' not found in '40MBを越えるファイルは送信できません'
at android.app.ActivityThread.deliverResults(ActivityThread.java:5311)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5350)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:54)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2215)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:346)
at android.os.Looper.loop(Looper.java:475)
at android.app.ActivityThread.main(ActivityThread.java:7889)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1009)
 
Caused by java.lang.IllegalArgumentException: Key 'limit' not found in '40MBを越えるファイルは送信できません'
at io.intercom.android.sdk.utilities.Phrase.put(Phrase.java:139)
at io.intercom.android.sdk.conversation.ConversationFragment$8.showUploadError(ConversationFragment.java:854)
at io.intercom.android.sdk.conversation.ConversationFragment$8.onUploadImageSelected(ConversationFragment.java:821)
at io.intercom.android.sdk.conversation.composer.galleryinput.GalleryInputManager$2.onGalleryOutputReceived(GalleryInputManager.java:48)
at com.intercom.input.gallery.GalleryInputFragment.onActivityResult(GalleryInputFragment.java:367)
at androidx.fragment.app.FragmentManager$9.onActivityResult(FragmentManager.java:2905)
at androidx.fragment.app.FragmentManager$9.onActivityResult(FragmentManager.java:2885)
at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:392)
at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:351)
at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:638)
at androidx.fragment.app.FragmentActivity.onActivityResult(FragmentActivity.java:164)
at android.app.Activity.dispatchActivityResult(Activity.java:8382)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5304)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5350)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:54)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2215)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:346)
at android.os.Looper.loop(Looper.java:475)
at android.app.ActivityThread.main(ActivityThread.java:7889)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1009)

 

icon

Best answer by Diana Tripac 1 June 2022, 11:31

View original

3 replies

Hey @anton k12​ 👋

 

Would you mind sending us a message through the Messenger with these crash logs and a Support Engineer can look into this for you 🙌

OK. Thank you :)

Userlevel 4
Badge +2

Hi Anton, That's the answer from our Support Engineer regarding your issue: "Thanks for sharing this stack-trace regarding your crashes. I see you mention you are using version 10.6.1 of the Intercom Android SDK. Currently the latest version of this SDK is "12.1.1". Could you please update to this latest version to rule out this being the issue"

Reply