java.lang.RuntimeException

Unable to start activity ComponentInfo{jahirfiquitiva.apps.iconshowcase/jahirfiquitiva.apps.iconshowcase.activities.ShowcaseActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.design.widget.TabLayout.setVisibility(int)' on a null object reference

Samebug tips1

Try loading the text file into a WebView, then printing the contents of the WebView.

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

Solutions on the web45897

  • Unable to start activity ComponentInfo{jahirfiquitiva.apps.iconshowcase/jahirfiquitiva.apps.iconshowcase.activities.ShowcaseActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.design.widget.TabLayout.setVisibility(int)' on a null object reference
  • Unable to resume activity {jahirfiquitiva.apps.iconshowcase/jahirfiquitiva.apps.iconshowcase.activities.ShowcaseActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.support.design.widget.AppBarLayout$Behavior.setTopAndBottomOffset(int)' on a null object reference
  • Unable to start activity ComponentInfo{com.habitrpg.android.habitica/com.habitrpg.android.habitica.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.design.widget.TabLayout.setVisibility(int)' on a null object reference
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{jahirfiquitiva.apps.iconshowcase/jahirfiquitiva.apps.iconshowcase.activities.ShowcaseActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.design.widget.TabLayout.setVisibility(int)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2316) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2376) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3928) at android.app.ActivityThread.access$900(ActivityThread.java:147) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1287) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5253) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695)

    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

    9 times, 3 weeks ago
    37 times, 3 weeks ago
    2 times, 1 month ago
    376 times, 1 month ago
    9 times, 1 month ago
    208 more bugmates