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

[web]: When scrolling anywhere on the page, console keeps reporting "Uncaught Error: Assertion failed: is not true" #32481

Closed
sgon00 opened this issue May 10, 2019 · 11 comments
Labels
c: crash Stack traces logged to the console platform-web Web applications specifically

Comments

@sgon00
Copy link

sgon00 commented May 10, 2019

Flutter version

[✓] Flutter (Channel dev, v1.5.8, on Mac OS X 10.13.6 17G4015, locale en-CN)

Workflow, use stagehand:

$ mkdir foo && cd foo
$ stagehand flutter-web-preview
$ flutter packages pub global activate webdev
$ flutter packages pub upgrade
$ flutter packages pub global run webdev serve

And then open chrome debug console and trying to scroll anywhere on the page (I am on MacBook, so basically using two fingers on the touchpad and then move Up and Down)

The error:

dart_sdk.js:5844 Uncaught Error: Assertion failed: is not true
    at Object.dart.throw (dart_sdk.js:4556)
    at Object.dart.assertFailed (dart_sdk.js:4495)
    at SyncIterable.new.expand (converter.dart:432)
    at expand.next (<anonymous>)
    at ListQueue.new.addAll (dart_sdk.js:31511)
    at src__widgets__binding.WidgetsFlutterBinding.new.[_handlePointerDataPacket] (binding.dart:85)
    at src__engine.PointerBinding.new.[_onPointerData] (pointer_binding.dart:80)
    at pointer_binding.dart:205
    at HTMLElement.<anonymous> (pointer_binding.dart:449)

Gif Video:

output

@kevmoo kevmoo added the platform-web Web applications specifically label May 10, 2019
@yjbanov
Copy link
Contributor

yjbanov commented May 30, 2019

This might have been fixed by https://github.com/flutter/flutter_web/commit/c4cfaecebc5ef97500db2be0bd99e52d1e5e16c2. Please reopen if you see this again.

@yjbanov yjbanov closed this as completed May 30, 2019
@jegathispandian
Copy link

Still i am facing this issue

@yjbanov
Copy link
Contributor

yjbanov commented Jun 20, 2019

I think I saw this too recently. Reopening.

/cc @ferhatb

@yjbanov yjbanov reopened this Jun 20, 2019
@yjbanov yjbanov added this to the Near-term Goals milestone Jun 20, 2019
@yjbanov yjbanov added the c: crash Stack traces logged to the console label Jun 20, 2019
@kechankrisna
Copy link

kechankrisna commented Aug 3, 2019

I just got the same issue now,
![](https://raw.githubusercontent.com/kechankrisna/kechankrisna.github.io/master/errors/err1.png)

@Shafran123
Copy link

I am also facing this issue!

@kynrai
Copy link

kynrai commented Dec 28, 2019

same, happy to help how I can to resolve this

@miketheman
Copy link

Seen on recent beta channel, and current error message:

doctor:

[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Mac OS X 10.14.6 18G2022, locale en-US)

devices:

Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.88
Web Server • web-server • web-javascript • Flutter Tools
errors.dart:147 Uncaught Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/pointer_converter.dart:271:18
!state.down
is not true
    at Object.throw_ [as throw] (errors.dart:196)
    at Object.assertFailed (errors.dart:26)
    at _engine.PointerDataConverter.new.convert (pointer_converter.dart:271)
    at _engine.PointerAdapter.new.[_convertEventToPointerData] (pointer_binding.dart:366)
    at pointer_binding.dart:317
    at HTMLElement.<anonymous> (pointer_binding.dart:183)

Possibly the same as #46852 ?

@dkwingsmt
Copy link
Contributor

#47492 might be a fix if your problem is an assertion error when scrolling (especially considering the change that this PR tries to fix was merged in May).

@ferhatb
Copy link
Contributor

ferhatb commented Jan 8, 2020

/cc @mdebbar , we can close this now since fixed in master?

@mdebbar
Copy link
Contributor

mdebbar commented Jan 8, 2020

There are multiple errors reported in this issue.

If you are still seeing similar errors, please file an issue for the specific error so we can investigate.

@mdebbar mdebbar closed this as completed Jan 8, 2020
@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 Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console platform-web Web applications specifically
Projects
None yet
Development

No branches or pull requests