Skip to content

Instantly share code, notes, and snippets.

@PolynomialDivision
Created July 2, 2017 19:27
Show Gist options
  • Save PolynomialDivision/5988fcc018af76ea8b44b06d36106c77 to your computer and use it in GitHub Desktop.
Save PolynomialDivision/5988fcc018af76ea8b44b06d36106c77 to your computer and use it in GitHub Desktop.
Error Message
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at eu.siacs.conversations.ui.widget.ListSelectionManager.startSelection( ListSelectionManager.java:215)
at eu.siacs.conversations.ui.widget.ListSelectionManager.startSelection( ListSelectionManager.java:201)
at eu.siacs.conversations.ui.ConversationFragment.selectText(ConversationFragment.java:754)
at eu.siacs.conversations.ui.ConversationFragment.onContextItemSelected( ConversationFragment.java:670)
at android.app.Fragment.performContextItemSelected(Fragment.java:2341)
at android.app.FragmentManagerImpl.dispatchContextItemSelected(FragmentManager.java:2088)
at android.app.FragmentController.dispatchContextItemSelected(FragmentController.java:303)
at android.app.Activity.onMenuItemSelected(Activity.java:2986)
at com.android.internal.policy.PhoneWindow$DialogMenuCallback.onMenuItemSelected( PhoneWindow.java:5012)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:761)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:904)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:894)
at com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:167)
at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1108)
at android.widget.AdapterView.performItemClick(AdapterView.java:310)
at android.widget.AbsListView.performItemClick(AbsListView.java:1145)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3081)
at android.widget.AbsListView$3.run(AbsListView.java:3947)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5441)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
Caused by: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 0
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.add(ArrayList.java:147)
at com.android.internal.view.menu.ActionMenu.add(ActionMenu.java:66)
at com.android.internal.view.menu.ActionMenu.add(ActionMenu.java:60)
at eu.siacs.conversations.ui.adapter.MessageAdapter$MessageBodyActionModeCallback.onCreateActionMode( MessageAdapter.java:870)
at eu.siacs.conversations.ui.widget.ListSelectionManager$CustomCallback.onCreateActionMode( ListSelectionManager.java:132)
at android.widget.Editor.startSelectionActionModeInternal(Editor.java:1760)
at android.widget.Editor.startSelectionActionMode(Editor.java:1713)
at java.lang.reflect.Method.invoke(Native Method)
at eu.siacs.conversations.ui.widget.ListSelectionManager.startSelection(ListSelectionManager.java:215 )
at eu.siacs.conversations.ui.widget.ListSelectionManager.startSelection(ListSelectionManager.java:201 )
at eu.siacs.conversations.ui.ConversationFragment.selectText(ConversationFragment.java:754)
at eu.siacs.conversations.ui.ConversationFragment.onContextItemSelected(ConversationFragment.java:670 )
at android.app.Fragment.performContextItemSelected(Fragment.java:2341)
at android.app.FragmentManagerImpl.dispatchContextItemSelected(FragmentManager.java:2088)
at android.app.FragmentController.dispatchContextItemSelected(FragmentController.java:303)
at android.app.Activity.onMenuItemSelected(Activity.java:2986)
at com.android.internal.policy.PhoneWindow$DialogMenuCallback.onMenuItemSelected( PhoneWindow.java:5012)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:761)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:904)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:894)
at com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:167)
at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1108)
at android.widget.AdapterView.performItemClick(AdapterView.java:310)
at android.widget.AbsListView.performItemClick(AbsListView.java:1145)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3081)
at android.widget.AbsListView$3.run(AbsListView.java:3947)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5441)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment