Baseflow / Baseflow/flutter_cache_manager

error The getter 'month' was called on null.

オープン
#252 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
809
フォーク
510
平均マージ
6分
マージ済み PR(30日)
1

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The report names no repository file, test, or reproducible entry point. Start by reproducing the calendar refresh and filtering flow described, using the CalendarController and Firebase-backed dates, then identify where the null month is read. Done means the cause is confirmed and the behavior is covered by a regression test or documented fix.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, firebase, flutter
領域
mobile-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。