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

Flutter DragTarget Failed assertion: line 814 pos 12: '_candidateAvatars.contains(avatar) || _rejectedAvatars.contains(avatar)': is not true #87216

Closed
DnXLogic opened this issue Jul 28, 2021 · 3 comments
Labels
r: timeout Issue is closed due to author not providing the requested details in time

Comments

@DnXLogic
Copy link

DnXLogic commented Jul 28, 2021

Hi,

I am facing an issue with the Drag Drop feature, showing below error after dropping the item:

======== Exception caught by gesture library =======================================================
The following assertion was thrown while routing a pointer event:
'package:flutter/src/widgets/drag_target.dart': Failed assertion: line 814 pos 12: '_candidateAvatars.contains(avatar) || _rejectedAvatars.contains(avatar)': is not true.

When the exception was thrown, this was the stack: 
#2      _DragTargetState.didLeave (package:flutter/src/widgets/drag_target.dart:814:12)
#3      _DragAvatar._leaveAllEntered (package:flutter/src/widgets/drag_target.dart:984:26)
#4      _DragAvatar.finishDrag (package:flutter/src/widgets/drag_target.dart:995:5)
#5      _DragAvatar.end (package:flutter/src/widgets/drag_target.dart:909:5)
#6      MultiDragPointerState._up (package:flutter/src/gestures/multidrag.dart:144:14)

@darshankawar darshankawar added the in triage Presently being triaged by the triage team label Jul 29, 2021
@darshankawar
Copy link
Member

@DnXLogic
Can you provide flutter doctor -v and a complete minimal reproducible code sample that shows this error ?
Thanks.

@darshankawar darshankawar added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jul 29, 2021
@TahaTesser TahaTesser removed waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds in triage Presently being triaged by the triage team labels Aug 27, 2021
@TahaTesser
Copy link
Member

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

@TahaTesser TahaTesser added the r: timeout Issue is closed due to author not providing the requested details in time label Aug 27, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: timeout Issue is closed due to author not providing the requested details in time
Projects
None yet
Development

No branches or pull requests

3 participants