hyb1996-guest / auto.js3-issues

0 stars 0 forks source link

[249]java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData$Item android.content.ClipData.getItemAt(int)' on a null object reference #26678

Closed Pinkdoge closed 5 years ago

Pinkdoge commented 5 years ago

Description:

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData$Item android.content.ClipData.getItemAt(int)' on a null object reference at com.stardust.util.ClipboardUtil.getClip(ClipboardUtil.java:21) at com.stardust.scriptdroid.ui.edit.EditorMenu.paste(EditorMenu.java:209) at com.stardust.scriptdroid.ui.edit.EditorMenu.onEditOptionsSelected(EditorMenu.java:148) at com.stardust.scriptdroid.ui.edit.EditorMenu.onOptionsItemSelected(EditorMenu.java:51) at com.stardust.scriptdroid.ui.edit.EditActivity.onOptionsItemSelected(EditActivity.java:78) at android.app.Activity.onMenuItemSelected(Activity.java:3518) at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:408) at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:195) at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:113) at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:113) at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69) at android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:206) at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:776) at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:822) at android.support.v7.view.menu.SubMenuBuilder.dispatchMenuItemSelected(SubMenuBuilder.java:88) at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:156) at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:969) at android.support.v7.view.menu.MenuPopup.onItemClick(MenuPopup.java:127) at android.widget.AdapterView.performItemClick(AdapterView.java:318) at android.widget.AbsListView.performItemClick(AbsListView.java:1181) at android.widget.AbsListView$PerformClick.run(AbsListView.java:3165) at android.widget.AbsListView$3.run(AbsListView.java:4147) at android.os.Handler.handleCallback(Handler.java:794) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:6651) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)

Device info:

App version3.0.0 Beta3
App version code249
Android build versionV10.2.2.0.OEGCNFK
Android release version8.1.0
Android SDK version27
Android build IDZQL1711-vince-build-20181214215821
Device brandxiaomi
Device manufacturerXiaomi
Device namevince
Device modelRedmi 5 Plus
Device product namevince
Device hardware nameqcom
ABIs[arm64-v8a, armeabi-v7a, armeabi]
ABIs (32bit)[armeabi-v7a, armeabi]
ABIs (64bit)[arm64-v8a]