Baseflow / Baseflow/flutter_cache_manager

error The getter 'month' was called on null.

Đang mở
#252 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dart
Star
809
Fork
510
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
1

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, firebase, flutter
Lĩnh vực
mobile-dev
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.