Messaging app crashes on second simbol input when searching. Mi8 SE.
Code:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.drawable.Drawable.isProjected()' on a null object reference
at android.graphics.drawable.LayerDrawable.isProjected(Unknown Source:24)
at android.view.View.invalidateInternal(Unknown Source:114)
at android.view.View.invalidate(Unknown Source:17)
at android.view.View.setFrame(Unknown Source:105)
at android.view.View.layout(Unknown Source:42)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.LinearLayout.setChildFrame(Unknown Source:4)
at android.widget.LinearLayout.layoutVertical(Unknown Source:195)
at android.widget.LinearLayout.onLayout(Unknown Source:5)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.ListView.setupChild(Unknown Source:296)
at android.widget.ListView.makeAndAddView(Unknown Source:42)
at android.widget.ListView.fillDown(Unknown Source:48)
at android.widget.ListView.fillDown(Unknown Source:1)
at android.widget.ListView.fillFromTop(Unknown Source:31)
at android.widget.ListView.layoutChildren(Unknown Source:566)
at com.miui.internal.variable.v16.Android_Widget_ListView_class.handleLayoutChildren(Unknown Source:0)
at android.widget.AbsListView.onLayout(Unknown Source:31)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at com.android.internal.policy.DecorView.onLayout(Unknown Source:0)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.view.ViewRootImpl.performLayout(Unknown Source:30)
at android.view.ViewRootImpl.performTraversals(Unknown Source:2318)
at android.view.ViewRootImpl.doTraversal(Unknown Source:31)
at android.view.ViewRootImpl$TraversalRunnable.run(Unknown Source:2)
at android.view.Choreographer$CallbackRecord.run(Unknown Source:20)
at android.view.Choreographer.doCallbacks(Unknown Source:82)
at android.view.Choreographer.doFrame(Unknown Source:176)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Unknown Source:9)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loop(Unknown Source:208)
at android.app.ActivityThread.main(Unknown Source:107)
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:274)
Reporting same bug on Mi8, message app crashes on FIRST symbol input when searching
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.drawable.Drawable.isProjected()' on a null object reference
at android.graphics.drawable.LayerDrawable.isProjected(Unknown Source:24)
at android.view.View.invalidateInternal(Unknown Source:114)
at android.view.View.invalidate(Unknown Source:17)
at android.view.View.setFrame(Unknown Source:105)
at android.view.View.layout(Unknown Source:42)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.LinearLayout.setChildFrame(Unknown Source:4)
at android.widget.LinearLayout.layoutVertical(Unknown Source:195)
at android.widget.LinearLayout.onLayout(Unknown Source:5)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.ListView.setupChild(Unknown Source:296)
at android.widget.ListView.makeAndAddView(Unknown Source:42)
at android.widget.ListView.fillDown(Unknown Source:48)
at android.widget.ListView.fillDown(Unknown Source:1)
at android.widget.ListView.fillFromTop(Unknown Source:31)
at android.widget.ListView.layoutChildren(Unknown Source:566)
at com.miui.internal.variable.v16.Android_Widget_ListView_class.handleLayoutChildren(Unknown Source:0)
at android.widget.AbsListView.onLayout(Unknown Source:31)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.widget.FrameLayout.layoutChildren(Unknown Source:171)
at android.widget.FrameLayout.onLayout(Unknown Source:6)
at com.android.internal.policy.DecorView.onLayout(Unknown Source:0)
at android.view.View.layout(Unknown Source:74)
at android.view.ViewGroup.layout(Unknown Source:25)
at android.view.ViewRootImpl.performLayout(Unknown Source:30)
at android.view.ViewRootImpl.performTraversals(Unknown Source:2318)
at android.view.ViewRootImpl.doTraversal(Unknown Source:31)
at android.view.ViewRootImpl$TraversalRunnable.run(Unknown Source:2)
at android.view.Choreographer$CallbackRecord.run(Unknown Source:20)
at android.view.Choreographer.doCallbacks(Unknown Source:82)
at android.view.Choreographer.doFrame(Unknown Source:176)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Unknown Source:9)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loop(Unknown Source:208)
at android.app.ActivityThread.main(Unknown Source:107)
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:274)
Envoyé depuis mon MI 8