Enabling New Relic on v5.8.0 causing 'panic: runtime error: invalid memory address or nil pointer dereference' #5801
-
Web nodes failed to start with following error
Any work around or recommendations? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
I tried with v6.0.0 and got the same error
|
Beta Was this translation helpful? Give feedback.
-
This was fixed in 6.3.0 😄 #5697 I looked at the stack trace again. Between 5.7.0 and 5.8.0 the newrelic emitter was updated to also emit check containers. concourse/atc/metric/emitter/newrelic.go Line 29 in 4adfcb1 When we instantiate the emitter we forgot to instantiate the concourse/atc/metric/emitter/newrelic.go Lines 66 to 78 in 4adfcb1 Concourse crashes when it tries to access the deleted field on the stat object that we never instantiated.
I was able to replicate this on 6.0.0 by:
Concourse then crashed! Tried replicating on 6.3.0 and got no error |
Beta Was this translation helpful? Give feedback.
-
Thank You @taylorsilva, Maybe it's time to upgrade. Will update you once it's done. |
Beta Was this translation helpful? Give feedback.
This was fixed in 6.3.0 😄 #5697
I looked at the stack trace again. Between 5.7.0 and 5.8.0 the newrelic emitter was updated to also emit check containers.
concourse/atc/metric/emitter/newrelic.go
Line 29 in 4adfcb1
When we instantiate the emitter we forgot to instantiate the
stat
object forchecks
.concourse/atc/metric/emitter/newrelic.go
Lines 66 to 78 in 4adfcb1