Baseflow / Baseflow/flutter_cache_manager

error The getter 'month' was called on null.

Aperta
#252 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
809
Fork
510
Merge medio
6m
PR unite (30g)
1

Descrizione

I have this problem when I try to refresh something from the table:

Exception has occurred.
NoSuchMethodError (NoSuchMethodError: The getter 'month' was called on null.
Receiver: null
Tried calling: month)

In my application I have a lot of users, and a calendar for each user (to put the day they enter).

i try using a single CalendarController () or make a fixed list to have a CalendarController for each one, but when I want to modify something I get the error that a month, I get null, for example, I have another calendar that would filter by days (to see which people entered that day). and the initial day works great, changing it I get this error. It also happens to me with the hot restart.

any clue? the calendar works great, i have the days of the firebase, and work fine. but filtering or refreshing have this problem.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Il report non indica alcun file del repository, test o punto di ingresso riproducibile. Inizia riproducendo il flusso descritto di aggiornamento e filtraggio del calendario, usando il CalendarController e Firebase-backed dates, quindi identifica dove viene letto il null month. Il lavoro è completato quando la causa è confermata e il comportamento è coperto da un test di regressione o da un fix documentato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, firebase, flutter
Ambito
mobile-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.