java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.rishabhgambhir.findthelost/com.example.rishabhgambhir.findthelost.Description}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageBitmap(android.graphics.Bitmap)' on a null object reference

  1. 0

    Passing image from one activity to another in android

    Stack Overflow | 2 weeks ago | Rishabh Gambhir
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.rishabhgambhir.findthelost/com.example.rishabhgambhir.findthelost.Description}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageBitmap(android.graphics.Bitmap)' on a null object reference
  2. 0

    ImageButton to open a new activity

    Stack Overflow | 2 weeks ago | George X Replay
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.example.cwapp/com.android.example.cwapp.Places_mainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
  3. 0

    How to create setOnClickListener on an array ImageView

    Stack Overflow | 10 months ago | upward
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.navigate.viewpager1/com.example.navigate.viewpager1.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error thrown when running my splash screen

    Stack Overflow | 9 months ago | Matthew Richardson
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.matthew.myapp/com.example.matthew.myapp.SplashActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.startAnimation(android.view.animation.Animation)' on a null object reference
  6. 0

    how to add a URI to a image view in android

    Stack Overflow | 10 months ago | pavithra
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pavithraprabodha.selfimania/com.example.pavithraprabodha.selfimania.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageURI(android.net.Uri)' on a null object reference

  1. andreeaa marin 180 times, last 2 weeks ago
  2. Reich 59 times, last 2 weeks ago
  3. gamebusterz 28 times, last 4 days ago
  4. Emrah Küçük 3 times, last 1 month ago
  5. Riyaz 2 times, last 2 months ago
43 more registered users
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Unable to start activity ComponentInfo{com.example.rishabhgambhir.findthelost/com.example.rishabhgambhir.findthelost.Description}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageBitmap(android.graphics.Bitmap)' on a null object reference

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    2 frames