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.

Cannot read property 'get$rootScope' of null #1550

@akserg

Description

@akserg

I'm busy migrating Angular Dart UI on Angular 1.0 and it's really pain. Lack of documentation, simple example from you Master code doesn't work and generate exactly the same exception as I have:

NullError: Cannot call "get$rootScope" on null

STACKTRACE:
TypeError: Cannot read property 'get$rootScope' of null
    at BounceController.timeDigest$0 (http://localhost:8080/bouncing_balls.dart.js:21857:17)
    at BounceController.tick$0 (http://localhost:8080/bouncing_balls.dart.js:21907:12)
    at eval (eval at <anonymous> (http://localhost:8080/bouncing_balls.dart.js:2906:14), <anonymous>:2:37)
    at BounceController_requestAnimationFrame_closure.call$1 (http://localhost:8080/bouncing_balls.dart.js:21916:24)
    at _rootRunUnary (http://localhost:8080/bouncing_balls.dart.js:23641:14)
    at _ZoneDelegate.runUnary$3 (http://localhost:8080/bouncing_balls.dart.js:25746:39)
    at VmTurnZone__onRunUnary_closure.call$0 (http://localhost:8080/bouncing_balls.dart.js:12548:30)
    at VmTurnZone._onRunBase$4 (http://localhost:8080/bouncing_balls.dart.js:12416:17)
    at VmTurnZone._onRunUnary$5 (http://localhost:8080/bouncing_balls.dart.js:12436:19)
    at eval (eval at <anonymous> (http://localhost:8080/bouncing_balls.dart.js:2918:12), <anonymous>:2:46) 

My environment:

  • Windows 7x64
  • java version "1.7.0_67"
    Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
    Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
  • Dart VM version: 1.6.0 (Tue Aug 26 22:40:07 2014) on "windows_x64"

What I can do wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions