Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点击全屏崩溃 偶现 java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference #144

Open
xujiweis opened this issue Jan 13, 2020 · 3 comments

Comments

@xujiweis
Copy link

java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference
8169 8169 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:283)

18301-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:269)
18401-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.View.layout(View.java:20948)
18501-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6396)
18601-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
18701-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
18801-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
18901-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.View.layout(View.java:20948)
19001-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6396)
19101-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:331)
19201-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:269)
19301-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.View.layout(View.java:20948)
19401-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6396)
19501-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
19601-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
19701-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
19801-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.View.layout(View.java:20948)
19901-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6396)
20001-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:331)
20101-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:269)
20201-13 14:16:54.846 8169 8169 E AndroidRuntime: at com.android.internal.policy.DecorView.onLayout(DecorView.java:1369)
20301-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.View.layout(View.java:20948)
20401-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6396)
20501-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2883)
20601-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2406)
20701-13 14:16:54.846 8169 8169 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1524)

@LinYiFa
Copy link

LinYiFa commented Jul 7, 2020

想请教下,这个问题您解决了嘛?什么原因呢?

@gaojian89
Copy link

@xiaoyanger0825 大佬能修复下这个问题吗?android10手机基本必现

@zouchanglin
Copy link

我也遇到了这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants