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.

Maximum call stack error

See original GitHub issue

…every time i try to print a result from a MongoDB to the console. At first I thought it could be the size of information printed. Then I tried to print a single object and the error showed up again. This is what i get when i try to print on the console with logger.verbose(result[0])

{ '$__': 
    { strictMode: true,
     selected: undefined,
     shardval: undefined,
     saveError: undefined,
     validationError: undefined,
     adhocPaths: undefined,
     removing: undefined,
     inserting: undefined,
     version: undefined,
     getters: {},
     _id: undefined,
     populate: undefined,
     populated: undefined,
     wasPopulated: false,
     scope: undefined,
     activePaths: 
      { paths: 
         { 'location.coordinates': 'init',
           __v: 'init',
           'properties.name': 'init',
           'geometry.type': 'init',
           _id: 'init' },
        states: 
         { ignore: {},
           default: {},
           init: 
            { __v: true,
              'properties.name': true,
              'geometry.coordinates': true,
              'geometry.type': true,
              _id: true },
           modify: {},
           require: {} },
        stateNames: 
         [ 'require',
           'modify',
           'init',
           'default',
           'ignore' ] },
     ownerDocument: undefined,
     fullPath: undefined },
  isNew: false,
  errors: undefined,
  _maxListeners: 0,
  _doc: 
   { properties: 
      { name: 'xxx',
        id: 'xx',
        obj: 'xxxxxx' },
     geometry: 
      { coordinates: [ 89.90272, 42.2913 ],
        type: 'Point' },
     __v: 0,
     _id: 
      { _bsontype: 'ObjectID',
        id: 'T6S%\u0014\u0010è\u0007t­uH' } },
  _pres: 
   { save: 
      [ { [Function] isAsync: false },
        { [Function: checkForExistingErrors] isAsync: false },
        { [Function: validation] isAsync: false } ] },
  _posts: { save: [] },
  save: { [Function] numAsyncPres: 0 },
  _events: {} }
2014-10-09T11:14:48.778Z - error: uncaughtException: Maximum call stack size exceeded 

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
ngocketitcommented, Jan 26, 2017

Check #977. Not sure when it’s gonna been merged and published.

0reactions
shahimcltcommented, Jan 4, 2017

Any Updates?

I have been constantly checking #862, #474 and #914 for an update. I also have a question posted here which too hasn’t gotten any response.

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 Error: Maximum Call Stack Size Exceeded
If you see the “Maximum Call Stack Size Exceeded” error, there's likely a problem with a recursive function within your JavaScript code. More ......
Read more >
Uncaught RangeError: Maximum call ... - Net-Informations.Com
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
The most common source for this error is infinite recursion. You must have a recursive function in your code whose base case is...
Read more >
RangeError: Maximum call stack size exceeded in JavaScript
The "RangeError: Maximum call stack size exceeded" error occurs when a function is called so many times that the invocations exceed the call...
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