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

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

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
, 8 months 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
, 2 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
, 5 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
, 7 months 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
, 2 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)

Users with the same issue

429 times, 1 year ago
184 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
9 times, 11 months ago
6 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.