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

🐛 Unhandled Exception: Failed assertion: line 168 pos 12: '_overlay != null': is not true. #955

Closed
TENX-S opened this issue Oct 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@TENX-S
Copy link

TENX-S commented Oct 26, 2023

Describe the bug

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/widgets/overlay.dart': Failed assertion: line 168 pos 12: '_overlay != null': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2      OverlayEntry.remove (package:flutter/src/widgets/overlay.dart:168:12)
#3      displayInfoBar.<anonymous closure>.<anonymous closure>.close (package:fluent_ui/src/controls/surfaces/info_bar.dart:62:40)
<asynchronous suspension>

To Reproduce

  1. call displayInfoBar()
  2. go to another screen (In macOS desktop, just swipe the touchpad)

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@bdlukaa
Copy link
Owner

bdlukaa commented Oct 30, 2023

This is very weird, since we check if the entry is mounted before removing it. I can not reproduce this locally

@bdlukaa bdlukaa added the bug Something isn't working label Nov 5, 2023
@bdlukaa bdlukaa closed this as completed in cd46074 Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants