java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.codyhunsberger.cis_3515_lab_3/com.example.codyhunsberger.cis_3515_lab_3.CanvasActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference

Stack Overflow | hunsbct | 2 months ago
  1. 0

    Android Studio: Issues using spinner in one activity to change background color in another

    Stack Overflow | 2 months ago | hunsbct
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.codyhunsberger.cis_3515_lab_3/com.example.codyhunsberger.cis_3515_lab_3.CanvasActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference
  2. 0

    Login and Registration Fatal Exception

    Stack Overflow | 8 months ago | Mario Giordano Bueno Sarmiento
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference
  3. 0

    Volley JsonObjectRequest send headers in GET Request

    Stack Overflow | 10 months ago | Akshay Bhasin
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NullPointerException in com.kuxhausen.huemore.net.hue.HueUtils.getGamut

    GitHub | 6 months ago | ekux44
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference
  6. 0

    GCM 8.3 - crash resulting from starting a GcmListenerService on ACTION_BOOT_COMPLETED

    Stack Overflow | 9 months ago | Doron Yakovlev-Golani
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference

    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.NullPointerException

      Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference

      at com.example.codyhunsberger.cis_3515_lab_3.CanvasActivity.setBgColor()
    2. com.example.codyhunsberger
      CanvasActivity.onCreate
      1. com.example.codyhunsberger.cis_3515_lab_3.CanvasActivity.setBgColor(CanvasActivity.java:31)
      2. com.example.codyhunsberger.cis_3515_lab_3.CanvasActivity.onCreate(CanvasActivity.java:25)
      2 frames
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6272)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)
      3 frames