Baseflow / Baseflow/flutter_cache_manager
error The getter 'month' was called on null.
- Lenguaje dominante
- Dart
- Estrellas
- 809
- Forks
- 510
- Merge medio
- 6 min
- PR fusionados (30 d)
- 1
Descripción
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.
Guía de contribución
Línea de trabajo
El informe no menciona ningún archivo del repositorio, prueba ni punto de entrada reproducible. Empieza reproduciendo el flujo de actualización y filtrado del calendario descrito, usando el CalendarController y Firebase-backed dates, y después identifica dónde se lee el null month. Se considera terminado cuando la causa está confirmada y el comportamiento está cubierto por una prueba de regresión o un fix documentado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- dart, firebase, flutter
- Área
- mobile-dev
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 20/100