-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Future already completed #1480
Comments
change version to v4.0.4, same #1452 , wait for solute |
same issue.. |
Same issue |
Same issue... |
我在web项目中,也会输出这个错误 |
Same issue... |
Same issue. |
Still happening in 4.0.6 |
Same issue. |
Same issue |
1 similar comment
Same issue |
same issue |
1 similar comment
same issue |
Same issue |
3 similar comments
Same issue |
Same issue |
Same issue |
https://stackoverflow.com/a/73824643/19475845 I have written one solution in StackOverflow this helps me to get rid of |
+1 |
1 similar comment
+1 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
same issue here |
Same issue being faced by me |
I have this issue as well |
@AlexV525 why this issue is closed? Someone fix this bug? |
Yes, in #1550. |
I had the same issue. I really spent hours to figure out that the I corrected the code to call only one of them ( |
For anyone come late |
#2130 improves the error message for this case. |
When calling requests, the error has been thrown randomly.
Error: Bad state: Future already completed
at Object.throw_ [as throw] (http://localhost:1234/dart_sdk.js:5067:11)
at _AsyncCompleter.new.completeError (http://localhost:1234/dart_sdk.js:35195:51)
at http://localhost:1234/packages/dio/src/interceptors/log.dart.lib.js:651:25
at _RootZone.runUnary (http://localhost:1234/dart_sdk.js:40441:59)
at _FutureListener.then.handleValue (http://localhost:1234/dart_sdk.js:35363:29)
at handleValueCallback (http://localhost:1234/dart_sdk.js:35931:49)
at Function._propagateToListeners (http://localhost:1234/dart_sdk.js:35969:17)
at _Future.new.[_complete] (http://localhost:1234/dart_sdk.js:35809:25)
at http://localhost:1234/dart_sdk.js:34915:30
at internalCallback (http://localhost:1234/dart_sdk.js:26619:11)
Issue Info
Issue Description and Steps
Tried using flutter config --no-analytics. It didn't work.
The text was updated successfully, but these errors were encountered: