DataDog / dd-trace-dotnet

.NET Client Library for Datadog APM

Home Page:https://docs.datadoghq.com/tracing/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System.NullReferenceException in RedisExecuteAsyncIntegration.OnMethodBegin(RedisBase , Message& , ResultProcessor`1& , ServerEndPoint& )

cpaolucci-technogym opened this issue · comments

Describe the bug
The application consistently throws many System.NullReferenceException. There are no unexpected behaviour except the flooding of handled exceptions. Via the FirstChanceExceptionHandler we logged: "System.NullReferenceException: Object reference not set to an instance of an object. at RedisExecuteAsyncIntegration.OnMethodBegin(RedisBase , Message& , ResultProcessor`1& , ServerEndPoint& )"

To Reproduce
Steps to reproduce the behavior:
Start the application

Expected behavior
No exceptions

Runtime environment (please complete the following information):

  • Instrumentation mode: NuGet package
  • Tracer version: Bundle 2.36.0
  • OS: Linux 5.10.201-191.748.amzn2.x86_64 #1 SMP Mon Nov 27 18:28:14 UTC 2023
  • CLR: .NET Core 6

image

Hi @cpaolucci-technogym, we fixed an issue related to this in version 2.43.0 of the tracer. Could you please try updating to the latest and see if that resolves your issue? Thanks!

Hi, updating to 2.45.0 has actually fixed the issue in our test environment. We scheduled a deploy in the next hours, I'll let you know whether is fixed or not.
Thank you!