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.

Cannot read properties of undefined (reading '_application'), Maximum call stack size exceeded

See original GitHub issue

I’m seeing this in all projects I’m working on!

To Reproduce

  1. Open an Ember app in the browser.
  2. Open Ember Inspector.
  3. Refresh the browser tab.

Expected behavior

The app is working, Ember Inspector is working.

Actual behavior

The app crashes, Ember Inspector won’t even start.

Uncaught TypeError: Cannot read properties of undefined (reading '_application')
    at appStarted (<anonymous>:9601:45)
    at Object.initialize (<anonymous>:9721:11)
    at index.js:136
    at Vertices.each (dag-map.js:231)
    at Vertices.walk (dag-map.js:145)
    at DAG.each (dag-map.js:75)
    at DAG.topsort (dag-map.js:83)
    at App._runInitializer (index.js:151)
    at App.runInstanceInitializers (index.js:134)
    at Class._bootSync (instance.js:111)

Screenshots

image

Environment

Ember CLI 3.28.3 — earlier version s too Ember 3.28.1 Chrome 96.0.4662.6 (Official Build) dev (64-bit) — reproducible in other versions too, including Chromium-based browsers Windows 10 Pro 64-bit

Additional context

In a production build the error is different.

Demo: https://bit.ly/2Z99YHA

Uncaught RangeError: Maximum call stack size exceeded.
    at e.runLoadHooks (vendor-8a7b20fa6e89e74252315c5f231768ff.js:1709)
    at s.callback (vendor-8a7b20fa6e89e74252315c5f231768ff.js:3249)
    at s.exports (vendor-8a7b20fa6e89e74252315c5f231768ff.js:20)
    at requireModule (vendor-8a7b20fa6e89e74252315c5f231768ff.js:7)
    at t (vendor-8a7b20fa6e89e74252315c5f231768ff.js:25)
    at r (vendor-8a7b20fa6e89e74252315c5f231768ff.js:48)
    at <anonymous>:9649:7
    at e.runLoadHooks (vendor-8a7b20fa6e89e74252315c5f231768ff.js:1709)
    at s.callback (vendor-8a7b20fa6e89e74252315c5f231768ff.js:3249)
    at s.exports (vendor-8a7b20fa6e89e74252315c5f231768ff.js:20)

CC @SimonIhmig

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jherdmancommented, Nov 19, 2021

Can confirm @antonbavykin1991’s findings.

1reaction
antonbavykin1991commented, Nov 2, 2021

checked with patch, issue still represented

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >
JavaScript RangeError: Maximum Call Stack Size Exceeded
The JavaScript RangeError: Maximum call stack size exceeded is an error that occurs when there are too many function calls, or if a...
Read more >
JavaScript Error: Maximum Call Stack Size Exceeded
This error is a RangeError. A RangeError typically means an error has occurred outside of a code's argument value for its parameter. Now...
Read more >
Uncaught RangeError: Maximum call stack size exceeded
This error is almost always means you have a problem with recursion in JavaScript code, as there isn't any other way in JavaScript...
Read more >
RangeError: Maximum call stack size exceeded - Educative.io
In this shot, we will see how to fix the “RangeError: Maximum call stack size exceeded” error. ... The most common source for...
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