java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference

Stack Overflow | yuval | 5 months ago
  1. 0

    Firebase NullPointerException in Play Services 9.2.1

    Stack Overflow | 5 months ago | yuval
    java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
  2. 0

    Internal function in com.google.firebase.iid package triggers NPE in android.util.Base64.decode() on some device

    Google Groups | 6 months ago | b0b
    java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
  3. 0

    Can't display the image

    Stack Overflow | 3 years ago | End.Game
    java.lang.RuntimeException: Unable to start activity ComponentInfo{it.rs.esempioparsinglistview/it.rs.esempioparsinglistview.SingleActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trouble when encode base64 string from firebase to RecylclerView

    Stack Overflow | 6 months ago | Utif Milkedori
    java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
  6. 0

    GitHub comment 10#245548395

    GitHub | 3 months ago | bailibaili
    java.lang.RuntimeException: Unable to create application com.android.tools.fd.runtime.BootstrapApplication: java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference

  1. jk 13 times, last 4 months ago
  2. bayukresno 5 times, last 6 months ago
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 'byte[] java.lang.String.getBytes()' on a null object reference

    at android.util.Base64.decode()
  2. Android Platform
    Base64.decode
    1. android.util.Base64.decode(Base64.java:118)
    1 frame
  3. com.google.firebase
    zzb$2.run
    1. com.google.firebase.iid.zzg.zzkl(Unknown Source)
    2. com.google.firebase.iid.zzg.zzh(Unknown Source)
    3. com.google.firebase.iid.zzd.zzb(Unknown Source)
    4. com.google.firebase.iid.zzd.zzcxa(Unknown Source)
    5. com.google.firebase.iid.zzd.zzbmu(Unknown Source)
    6. com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source)
    7. com.google.firebase.iid.FirebaseInstanceId.zzcww(Unknown Source)
    8. com.google.firebase.iid.FirebaseInstanceIdService.zzaa(Unknown Source)
    9. com.google.firebase.iid.FirebaseInstanceIdService.zzm(Unknown Source)
    10. com.google.firebase.iid.zzb$2.run(Unknown Source)
    10 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames