- Apr 22, 2021
- 4,908
- 322
App crashes when trying to select records.
Code:
java.lang.NullPointerException: Attempt to invoke virtual method 'void miuix.micloudview.MiCloudStateView.setVisibility(int)' on a null object reference
at com.android.soundrecorder.fragment.RecordsFragment$ActionModeCallback.onCreateActionMode(Unknown Source:28)
at com.android.soundrecorder.view.recyclerview.EditableRecyclerViewWrapper$MultiChoiceModeListenerWrapper.onCreateActionMode(Unknown Source:8)
at miuix.appcompat.internal.app.widget.ActionBarOverlayLayout$ActionModeCallbackWrapper.onCreateActionMode(Unknown Source:2)
at miuix.appcompat.internal.view.ActionModeImpl.dispatchOnCreate(Unknown Source:9)
at miuix.appcompat.internal.app.widget.ActionBarImpl.startActionMode(Unknown Source:66)
at miuix.appcompat.app.FragmentDelegate.onWindowStartingActionMode(Unknown Source:12)
at miuix.appcompat.app.FragmentDelegate$1.onWindowStartingActionMode(Unknown Source:2)
at miuix.appcompat.internal.app.widget.ActionBarOverlayLayout.startActionMode(Unknown Source:24)
at miuix.appcompat.app.FragmentDelegate.startActionMode(Unknown Source:13)
at miuix.appcompat.app.Fragment.startActionMode(Unknown Source:2)
at com.android.soundrecorder.view.recyclerview.EditableRecyclerViewWrapper.startActionMode(Unknown Source:10)
at com.android.soundrecorder.fragment.RecordsFragment.enterActionMode(Unknown Source:34)
at com.android.soundrecorder.fragment.RecordsFragment.onContextItemSelected(Unknown Source:92)
at com.android.soundrecorder.fragment.HomeFragment.onContextItemSelected(Unknown Source:4)
at miuix.appcompat.app.FragmentDelegate.onMenuItemSelected(Unknown Source:14)
at miuix.appcompat.app.FragmentDelegate$1.onMenuItemSelected(Unknown Source:2)
at miuix.appcompat.internal.app.widget.ActionBarOverlayLayout$ContextMenuCallback.onMenuItemSelected(Unknown Source:15)
at miuix.appcompat.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(Unknown Source:4)
at miuix.appcompat.internal.view.menu.MenuItemImpl.invoke(Unknown Source:18)
at miuix.appcompat.internal.view.menu.MenuBuilder.performItemAction(Unknown Source:12)
at miuix.appcompat.internal.view.menu.context.ContextMenuPopupWindowImpl$2.onClick(Unknown Source:13)
at android.view.View.performClick(Unknown Source:17)
at android.view.View.performClickInternal(Unknown Source:3)
at android.view.View.access$3700(Unknown Source:0)
at android.view.View$PerformClick.run(Unknown Source:8)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loopOnce(Unknown Source:176)
at android.os.Looper.loop(Unknown Source:76)
at android.app.ActivityThread.main(Unknown Source:138)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:309)