Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

0.11 crashes after a few route changes #973

Closed
@pcornelissen

Description

@pcornelissen

Hi!

My upgrade went to 0.10 went so far that I can start the app in dartium.
When I click on a few menu items, the app crashes and is dead.
It doesn't matter on which page I am, the error occures on all of them after a few clicks.

This is the log output:

listen ignoreClick=false
route /service [Route: null]
listen on win
newHandle for [Route: null]
route /developer [Route: null]
route /developer [Route: null]
route /partner [Route: null]
Next record is null expecting IDENT[null]{15800715}

STACKTRACE:
#0      DirtyCheckingChangeDetector._assertRecordsOk (package:angular/change_detection/dirty_checking_change_detector.dart:268:9)
#1      DirtyCheckingChangeDetectorGroup.remove (package:angular/change_detection/dirty_checking_change_detector.dart:148:33)
#2      WatchGroup.remove (package:angular/change_detection/watch_group.dart:303:27)
#3      Scope.destroy (package:angular/core/scope.dart:313:26)
#4      NgView._cleanUp (package:angular/routing/ng_view.dart:141:19)
#5      NgView._show.<anonymous closure> (package:angular/routing/ng_view.dart:114:15)
#6      _rootRunUnary (dart:async/zone.dart:730)
#7      _ZoneDelegate.runUnary (dart:async/zone.dart:462)
#8      _onRunUnary.<anonymous closure> (package:angular/core/zone.dart:96:63)
#9      VmTurnZone._onRunBase (package:angular/core/zone.dart:80:16)
#10     _onRunUnary (package:angular/core/zone.dart:96:17)
#11     _ZoneDelegate.runUnary (dart:async/zone.dart:462)
#12     _CustomizedZone.runUnary (dart:async/zone.dart:667)
#13     _BaseZone.runUnaryGuarded (dart:async/zone.dart:582)
#14     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
#15     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#16     _SyncBroadcastStreamController._sendData.<anonymous closure> (dart:async/broadcast_stream_controller.dart:345)
#17     _BroadcastStreamController._forEachListener (dart:async/broadcast_stream_controller.dart:298)
#18     _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:344)
#19     _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:228)
#20     Router._leaveCurrentRouteHelper (package:route_hierarchical/client.dart:654:48)
#21     Router._leaveCurrentRoute (package:route_hierarchical/client.dart:645:41)
#22     Router._leaveOldRoutes (package:route_hierarchical/client.dart:525:30)
#23     Router._processNewRoute (package:route_hierarchical/client.dart:497:27)
#24     Router._route.<anonymous closure> (package:route_hierarchical/client.dart:481:29)
#25     _rootRunUnary (dart:async/zone.dart:730)
#26     _ZoneDelegate.runUnary (dart:async/zone.dart:462)
#27     _onRunUnary.<anonymous closure> (package:angular/core/zone.dart:96:63)
#28     VmTurnZone._onRunBase (package:angular/core/zone.dart:80:16)
#29     _onRunUnary (package:angular/core/zone.dart:96:17)
#30     _ZoneDelegate.runUnary (dart:async/zone.dart:462)
#31     _CustomizedZone.runUnary (dart:async/zone.dart:667)
#32     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:488)
#33     _Future._propagateToListeners (dart:async/future_impl.dart:571)
#34     _Future._completeWithValue (dart:async/future_impl.dart:331)
#35     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:393)
#36     _rootRun (dart:async/zone.dart:719)
#37     _ZoneDelegate.run (dart:async/zone.dart:453)
#38     _onScheduleMicrotask.<anonymous closure> (package:angular/core/zone.dart:100:39)
#39     _rootRun (dart:async/zone.dart:723)
#40     _ZoneDelegate.run (dart:async/zone.dart:453)
#41     VmTurnZone._finishTurn (package:angular/core/zone.dart:120:23)
#42     VmTurnZone._onRunBase (package:angular/core/zone.dart:87:43)
#43     _onRunUnary (package:angular/core/zone.dart:96:17)
#44     _ZoneDelegate.runUnary (dart:async/zone.dart:462)
#45     _CustomizedZone.runUnary (dart:async/zone.dart:667)
#46     _BaseZone.runUnaryGuarded (dart:async/zone.dart:582)
#47     _BaseZone.bindUnaryCallback.<anonymous closure> (dart:async/zone.dart:608)
route /partner [Route: null]
'package:angular/core/scope.dart': Failed assertion: line 852 pos 16: 'count >= 0' is not true.

STACKTRACE:
#0      _Streams._addCount (package:angular/core/scope.dart:852:16)
#1      _Streams.destroy.<anonymous closure> (package:angular/core/scope.dart:831:49)
#2      _HashMap&&_LinkedHashMapMixin.forEach (dart:collection-patch/collection_patch.dart:965)
#3      _Streams.destroy (package:angular/core/scope.dart:830:43)
#4      Scope.destroy (package:angular/core/scope.dart:297:21)
#5      NgView._cleanUp (package:angular/routing/ng_view.dart:141:19)
#6      NgView._show.<anonymous closure> (package:angular/routing/ng_view.dart:127:15)
#7      _rootRunUnary (dart:async/zone.dart:730)
#8      _ZoneDelegate.runUnary (dart:async/zone.dart:462)
#9      _onRunUnary.<anonymous closure> (package:angular/core/zone.dart:96:63)
#10     VmTurnZone._onRunBase (package:angular/core/zone.dart:80:16)
#11     _onRunUnary (package:angular/core/zone.dart:96:17)
#12     _ZoneDelegate.runUnary (dart:async/zone.dart:462)
#13     _CustomizedZone.runUnary (dart:async/zone.dart:667)
#14     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:488)
#15     _Future._propagateToListeners (dart:async/future_impl.dart:571)
#16     _Future._completeWithValue (dart:async/future_impl.dart:331)
#17     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:393)
#18     _rootRun (dart:async/zone.dart:719)
#19     _ZoneDelegate.run (dart:async/zone.dart:453)
#20     _onScheduleMicrotask.<anonymous closure> (package:angular/core/zone.dart:100:39)
#21     _rootRun (dart:async/zone.dart:723)
#22     _ZoneDelegate.run (dart:async/zone.dart:453)
#23     VmTurnZone._finishTurn (package:angular/core/zone.dart:120:23)
#24     VmTurnZone._onRunBase (package:angular/core/zone.dart:87:43)
#25     _onRunUnary (package:angular/core/zone.dart:96:17)
#26     _ZoneDelegate.runUnary (dart:async/zone.dart:462)
#27     _CustomizedZone.runUnary (dart:async/zone.dart:667)
#28     _BaseZone.runUnaryGuarded (dart:async/zone.dart:582)
#29     _BaseZone.bindUnaryCallback.<anonymous closure> (dart:async/zone.dart:608)

pubspec dependencies: (with most recent versions, if not pinned)

dependencies:
  angular: any
  intl: any
  browser: any
  js: any
  shadow_dom: any
  di: '0.0.40'
transformers:
  - angular:
      html_files:
        - web/index.html
        - web/views/contacts.html
        - web/views/dashboard.html
        - web/views/developer.html
        - web/views/news.html
        - web/views/partner.html
        - web/views/service.html
        - web/views/userAdmin.html

dependency_overrides:
   route_hierarchical: '0.4.19'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions