Giter VIP home page Giter VIP logo

Comments (9)

suranjum avatar suranjum commented on July 27, 2024 2

I recently updated to 3.22.2, since then i stopped getting details of any error. Just shows 'Error'.
Screenshot 2024-07-08 131544

from flutter.

darshankawar avatar darshankawar commented on July 27, 2024

@KaushikGupta007
What's the expected console log or behavior are you looking for in web ? The way currently web shows the exception seems to be in sync with android, for example:

[_triggerError]
packages/flutter/src/material/ink_well.dart 1171:21                               handleTap
packages/flutter/src/gestures/recognizer.dart 344:24                              invokeCallback
packages/flutter/src/gestures/tap.dart 652:11                                     handleTapUp
packages/flutter/src/gestures/tap.dart 309:5                                      [_checkUp]
packages/flutter/src/gestures/tap.dart 242:7                                      handlePrimaryPointer
packages/flutter/src/gestures/recognizer.dart 696:9                               handleEvent
packages/flutter/src/gestures/pointer_router.dart 98:7                            [_dispatch]
packages/flutter/src/gestures/pointer_router.dart 143:9                           <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 21:7           forEach
packages/flutter/src/gestures/pointer_router.dart 141:17                          [_dispatchEventToRoutes]

The class names are same as thrown in android if you look closely.

from flutter.

KaushikGupta007 avatar KaushikGupta007 commented on July 27, 2024

Facing similar issue

I recently updated to 3.22.2, since then i stopped getting details of any error. Just shows 'Error'. Screenshot 2024-07-08 131544

from flutter.

darshankawar avatar darshankawar commented on July 27, 2024

I get below in latest stable version:

══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
The following TypeErrorImpl was thrown while handling a gesture:
Unexpected null value.

When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3       throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 586:18  nullCheck

from flutter.

tolotrasamuel avatar tolotrasamuel commented on July 27, 2024

I recently updated to 3.22.2, since then i stopped getting details of any error. Just shows 'Error'. Screenshot 2024-07-08 131544

Yes, I got the same . Sadly, that's what we get for upgrading. As a Flutter rule of thumb, there is a new instability for every new stable released.

Tried also 3.16.9 and 3.19.3.

from flutter.

KaushikGupta007 avatar KaushikGupta007 commented on July 27, 2024

I recently updated to 3.22.2, since then i stopped getting details of any error. Just shows 'Error'. Screenshot 2024-07-08 131544

Yes, I got the same . Sadly, that's what we get for upgrading. As a Flutter rule of thumb, there is a new instability for every new stable released.

Tried also 3.16.9 and 3.19.3.

It still shows Error in console while running on web but displays proper messages while running on Android

from flutter.

darshankawar avatar darshankawar commented on July 27, 2024

I get below running on latest stable (3.22.3) and on master:

══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
The following TypeErrorImpl was thrown while handling a gesture:
Unexpected null value.

When the exception was thrown, this was the stack:

Not the only term Error, so I guess the exception we are seeing now as above is expected ?

from flutter.

arv-aks avatar arv-aks commented on July 27, 2024

The errors are different because of the way Flutter handles exceptions and stack traces across different platforms (Android and Web). The underlying issue, however, is the same: a null check operator (!) is being used on a null value.

from flutter.

darshankawar avatar darshankawar commented on July 27, 2024

Thanks for the update. Based on the report, behavior, I'll keep the issue open for team's attention / tracking.

from flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.