java.lang.RuntimeException: Unable to start activity ComponentInfo{com.thedreamlight.thewallyapp/com.thedreamlight.thewallyapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android Java NullPointerException while albumlist.add() initiates. and list is also Intialised

    Stack Overflow | 8 months ago | Rakshith Vikramraj
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.thedreamlight.thewallyapp/com.thedreamlight.thewallyapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference

      at com.thedreamlight.thewallyapp.MainActivity.onCreate()
    2. com.thedreamlight.thewallyapp
      MainActivity.onCreate
      1. com.thedreamlight.thewallyapp.MainActivity.onCreate(MainActivity.java:61)
      1 frame
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6001)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2432)
      3 frames