java.lang.NullPointerException

Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference at android.widget.FrameLayout.layoutChildren(FrameLayout.java:288) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16630) at android.view.ViewGroup.layout(ViewGroup.java:5437) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16630) at android.view.ViewGroup.layout(ViewGroup.java:5437) at org.nativescript.widgets.CommonLayoutParams.layoutChild(CommonLayoutParams.java:189) at org.nativescript.widgets.GridLayout.onLayout(GridLayout.java:353) at android.view.View.layout(View.java:16630) at android.view.ViewGroup.layout(ViewGroup.java:5437) at org.nativescript.widgets.CommonLayoutParams.layoutChild(CommonLayoutParams.java:189) at org.nativescript.widgets.ContentLayout.onLayout(ContentLayout.java:73)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

BassiuzBassiuz
2 times, last one
sbattaglinosbattaglino
Once,
Unknown visitor
Unknown visitorOnce,
FreeZyFreeZy
4 times, last one
Unknown visitor
Unknown visitorOnce,
11 more bugmates