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

Exception thrown in nested_navigation example #144

Closed
radoslaw-sz opened this issue Mar 23, 2021 · 10 comments
Closed

Exception thrown in nested_navigation example #144

radoslaw-sz opened this issue Mar 23, 2021 · 10 comments
Labels
bug Something isn't working P0 Priority 0; do immediately
Milestone

Comments

@radoslaw-sz
Copy link

There is an exception thrown while using nested_navigation example from examples.

══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following TypeErrorImpl was thrown during a scheduler callback:
Unexpected null value.

When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49      throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 518:63  nullCheck
packages/flutter/src/widgets/router.dart 490:79                                                                                [_retrieveNewRouteInformation]
packages/flutter/src/widgets/router.dart 465:52                                                                                [_reportRouteInformation]
packages/flutter/src/scheduler/binding.dart 1144:15                                                                            [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1090:9                                                                             handleDrawFrame
packages/flutter/src/scheduler/binding.dart 865:7                                                                              <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:19           internalCallback
════════════════════════════════════════════════════════════════════════════════════════════════════
@devj3ns
Copy link
Contributor

devj3ns commented Mar 23, 2021

I cannot reproduce this. When exactly does this exception get thrown?

@slovnicki
Copy link
Owner

Does this error appear in v0.10.2 / v1.0.0-nullsafety.6? I have a feeling that exactly this was fixed there

@radoslaw-sz
Copy link
Author

@devj3ns it has been thrown at the very beginning of the application.
@slovnicki it is visible in v0.10.2, however on v1.0.0-nullsafety.6 I have different problem (see below).

I am working with Web.

Logs of nullsafety

The following LateError was thrown building IconTheme(color: Color(0xdd000000)):
LateInitializationError: Field '_uri' has not been initialized.

The relevant error-causing widget was:
  MaterialApp file:///G:/bird/bird/bug/lib/main.dart:12:24

When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49  throw_
packages/beamer/src/beamer_router_delegate.dart 11:12                                                                      get [_uri]
packages/beamer/src/beamer_router_delegate.dart 12:18                                                                      get uri
packages/beamer/src/beamer_router_delegate.dart 378:35                                                                     get currentConfiguration
packages/beamer/src/beamer_router_delegate.dart 287:32                                                                     [_update]
packages/beamer/src/beamer_router_delegate.dart 167:5                                                                      beamTo
packages/beamer/src/beamer_router_delegate.dart 383:7                                                                      setNewRoutePath
packages/flutter/src/widgets/router.dart 1077:12                                                                           setInitialRoutePath
packages/flutter/src/foundation/synchronous_future.dart 41:35                                                              then
packages/flutter/src/widgets/router.dart 591:101                                                                           [_processInitialRoute]
packages/flutter/src/widgets/router.dart 430:7                                                                             initState
packages/flutter/src/widgets/framework.dart 4632:57                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 5974:14                                                                        mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 5974:14                                                                        mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 5974:14                                                                        mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4667:11                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4658:11                                                                        [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/framework.dart 4520:16                                                                        performRebuild
packages/flutter/src/widgets/framework.dart 4189:5                                                                         rebuild
packages/flutter/src/widgets/framework.dart 4474:5                                                                         [_firstBuild]
packages/flutter/src/widgets/framework.dart 4469:5                                                                         mount
packages/flutter/src/widgets/framework.dart 3541:13                                                                        inflateWidget
packages/flutter/src/widgets/framework.dart 3306:18                                                                        updateChild
packages/flutter/src/widgets/binding.dart 1182:16                                                                          [_rebuild]
packages/flutter/src/widgets/binding.dart 1153:5                                                                           mount
packages/flutter/src/widgets/binding.dart 1095:16                                                                          <fn>
packages/flutter/src/widgets/framework.dart 2647:19                                                                        buildScope
packages/flutter/src/widgets/binding.dart 1094:12                                                                          attachToRenderTree
packages/flutter/src/widgets/binding.dart 933:24                                                                           attachRootWidget
packages/flutter/src/widgets/binding.dart 915:7                                                                            <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:19       internalCallback
flutter doctor

[√] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19041.867], locale pl-PL)
    • Flutter version 2.0.3 at G:\IOT\flutter\flutter
    • Framework revision 4d7946a68d (5 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Radek\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.90
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 88.0.705.74

@tomosullivan8
Copy link

Hi, just to raise that I have the same issue (not from the nested_navigation example). I'm currently on beamer: ^0.10.2, but also had the issue on v0.10.0 and v0.10.1.

══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following TypeErrorImpl was thrown during a scheduler callback:
Unexpected null value.

When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49      throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 518:63  nullCheck
packages/flutter/src/widgets/router.dart 490:79                                   [_retrieveNewRouteInformation]
packages/flutter/src/widgets/router.dart 465:52                                   [_reportRouteInformation]
packages/flutter/src/scheduler/binding.dart 1144:15                               [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1090:9                                handleDrawFrame
packages/flutter/src/scheduler/binding.dart 865:7                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:19           internalCallback
════════════════════════════════════════════════════════════════════════════════════════════════════

@slovnicki slovnicki added bug Something isn't working P0 Priority 0; do immediately labels Mar 23, 2021
@slovnicki
Copy link
Owner

@mordivgor @tomosullivan8 is it maybe that you have this error, but the application runs OK?

@slovnicki slovnicki added the working on This issue is currently being worked on label Mar 23, 2021
@tomosullivan8
Copy link

Yeh, it seems to be running fine, I do get the exception of Unexpected null value. each time I beam to a new page, but doesn't cause issues, but I wonder if that's related to my implementation.

I'll try and take a look later and confirm!

@slovnicki
Copy link
Owner

slovnicki commented Mar 23, 2021

@tomosullivan8 No, it's definitely not your fault. I saw this error before and can confirm that I see it now also.

It's somehow related to the relationship among multiple Beamers , because the error is not present when using just 1 Beamer/BeamerRouterDelegate. I haven't yet pinpointed the exact cause.

@radoslaw-sz
Copy link
Author

I can confirm that application runs ok, just the exception is thrown.
When I have been trying to analyze this case, the problem was somehow connected to existence of RootRouterDelegate and Beamer - when it came to this part of the code:

final T? configuration = widget.routerDelegate.currentConfiguration;
    if (configuration == null)
      return null;
    final RouteInformation? routeInformation = widget.routeInformationParser!.restoreRouteInformation(configuration);

It shows that when routerDelegate is RootRouterDelegate then routeInformationParser is not null.
When routerDelegate is BeamerRouterDelegate (which is visible for nested routes), routeInformationParser is not available.

@slovnicki
Copy link
Owner

slovnicki commented Mar 23, 2021

@mordivgor thanks for your valuable insight. I was able to figure out that I should then have currentConfiguration = null for inner beamers. Try from master:

beamer:
  git:
    url: https://github.com/slovnicki/beamer.git

it should be without exceptions now.

When you or @tomosullivan8 confirm it's alright, I will release it as v0.10.3 / v1.0.0-nullsafety.7

@slovnicki slovnicki removed the working on This issue is currently being worked on label Mar 23, 2021
@tomosullivan8
Copy link

Can confirm its without exception, thanks for fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 Priority 0; do immediately
Projects
None yet
Development

No branches or pull requests

4 participants