com.google.firebase.database.DatabaseException

Class com.google.firebase.udacity.friendlychat.FriendlyMessage is missing a constructor with no arguments

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web54

  • Class com.google.firebase.udacity.friendlychat.FriendlyMessage is missing a constructor with no arguments
  • via Stack Overflow by 7uthaifah
    , 4 months ago
    Class com.pcsoftgroup.test.fragments.Adapter is missing a constructor with no arguments
  • via Stack Overflow by ljeabmreosn
    , 7 months ago
    Class java.util.UUID is missing a constructor with no arguments
  • Stack trace

    • com.google.firebase.database.DatabaseException: Class com.google.firebase.udacity.friendlychat.FriendlyMessage is missing a constructor with no arguments at com.google.android.gms.internal.zzbqi$zza.zze(Unknown Source) at com.google.android.gms.internal.zzbqi$zza.zzaG(Unknown Source) at com.google.android.gms.internal.zzbqi.zze(Unknown Source) at com.google.android.gms.internal.zzbqi.zzb(Unknown Source) at com.google.android.gms.internal.zzbqi.zza(Unknown Source) at com.google.firebase.database.DataSnapshot.getValue(Unknown Source) at com.google.firebase.udacity.friendlychat.MainActivity$6.onChildAdded(MainActivity.java:290) at com.google.android.gms.internal.zzblz.zza(Unknown Source) at com.google.android.gms.internal.zzbnz.zzYj(Unknown Source) at com.google.android.gms.internal.zzboc$1.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6688) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.