java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.firebase.storage.StorageReference com.google.firebase.storage.FirebaseStorage.getReferenceFromUrl(java.lang.String)' 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

    java.lang.NullPointerException: while using FirebaseStorage and Picasso

    Stack Overflow | 5 months ago | Lutaaya Huzaifah
    java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.firebase.storage.StorageReference com.google.firebase.storage.FirebaseStorage.getReferenceFromUrl(java.lang.String)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'com.google.firebase.storage.StorageReference com.google.firebase.storage.FirebaseStorage.getReferenceFromUrl(java.lang.String)' on a null object reference

      at oerrride.we.huzykamz.testingappfirebase.MyAdapter.<init>()
    2. oerrride.we.huzykamz
      MainActivity$1.onChildAdded
      1. oerrride.we.huzykamz.testingappfirebase.MyAdapter.<init>(MyAdapter.java:29)
      2. oerrride.we.huzykamz.testingappfirebase.MainActivity.LoadData(MainActivity.java:97)
      3. oerrride.we.huzykamz.testingappfirebase.MainActivity$1.onChildAdded(MainActivity.java:53)
      3 frames
    3. com.google.android
      zzajh$1.run
      1. com.google.android.gms.internal.zzahe.zza(Unknown Source)
      2. com.google.android.gms.internal.zzaje.zzcta(Unknown Source)
      3. com.google.android.gms.internal.zzajh$1.run(Unknown Source)
      3 frames
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:148)
      4. android.app.ActivityThread.main(ActivityThread.java:5417)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames