-
Notifications
You must be signed in to change notification settings - Fork 200
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
Error on ContactsService.getContacts() #71
Comments
I am having this issue aswell. Any Ideas on how to fix it? |
This is definitely still an issue. @lukasgit Let me know if you need more details but #49209 on flutter has all the details. |
@funnyman420 @ZmanElete @mayank99 the plugin has recently been updated. Please try again using the latest version 0.4.2 |
Just tried it on 0.4.2 (I was running 0.4.1 during my original comment). Same uncaught exception when calling
|
And if you make another project with the same code, it will work just fine. I don't think that this is some issue with the plugin. It has more likely to do with dart itself. But, unfortunately they closed my issue because they think that the plugin has the bug. |
@mayank99 can you confirm what @funnyman420 said, that if when you make another project with the same code it works? |
@mayank99 @funnyman420 please file a new issue with Dart team here and Flutter team here |
When i try to get the contacts, while they do arrive when the future ends, the single property of the iterable contains an exception, which includes this message.
"BadState: Too many elements".
The interesting thing is that if i don't use it in a widget it still throws that error. But if disable the uncaught and all exceptions of vscode then it manages to return the Iterable just fine.
The text was updated successfully, but these errors were encountered: