Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failed: object->InternalFieldCount() > 0 #3111

Closed
MaxOlsson opened this issue Feb 18, 2016 · 5 comments
Closed

Assertion failed: object->InternalFieldCount() > 0 #3111

MaxOlsson opened this issue Feb 18, 2016 · 5 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues

Comments

@MaxOlsson
Copy link

When debugging a NodeJS Express.js POST method using Postman (The Chrome app) with babeljs transpiled code this error is thrown:
Assertion failed: object->InternalFieldCount() > 0, file d:\jenkins\workspace\nodejs-msi-julien\d8c2e2bb\src\util-inl.h, line 117

  • This bug is reproducable over different POST url's.
  • Developer Tools doesn't say anything.
    I'm not allowed to share code but if absolutely necessary I might try and create an isolated use case where it's reproducable...

How to reproduce:

  • Create a NodeJS Express.js server with ES6 syntax and create a POST REST method, and transpile it using npm-babel (https://www.npmjs.com/package/babel).
  • Place a breakpoint at the first entry point in your POST function
  • Using Postman, send a POST request and wait
  • It should first stop at the breakpoint and shortly after throw the error and exit the debugger.
@egamma egamma added the debug Debug viewlet, configurations, breakpoints, adapter issues label Feb 18, 2016
@weinand
Copy link
Contributor

weinand commented Mar 8, 2016

@MaxOlsson what node version are you using?

@weinand
Copy link
Contributor

weinand commented Mar 8, 2016

Most likely this is a node issue: nodejs/node-v0.x-archive#9028

@MaxOlsson
Copy link
Author

Sorry for not posting my node version. It's an old one, v0.12.7. I'll update my node version to latest stable and if I can't reproduce this bug I'll close this issue.

@MaxOlsson
Copy link
Author

Sorry for the late reply! I can't reproduce this with Node version 4.4. Closing the bug.

@ghost
Copy link

ghost commented Feb 17, 2017

I am able to reproduce this problem with a breakpoint on a request callback handler. I am using version
1.9.1 on Windows 10 with a date stamp of 2017-02-09T00:26:45:394Z
Commit: f9d0c68
Shell 1.4.6 and Node 6.5.0

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

3 participants