-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoSuchMethodError: The getter 'index' was called on null. Receiver: null #2860
Comments
Can you post a stack trace? You may need to run with |
I too am receiving the same error. It has only started since upgrading flutter to [INFO] Generating build script... [INFO] Initializing inputs [INFO] Checking for updates since last build... [INFO] Running build...
NoSuchMethodError: The getter 'index' was called on null. [INFO] Caching finalized dependency graph... [SEVERE] Failed after 14.7s |
@colinmcintyre can you run with |
@jakemac53 Hi. Please find below the full output with
[ +97 ms] executing: [D:\Program Files\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [INFO] BuildDefinition:Initializing inputs [INFO] BuildDefinition:Checking for updates since last build... [INFO] Build:Running build... [INFO] Build:Caching finalized dependency graph... [SEVERE] sqfentity_gen:property_sqfentity on lib/database/database.dart (cached): NoSuchMethodError: The getter 'index' was called on null. [ +262 ms] ensureAnalyticsSent: 256ms |
This looks like an issue with the It is possibly this line here https://github.com/hhtokpinar/sqfEntity/blob/master/sqfentity_gen/lib/sqfentity_base.dart#L3403, |
@jakemac53 Thank you for looking into this. I have filed the issue with sqfentity and will see how we go. If you dont mind i will also grab your bottom paragraph to add to issue report. Thanks |
Yep of course! We can also leave this open for now but if you can close it if/when the issue is resolved that would be appreciated |
After Running
am getting
dart --version
).Am using sqfEntity_gen to generate sqflite models and helper methods
sqfentity: ^1.4.0+1
sqfentity_gen: ^1.4.0
The text was updated successfully, but these errors were encountered: