-
Notifications
You must be signed in to change notification settings - Fork 404
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
Error: Cannot read property 'handler' of undefined #90
Comments
Hi @ke2g, thanks for taking the time to submit your error here. I would like to look into this more, but I may need some more information. Can you provide your exact list of dependencies and versions via Second, can you email the I should mention that due to how the newrelic module works, it will almost-always appear in your stack traces. I am not precluding the possibility of the agent doing something errant here however. I will investigate, thanks! |
agent: reset error count at end of harvest cycle regardless of error collector settings
Hello, Here is a better stacktrace:
Demoindex.coffee require('coffee-script/register')
require('newrelic')
express = require('express')
router = express.Router()
router.get '/test', (req, res, next) ->
console.log('test')
next()
setTimeout ->
router.get '/test', (req, res, next) ->
console.log('test')
next()
, 2000 doing the same using require('coffee-script/register')
require('newrelic')
express = require('express')
router = express()
router.get '/test', (req, res, next) ->
console.log('test')
next()
setTimeout ->
router.get '/test', (req, res, next) ->
console.log('test')
next()
, 2000 |
@marcbachmann I copied your second script into a file app.coffee. I then compiled it into app.js using the coffee-script coffee binary. I copied in a newrelic.js config file, and installed newrelic. I then ran the script and nothing blew up. Is there anything else we need to do to exhibit the behavior? Thanks! |
Yes, the the first script is using the new |
@marcbachmann Ahh, I misread what you wrote. I too can reproduce the issue now. We'll work on a fix. Thanks! |
@txase No problem. Thank you. |
@marcbachmann good catch. Please open a new issue for us. Thanks! |
Created here: #155 |
Hi @ke2g, We believe we have resolved your issue in the latest release of the Node.js agent. Please try it out. I am closing this issue now, but please feel free to reopen if you continue to have issues. Thanks! |
…mock-infinite-tracing-server/protobufjs-7.2.4 chore(deps): bump protobufjs from 7.2.3 to 7.2.4 in /mock-infinite-tracing-server
…moment-2.29.4 Bump moment from 2.29.2 to 2.29.4
release 6.0.1
Release v0.3.1
Hi!, I'm getting this error in my new relic logs, looks like it's coming from the new relic library.
Stack trace:
Using node v0.10.22
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: