takiuddin93 / ChatApp

A Flutter Chat application, using Firebase for Google Sign In/Sign Up and exchange text, emoji and images. Integrated Agora Video Call SDK to communicate over video call
MIT License
104 stars 23 forks source link

The error is coming at the time of debugginh #6

Open amritkumarj opened 3 years ago

amritkumarj commented 3 years ago

The following NoSuchMethodError was thrown building StreamBuilder(dirty, state: _StreamBuilderBaseState<DocumentSnapshot, AsyncSnapshot>#7f7d8): The method '[]' was called on null. Receiver: null Tried calling:

amritkumarj commented 3 years ago

The following NoSuchMethodError was thrown building StreamBuilder(dirty, state: _StreamBuilderBaseState<DocumentSnapshot, AsyncSnapshot>#7f7d8): The method '[]' was called on null. Receiver: null Tried calling:

amritkumarj commented 3 years ago

The following NoSuchMethodError was thrown building StreamBuilder(dirty, state: _StreamBuilderBaseState<DocumentSnapshot, AsyncSnapshot>#7f7d8): The method '[]' was called on null. Receiver: null Tried calling:

amritkumarj commented 3 years ago

I am trying to add Tried calling : [] ("caller id")

takiuddin93 commented 3 years ago

App also crashes without giving any error in the log. it doesn't open.

at what point does it crash?

scorchy38 commented 3 years ago

App also crashes without giving any error in the log. it doesn't open.

at what point does it crash?

This because I think it is trying to fetch something from database and since we have a new database with no collections, null error is there, can you please provide your firebase firestore database screenshots, or you can export it in json format using this and share it here somewhere?