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 GitHub by sandeeprana011
, 1 year ago
Unable to start activity ComponentInfo{com.takesport/com.thefinestartist.finestwebview.FinestWebViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via GitHub by 3lywa
, 2 years ago
Unable to start activity ComponentInfo{com.go.snoolabs/com.thefinestartist.finestwebview.FinestWebViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via Stack Overflow by rib
, 1 year ago
Unable to start activity ComponentInfo{com.lama.csgosmokes/com.lama.csgosmokes.Smoke}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via Stack Overflow by Shawnzey
, 10 months ago
Unable to start activity ComponentInfo{com.shawnzey.clientprofiles/com.shawnzey.clientprofiles.ImageViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via GitHub by adetheprince
, 8 months ago
Unable to start activity ComponentInfo{com.gotech.tv.launcher/com.gotech.tv.launcher.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via Stack Overflow by Niklas Rosencrantz
, 2 weeks ago
Unable to start activity ComponentInfo{dev.android.space/dev.android.jamie.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.takesport/com.thefinestartist.finestwebview.FinestWebViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2659)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2724)