java.lang.IllegalArgumentException: Null is not a valid value for the FirebaseApp.

Stack Overflow | Sarfaraz | 6 months ago
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

    Some errors and questions about download image from firebase storage to local

    Stack Overflow | 5 months ago | Willpon
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.edu.pu.cs.firetest/com.edu.pu.cs.firetest.MainActivity}: java.lang.IllegalArgumentException: The supplied bucketname is not available to this project.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Null is not a valid value for the FirebaseApp.

      at com.google.android.gms.common.internal.zzac.zzb()
    2. com.google.android
      zzac.zzb
      1. com.google.android.gms.common.internal.zzac.zzb(Unknown Source)
      1 frame
    3. com.google.firebase
      FirebaseStorage.getInstance
      1. com.google.firebase.storage.FirebaseStorage.getInstance(Unknown Source)
      1 frame
    4. com.saz.firebasetest
      CarListAdapter.onBindViewHolder
      1. com.saz.firebasetest.controller.CarListAdapter.onBindViewHolder(CarListAdapter.java:86)
      2. com.saz.firebasetest.controller.CarListAdapter.onBindViewHolder(CarListAdapter.java:29)
      2 frames
    5. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5768)
      2. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5801)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5037)
      4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)
      5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
      6. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
      7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
      8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
      9. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3260)
      10. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3069)
      11. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
      11 frames
    6. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16975)
      2. android.view.ViewGroup.layout(ViewGroup.java:5579)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:396)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      5. android.view.View.layout(View.java:16975)
      6. android.view.ViewGroup.layout(ViewGroup.java:5579)
      7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:396)
      8. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      9. android.view.View.layout(View.java:16975)
      10. android.view.ViewGroup.layout(ViewGroup.java:5579)
      10 frames
    7. Android v7
      ActionBarOverlayLayout.onLayout
      1. android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:433)
      1 frame
    8. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16975)
      2. android.view.ViewGroup.layout(ViewGroup.java:5579)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:396)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      5. android.view.View.layout(View.java:16975)
      6. android.view.ViewGroup.layout(ViewGroup.java:5579)
      7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:2001)
      8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1844)
      9. android.widget.LinearLayout.onLayout(LinearLayout.java:1753)
      10. android.view.View.layout(View.java:16975)
      11. android.view.ViewGroup.layout(ViewGroup.java:5579)
      12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:396)
      13. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      13 frames
    9. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2755)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.view.View.layout(View.java:16975)
      2. android.view.ViewGroup.layout(ViewGroup.java:5579)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2552)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2255)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6737)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:894)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:696)
      9. android.view.Choreographer.doFrame(Choreographer.java:631)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:880)
      11. android.os.Handler.handleCallback(Handler.java:815)
      12. android.os.Handler.dispatchMessage(Handler.java:104)
      13. android.os.Looper.loop(Looper.java:207)
      14. android.app.ActivityThread.main(ActivityThread.java:5776)
      14 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    12. Android
      ZygoteInit$MethodAndArgsCaller.run
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
      1 frame