java.lang.RuntimeException: Unable to start activity ComponentInfo{attendance.emily.example.com.attendance/attendance.emily.example.com.attendance.MainActivity}: java.lang.NullPointerException: storage == null

Stack Overflow | Emilyy Lim | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Listview not updated on notifyDataSetChanged

    Stack Overflow | 2 months ago | Emilyy Lim
    java.lang.RuntimeException: Unable to start activity ComponentInfo{attendance.emily.example.com.attendance/attendance.emily.example.com.attendance.MainActivity}: java.lang.NullPointerException: storage == null
  2. 0

    Empty ListView causes java.lang.NullPointerException ERROR

    Stack Overflow | 2 months ago | Emilyy Lim
    java.lang.RuntimeException: Unable to start activity ComponentInfo{attendance.emily.example.com.attendance/attendance.emily.example.com.attendance.MainActivity}: java.lang.NullPointerException: storage == null
  3. 0

    Android: Nullpointer Exception in addOnGesturePerformedListener

    Stack Overflow | 5 years ago | Vishnu Mohan G
    java.lang.RuntimeException: Unable to start activity ComponentInfo{t.e.st/t.e.st.TestActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Null Pointer Exeception on viewPager.setAdapter(new MyFragmentPagerAdapter(getSupportFragmentManager()));

    Stack Overflow | 2 years ago | Peter Paul
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.lilstiikz.wehr/com.example.lilstiikz.wehr.MainActivity}: java.lang.NullPointerException Caused by: java.lang.NullPointerException
  6. 0

    java.lang.NoClassDefFoundError after adding dependences

    Stack Overflow | 1 year ago | Pecana
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pecana.example/com.pecana.example.MainActivity}: android.view.InflateException: Binary XML file line #27: Error inflating class com.pecana.example.SlidingTabLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349) at android.app.ActivityThread.access$700(ActivityThread.java:159) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:5419) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #27: Error inflating class com.pecana.example.SlidingTabLayout at android.view.LayoutInflater.createView(LayoutInflater.java:626) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at com.pecana.example.MainActivity.onCreate(MainActivity.java:162) at android.app.Activity.performCreate(Activity.java:5372) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2257) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349)
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

    storage == null

    at java.util.Arrays$ArrayList.<init>()
  2. Java RT
    Arrays.asList
    1. java.util.Arrays$ArrayList.<init>(Arrays.java:38)
    2. java.util.Arrays.asList(Arrays.java:155)
    2 frames
  3. Android Platform
    ArrayAdapter.<init>
    1. android.widget.ArrayAdapter.<init>(ArrayAdapter.java:128)
    1 frame
  4. attendance.emily.example
    MainActivity.onCreate
    1. attendance.emily.example.com.attendance.MainActivity.onCreate(MainActivity.java:73)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5312)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2552)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2653)
    5. android.app.ActivityThread.access$800(ActivityThread.java:156)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:157)
    9. android.app.ActivityThread.main(ActivityThread.java:5872)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame