[Bug] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' #605
Labels
bug
Something isn't working
Steps to reproduce
I have an app with registration screens. When for example 3rd screen has TypeAheadField and we go through to the end of registration process and back to starting screen:
Navigator.of(context).pushNamedAndRemoveUntil(StartScreen.routeName, (Route<dynamic> route) => false);
Then when we reload app by clicking 'Play' button in Android Studio and trying to go to the screen with TypeAheadField problem occurs. App freezed between screens route animation. When I do not reload app everything works fine. Also when I don't use TypeAheadField everything works.
Problem is even for just that TypeAheadField configuration:
Expected results
No internal error
Actual results
App crashes with Terminating app due to uncaught exception 'NSInvalidArgumentException'
Package Version
5.2.0
Platform
iOS
Code sample
Code sample
[Paste your code here]
Logs
Logs
[Paste your logs here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]The text was updated successfully, but these errors were encountered: