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 ashishchugh20
, 1 year ago
Unable to start activity ComponentInfo{com.ias.dispatchM/com.soundcloud.android.crop.CropImageActivity}: java.lang.NullPointerException: Attempt to write to field 'android.content.Context com.soundcloud.android.crop.CropImageView.context' on a null object reference
via GitHub by ashishchugh20
, 1 year ago
Unable to start activity ComponentInfo{com.ias.dispatchM/com.soundcloud.android.crop.CropImageActivity}: java.lang.NullPointerException: Attempt to write to field 'android.content.Context com.soundcloud.android.crop.CropImageView.context' on a null object reference
via Appcelerator JIRA by Ricardo Ramirez, 10 months ago
Unable to start activity ComponentInfo{com.ias.dispatchM/com.soundcloud.android.crop.CropImageActivity}: java.lang.NullPointerException: Attempt to write to field 'android.content.Context com.soundcloud.android.crop.CropImageView.context' on a null object reference
via Appcelerator JIRA by Ricardo Ramirez, 1 year ago
Unable to start activity ComponentInfo{com.ias.dispatchM/com.soundcloud.android.crop.CropImageActivity}: java.lang.NullPointerException: Attempt to write to field 'android.content.Context com.soundcloud.android.crop.CropImageView.context' on a null object reference
via GitHub by Demarcia-cn
, 1 year ago
Unable to start activity ComponentInfo{cn.***.****/com.soundcloud.android.crop.CropImageActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference
via Stack Overflow by sagi
, 2 years ago
Unable to start activity ComponentInfo{com.example.secondapp/com.example.secondapp.MainActivity}: java.lang.NullPointerException: Attempt to write to field 'int android.graphics.Point.y' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ias.dispatchM/com.soundcloud.android.crop.CropImageActivity}: java.lang.NullPointerException: Attempt to write to field 'android.content.Context com.soundcloud.android.crop.CropImageView.context' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)