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
PointerEventConverter.expand: The getter 'pointer' was called on null. #39031
Comments
@cvolzke4 Please provide |
Flutter doctor :- keshava@debian:~$ flutter doctor -v
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Linux, locale en_IN.UTF-8)
• Flutter version 1.7.8+hotfix.4 at /home/keshava/Development/flutter
• Framework revision 20e59316b8 (8 weeks ago), 2019-07-18 20:04:33 -0700
• Engine revision fee001c93f
• Dart version 2.4.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/keshava/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /home/keshava/Development/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[!] Android Studio (version 3.5)
• Android Studio at /home/keshava/Development/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.38.0)
• VS Code at /usr/share/code
• Flutter extension version 3.4.1
[✓] Connected device (1 available)
• Redmi 6 Pro • 1f04e0bb0405 • android-arm64 • Android 9 (API 28)
! Doctor found issues in 1 category. |
@BondarenkoStas I don't know how to reproduce this. |
@keshava19 Maybe you can come up with any steps how to reproduce it? When it occurs? What command do you run? |
@BondarenkoStas I too don't know how to reproduce this bug. |
I would advise you to post it to SO as well. It will be very hard to investigate without knowing where to start, but maybe somebody from community already encountered the issue and can help with it. In this case please paste the link to the question here. |
I/flutter (24943): 'package:flutter/src/gestures/converter.dart': Failed assertion: line 249 pos 20: '_pointers.containsKey(datum.device)': is not true.
I/flutter (24943): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39)
I/flutter (24943): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
I/flutter (24943): #2 PointerEventConverter.expand
package:flutter/…/gestures/converter.dart:249
I/flutter (24943): #3 _SyncIterator.moveNext (dart:core-patch/core_patch.dart:152:12)
I/flutter (24943): #4 ListQueue.addAll (dart:collection/queue.dart:655:25)
I/flutter (24943): #5 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket
package:flutter/…/gestures/binding.dart:84
I/flutter (24943): #6 _rootRunUnary (dart:async/zone.dart:1136:13)
I/flutter (24943): #7 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
I/flutter (24943): #8 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
I/flutter (24943): #9 _invoke1 (dart:ui/hooks.dart:250:10)
I/flutter (24943): #10 _dispatchPointerDataPacket (dart:ui/hooks.dart:159:5) I got this when started the app in debug mode. |
I also encountered this bug in the production environment. This is the reported log
How to reproduce it: |
Any news? Was it fixed in 1.12? |
Hi @cvolzke4 |
I can't reproduce this, I only have the stack trace reported from the app (#quill). crazecoder mentioned this may reproduce the issue: |
Hi @ogrenichv @keshava19 @brorhb @qq326646683 @crazecoder |
similar question with flutter 1.9.1 |
I found this bug has been fixed in 314eb3b and flutter/engine@132d38c |
Hi all |
Truely ,I don`t know how to reproduce the bug. We got lots of crashes with this bug ,almost 1% users will come into this situation |
On Android devices, some special gestures may cause this problem, such as dragging three fingers on the screen to realize the screenshot or other. |
This should be fixed with the latest stable 1.17. Includes the tree finger gesture @lionoggo mentioned. I will close this issue for now. If you are still seeing this issue after upgrade to latest stable, please reopen this issue |
@chunhtai Is this your fix commit? I found this in flutter 1.12. |
@mivanzhang Yes, it is |
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 |
The text was updated successfully, but these errors were encountered: