Exception com.google.firebase.database.DatabaseException: Expected a List while deserializing, but got a class java.util.HashMap

1,721 views
Skip to first unread message

um...@eventshigh.com

unread,
Jun 6, 2017, 6:48:07 AM6/6/17
to Firebase Google Group
My firebase database structure is '  userId -> [array of events] '. While reading the data, everything seems to be fine, but suddenly one day it started giving me this DatabaseException error. I removed persistence enabled flag and it started working fine. Next day I added persistence enable true flag, it continued working fine. Can't figure out the issue. Please help!!

Tyler Rockwood

unread,
Jun 6, 2017, 4:51:09 PM6/6/17
to Firebase Google Group
Hello!


It's resolved now, and was not a bug within your application.

Pavan N

unread,
Mar 26, 2020, 8:57:13 AM3/26/20
to Firebase Google Group
Hi Tyler,

I am facing the same issue. I checked the link provided below, it seems to be the same type of error. The keys are numeric.
Could you please help?
Reply all
Reply to author
Forward
0 new messages