Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Create an empty public constructor in your code.

Solutions on the web

via Stack Overflow by madhan kumar
, 1 year ago
Unable to start activity ComponentInfo{com.fitz.android.fitz_android/com.fitz.android.ui.FitzActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setTypeface(android.graphics.Typeface)' on a null object reference
via Stack Overflow by ODor
, 1 year ago
Unable to start activity ComponentInfo{com.example.jack.test123/com.example.jack.test123.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTypeface(android.graphics.Typeface)' on a null object reference
via Stack Overflow by Ramón Wilhelm
, 7 months ago
Unable to start activity ComponentInfo{com.example.fdai3744.t_online20/com.example.fdai3744.t_online20.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTypeface(android.graphics.Typeface)' on a null object reference
via GitHub by wjg1101766085
, 10 months ago
Unable to start activity ComponentInfo{com.github.airsaid.accountbook/com.github.airsaid.accountbook.SplashActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTypeface(android.graphics.Typeface)' on a null object reference
via Stack Overflow by Spectose
, 1 year ago
Unable to start activity ComponentInfo{com.example.introslider/com.example.introslider.WelcomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTypeface(android.graphics.Typeface)' on a null object reference
via Stack Overflow by Boris Ruzanov
, 7 months ago
Unable to start activity ComponentInfo{com.example.android.list/com.example.android.list.CatalogActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTypeface(android.graphics.Typeface)' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fitz.android.fitz_android/com.fitz.android.ui.FitzActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setTypeface(android.graphics.Typeface)' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)