encoding/json: runtime error: index out of range [24] with length 24 #63420
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
First of all, I apologize for the ambiguity in this issue. This was caught by an error reporting system in production, it's the first time we've seen this issue and our system has been running for years. This code path is called about ~100,000 times per day so whatever the issue is, it's obscure.
If you need more information, I'll do my best to collect it, but I'm hoping maybe the stack trace will point someone in the right direction on the out of bound error.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
d.CurrentFoobar
is of typemap[string]interface{}
and we're trying to unmarshal it into another type. We do a lot of work withprimitive.ObjectID
so I suspect the issue is related to that.What did you expect to see?
I would have expected a marshaling error to be returned, not a panic.
What did you see instead?
The text was updated successfully, but these errors were encountered: