Resolved MIUI Recorder


gogocar62

XM12 Tester
Apr 22, 2021
4,930
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)
 

Attachments

  • 1663576909122.jpg
    1663576909122.jpg
    227.6 KB · Views: 170
  • Like
Reactions: Birraque
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)
At least for me the Recorder app doesn't crash when I click in the Select option but doesn't even works either. Then I confirm the bug/issue in the current version for Poco F3 - Weekly 22.9.14