Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by yuval
, 1 year ago
Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
via Stack Overflow by prashu Gupta
, 1 month ago
Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
via Stack Overflow by Utif Milkedori
, 1 year ago
Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
via Google Groups by b0b, 1 year ago
Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
via GitHub by bramley-turner-stride
, 6 days ago
Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
via Stack Overflow by End.Game
, 2 years ago
Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference	at android.util.Base64.decode(Base64.java:118)	at com.google.firebase.iid.zzg.zzkl(Unknown Source)	at com.google.firebase.iid.zzg.zzh(Unknown Source)	at com.google.firebase.iid.zzd.zzb(Unknown Source)	at com.google.firebase.iid.zzd.zzcxa(Unknown Source)	at com.google.firebase.iid.zzd.zzbmu(Unknown Source)	at com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source)	at com.google.firebase.iid.FirebaseInstanceId.zzcww(Unknown Source)	at com.google.firebase.iid.FirebaseInstanceIdService.zzaa(Unknown Source)	at com.google.firebase.iid.FirebaseInstanceIdService.zzm(Unknown Source)	at com.google.firebase.iid.zzb$2.run(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)	at java.lang.Thread.run(Thread.java:818)