Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

TypeError: Cannot read property 'nodeType' of undefined #13960

Closed
@pkaminski

Description

@pkaminski

I recently caught this exception in a user's browser:

TypeError: Cannot read property 'nodeType' of undefined
  at apply(bower_components/raven-js/dist/raven.js:267:28)
  at apply(bower_components/angular/angular.js:6006:6)
  at completeOutstandingRequest(bower_components/angular/angular.js:5729:9)
  at apply(bower_components/angular/angular.js:18141:34)
  at $apply(src/extras/fixes.js:22:24)
  at call(bower_components/angular/angular.js:16359:22)
  at $digest(src/extras/fixes.js:12:23)
  at call(bower_components/angular/angular.js:16069:29)
  at $eval(bower_components/angular/angular.js:16251:22)
  at expr(bower_components/angular/angular.js:15007:26)
  at processQueue(bower_components/angular/angular.js:14991:27)
  at fn(bower_components/angular/angular.js:8741:37)
  at compileNodes(bower_components/angular/angular.js:7864:14)
  at compileNodes(bower_components/angular/angular.js:7852:14)
  at applyDirectivesToNode(bower_components/angular/angular.js:8227:32)
  at compile(bower_components/angular/angular.js:7751:14)
  at compileNodes(bower_components/angular/angular.js:7864:14)
  at compileNodes(bower_components/angular/angular.js:7848:21)
  at collectDirectives(bower_components/angular/angular.js:7968:21)

This is against Angular 1.4.9 in Chrome 50 on OS X 10.11.3. It happened ~8s into the session, so probably still while setting up the initial page. It's the first time I've seen this exception in over a year of running my app so it's likely an exceedingly rare race condition, or some recent regression in Angular. I don't know how to reproduce it so I'm filing this issue mostly so that others can find it and add more information if they should run into the same error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions