question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Assertion Failed: Cannot update watchers for `loadedText` on `<my-app@component:infinity-loader::ember1471>` after it has been destroyed."

See original GitHub issue

Seeing this error with destroyOnInfinity=true. Ember 2.18. and ember infinity 0.2.8. This is just after upgrading ember.

vendor.js:27629 Uncaught EmberError {stack: "Error: Assertion Failed: Cannot update watchers fo…(http://localhost:4200/assets/vendor.js:22013:31)", description: undefined, fileName: undefined, lineNumber: undefined, message: "Assertion Failed: Cannot update watchers for `load…-loader::ember1471>` after it has been destroyed.", …}code: undefineddescription: undefinedfileName: undefinedlineNumber: undefinedmessage: "Assertion Failed: Cannot update watchers for `loadedText` on `<rallypoint-mobile-fe@component:infinity-loader::ember1471>` after it has been destroyed."name: "Error"number: undefinedstack: "Error: Assertion Failed: Cannot update watchers for `loadedText` on `<rallypoint-mobile-fe@component:infinity-loader::ember1471>` after it has been destroyed.↵    at new EmberError (http://localhost:4200/assets/vendor.js:27386:25)↵    at Object.assert (http://localhost:4200/assets/vendor.js:27629:15)↵    at Meta.writeWatching (http://localhost:4200/assets/vendor.js:38135:54)↵    at watchKey (http://localhost:4200/assets/vendor.js:37274:13)↵    at new RootPropertyReference (http://localhost:4200/assets/vendor.js:35135:42)↵    at RootReference.get (http://localhost:4200/assets/vendor.js:35052:52)↵    at http://localhost:4200/assets/vendor.js:15119:28↵    at AppendOpcodes.evaluate (http://localhost:4200/assets/vendor.js:14851:13)↵    at VM.next (http://localhost:4200/assets/vendor.js:22027:32)↵    at VM.execute (http://localhost:4200/assets/vendor.js:22013:31)"__proto__: ExtendableBuiltinconstructor: ƒ EmberError(message)__proto__: Errorconstructor: ƒ ExtendableBuiltin()__proto__: constructor: ƒ Error()message: ""name: "Error"toString: ƒ toString()__proto__: Object
assert @ vendor.js:27629
writeWatching @ vendor.js:38135
watchKey @ vendor.js:37274
RootPropertyReference @ vendor.js:35135
get @ vendor.js:35052
(anonymous) @ vendor.js:15119
evaluate @ vendor.js:14851
next @ vendor.js:22027
execute @ vendor.js:22013
handleException @ vendor.js:21412
handleException @ vendor.js:21605
_throw @ vendor.js:21291
evaluate @ vendor.js:15715
execute @ vendor.js:21278
rerender @ vendor.js:21636
_this.render @ vendor.js:33146
runInTransaction @ vendor.js:36561
_renderRoots @ vendor.js:33374
_renderRootsTransaction @ vendor.js:33404
_revalidate @ vendor.js:33441
invoke @ vendor.js:23174
flush @ vendor.js:23067
flush @ vendor.js:23245
end @ vendor.js:23378
_run @ vendor.js:23715
_join @ vendor.js:23691
join @ vendor.js:23445
loopEnd @ vendor.js:33222

``

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
alexmiddeleercommented, Jan 30, 2018

@snewcomer Thanks, that fixed the issue for me! The issue with reaching infinity I made in my second comment turned out to be a pre-existing problem that we have been ignoring for years probably.

0reactions
snewcomercommented, Feb 2, 2018

@alexmiddeleer Happy to help out. See the line below for the that part of the lib and lmk what you see. Also, 1-0 was just merged so you can install 1.0.0-alpha.4 to try it out.

https://github.com/ember-infinity/ember-infinity/blob/master/addon/mixins/route.js#L309

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ember cannot call writableChainWatchers after the object is ...
Cannot call writableChainWatchers after the object is destroyed. My first question is, how can I figure out what's the cause of this weird...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found