Skip to content
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

报错了 #50

Closed
cv0cv0 opened this issue Apr 22, 2020 · 7 comments
Closed

报错了 #50

cv0cv0 opened this issue Apr 22, 2020 · 7 comments

Comments

@cv0cv0
Copy link

cv0cv0 commented Apr 22, 2020

════════ Exception caught by scheduler library ═════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/widgets/overlay.dart': Failed assertion: line 132 pos 12: '_overlay != null': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
/~https://github.com/flutter/flutter/issues/new?template=BUG.md

When the exception was thrown, this was the stack
#2 OverlayEntry.remove
package:flutter/…/widgets/overlay.dart:132
#3 BotToastManager.remove.
package:bot_toast/src/bot_toast_manager.dart:130
#4 safeRun.
package:bot_toast/src/bot_toast_manager.dart:11
#5 SchedulerBinding._invokeFrameCallback
package:flutter/…/scheduler/binding.dart:1102
#6 SchedulerBinding.handleDrawFrame
package:flutter/…/scheduler/binding.dart:1049
...
════════════════════════════════════════════════════════════════════════════════

@MMMzq
Copy link
Owner

MMMzq commented Apr 23, 2020

@cv0cv0 你的bot_toast版本是多少?

@cv0cv0
Copy link
Author

cv0cv0 commented Apr 23, 2020

@MMMzq 用的最新的,2.4.0 。

@cv0cv0
Copy link
Author

cv0cv0 commented Apr 23, 2020

@MMMzq Flutter 版本是:1.12.13+hotfix.9
项目中还使用了 oktoast。

@MMMzq
Copy link
Owner

MMMzq commented Apr 23, 2020

@cv0cv0

  1. 现在是稳定能复现的吗?
  2. 能否提供一个可以重现的demo?

@cv0cv0
Copy link
Author

cv0cv0 commented Apr 23, 2020

@cv0cv0
Copy link
Author

cv0cv0 commented Apr 23, 2020

@MMMzq 发现问题了,是我没初始化完全。

@cv0cv0
Copy link
Author

cv0cv0 commented Apr 23, 2020

@MMMzq 可以了,不好意思,耽误你时间了。

@cv0cv0 cv0cv0 closed this as completed Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants