Baseflow / Baseflow/flutter_cache_manager
error The getter 'month' was called on null.
- 主要语言
- Dart
- 星标
- 809
- 派生
- 510
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 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.
贡献指南
调研方向
该报告没有指出任何仓库文件、测试或可复现的入口点。首先,使用 CalendarController 和 Firebase-backed dates,复现其中描述的日历刷新和筛选流程,然后确定读取 null month 的位置。当原因得到确认,并且该行为由回归测试或有文档记录的 fix 覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart, firebase, flutter
- 领域
- mobile-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100