Open user97116 opened 3 hours ago
Description I am getting this type of error while runing default app
errors.dart:296 Uncaught (in promise) DartError: Unexpected null value. at Object.throw_ [as throw] (errors.dart:296:3) at Object.nullCheck (operations.dart:606:18) at run_flutter_app.dart:20:10 at future.dart:258:40 at internalCallback (isolate_helper.dart:48:11) throw_ @ errors.dart:296 nullCheck @ operations.dart:606 (anonymous) @ run_flutter_app.dart:20 (anonymous) @ future.dart:258 internalCallback @ isolate_helper.dart:48 Promise.then _scheduleImmediateWithPromise @ async_patch.dart:179 _scheduleImmediate @ async_patch.dart:151 _scheduleAsyncCallback @ schedule_microtask.dart:69 _rootScheduleMicrotask @ zone.dart:1466 scheduleMicrotask @ schedule_microtask.dart:134 scheduleFrame @ browser_binding.dart:55 scheduleBuild @ scheduler.dart:14 scheduleBuildFor @ build_owner.dart:32 markNeedsBuild @ framework.dart:962 setState @ stateful_component.dart:437 (anonymous) @ flutter_embed_view_web.dart:79 run @ zone.dart:1655 handleWhenComplete @ future_impl.dart:206 handleWhenCompleteCallback @ future_impl.dart:831 _propagateToListeners @ future_impl.dart:887 [_completeError] @ future_impl.dart:674 _completeWithErrorCallback @ future.dart:1347 (anonymous) @ future.dart:260 internalCallback @ isolate_helper.dart:48 setTimeout _isolate_helper.TimerImpl.new @ isolate_helper.dart:55 _createTimer @ async_patch.dart:192 createTimer @ zone.dart:1685 new @ timer.dart:46 run @ timer.dart:105 new @ future.dart:255 get _flutterApp @ run_flutter_app.dart:17 desc.get @ operations.dart:1091 preloadEngine @ run_flutter_app.dart:35 preload @ flutter_embed_view_flutter.dart:26 (anonymous) @ flutter_embed_view_web.dart:40 runUnary @ zone.dart:1661 handleValue @ future_impl.dart:163 handleValueCallback @ future_impl.dart:861 _propagateToListeners @ future_impl.dart:890 [_completeWithValue] @ future_impl.dart:666 (anonymous) @ future_impl.dart:736 _microtaskLoop @ schedule_microtask.dart:40 _startMicrotaskLoop @ schedule_microtask.dart:49 (anonymous) @ async_patch.dart:181 Promise.then _scheduleImmediateWithPromise @ async_patch.dart:179 _scheduleImmediate @ async_patch.dart:151 _scheduleAsyncCallback @ schedule_microtask.dart:69 _rootScheduleMicrotask @ zone.dart:1466 scheduleMicrotask @ zone.dart:1681 [_asyncCompleteWithValue] @ future_impl.dart:735 [_asyncComplete] @ future_impl.dart:695 _Future.immediate @ future_impl.dart:291 value @ future.dart:355 loadLibrary @ operations.dart:1008 build @ embedded_counter.dart:28 of @ core_patch.dart:342 toList @ iterable.dart:498 performRebuild @ buildable_element.dart:52 performRebuild @ stateless_component.dart:179 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ buildable_element.dart:34 didMount @ stateless_component.dart:161 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:472 performRebuild @ buildable_element.dart:72 performRebuild @ stateful_component.dart:693 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ buildable_element.dart:34 didMount @ stateful_component.dart:649 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:472 performRebuild @ proxy_element.dart:61 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ proxy_element.dart:45 didMount @ render_object.dart:49 didMount @ render_object.dart:28 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ buildable_element.dart:72 performRebuild @ stateless_component.dart:179 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ buildable_element.dart:34 didMount @ stateless_component.dart:161 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ buildable_element.dart:72 performRebuild @ stateless_component.dart:179 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ buildable_element.dart:34 didMount @ stateless_component.dart:161 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ proxy_element.dart:61 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ proxy_element.dart:45 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:472 performRebuild @ proxy_element.dart:61 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ proxy_element.dart:45 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ buildable_element.dart:72 performRebuild @ stateless_component.dart:179 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ buildable_element.dart:34 didMount @ stateless_component.dart:161 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ proxy_element.dart:61 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ proxy_element.dart:45 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ proxy_element.dart:61 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ proxy_element.dart:45 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:472 performRebuild @ buildable_element.dart:72 performRebuild @ stateful_component.dart:693 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ buildable_element.dart:34 didMount @ stateful_component.dart:649 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ proxy_element.dart:61 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ proxy_element.dart:45 didMount @ render_object.dart:49 didMount @ render_object.dart:28 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ buildable_element.dart:72 performRebuild @ stateless_component.dart:179 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ buildable_element.dart:34 didMount @ stateless_component.dart:161 inflateComponent @ framework.dart:653 updateChild @ framework.dart:319 updateChildren @ framework.dart:385 performRebuild @ proxy_element.dart:61 performRebuildOn @ build_owner.dart:113 rebuild @ framework.dart:999 didMount @ proxy_element.dart:45 didMount @ render_object.dart:49 didMount @ render_object.dart:28 performInitialBuild @ build_owner.dart:88 runBody @ async_patch.dart:84 _async @ async_patch.dart:127 performInitialBuild @ build_owner.dart:75 attachRootComponent @ components_binding.dart:16 runBody @ async_patch.dart:84 _async @ async_patch.dart:127 attachRootComponent @ components_binding.dart:6 attachRootComponent @ browser_binding.dart:39 (anonymous) @ run_app.dart:6 runApp @ run_app.dart:6 main$ @ main.dart:12 main$ @ main.bootstrap.dart:7 runBody @ async_patch.dart:84 _async @ async_patch.dart:127 main$ @ main.bootstrap.dart:5 (anonymous) @ main.dart.bootstrap.js:345 window.$dartRunMain @ main.dart.bootstrap.js:344 (anonymous) @ VM892:1 runMain @ client.js:9908 (anonymous) @ client.js:26172 (anonymous) @ client.js:4060 call$2 @ client.js:12486 _asyncStartSync @ client.js:4024 $call$body$main__closure @ client.js:26188 call$1 @ client.js:26101 _rootRunUnary @ client.js:4443 runUnary$2$2 @ client.js:13881 runUnaryGuarded$1$2 @ client.js:13828 _sendData$1 @ client.js:13421 perform$1 @ client.js:13604 call$0 @ client.js:13663 _microtaskLoop @ client.js:4283 _startMicrotaskLoop @ client.js:4289 call$1 @ client.js:12363 childList call$1 @ client.js:12373 _scheduleAsyncCallback @ client.js:4303 _rootScheduleMicrotask @ client.js:4490 scheduleMicrotask @ client.js:4332 schedule$1 @ client.js:13635 _addPending$1 @ client.js:13412 _sendData$1 @ client.js:13226 add$1 @ client.js:13092 _onIncomingMessage$1 @ client.js:25228 (anonymous) @ client.js:1772 Primitives_applyFunction @ client.js:1338 Function_apply @ client.js:5971 _callDartFunctionFast @ client.js:8365 (anonymous) @ client.js:8356 errors.dart:296 Uncaught (in promise) DartError: Unexpected null value. at Object.throw_ [as throw] (errors.dart:296:3) at Object.nullCheck (operations.dart:606:18) at run_flutter_app.dart:20:10 at future.dart:258:40 at internalCallback (isolate_helper.dart:48:11)
Steps To Reproduce
dependencies: flutter: sdk: flutter jaspr: ^0.16.0 jaspr_flutter_embed: ^0.4.0 jaspr_router: ^0.6.0 dev_dependencies: build_runner: ^2.4.0 jaspr_web_compilers: ^4.0.10+1 jaspr_builder: ^0.16.0 flutter_test: sdk: flutter flutter_lints: ^3.0.0
Expected
Actual
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision 2663184aa7 (5 weeks ago) • 2024-09-11 16:27:48 -0500 Engine • revision 36335019a8 Tools • Dart 3.5.3 • DevTools 2.37.3
Description I am getting this type of error while runing default app
Steps To Reproduce
Expected
Actual