07 Jun 2024 06:13 PM - last edited on 18 Jul 2024 12:18 PM by Michal_Gebacki
Hello everyone,
We are monitoring applications containers on kubernetes cluster and for a reason I don't understand, one of our app is in crashloopback with exit code 139 since we start monitoring it.
I found this error on the log:
Unhandled exception. System.TypeInitializationException: The type initializer for 'Dynatrace.OneAgent.AgentServiceLocator' threw an exception. ---> System.MissingMethodException: Method not found: 'Void System.Runtime.Loader.AssemblyLoadContext.add_Unloading(System.Action`1<System.Runtime.Loader.AssemblyLoadContext>)'.
Our application run on docker image mcr.microsoft.com/dotnet/aspnet:6.0.30-alpine3.19
Let me know if you have any idea on why Dynatrace OneAgent could make my application crash😄
Solved! Go to Solution.
09 Jun 2024 02:02 AM - edited 09 Jun 2024 02:04 AM
Hi @alex94
I don't have much information about it, but I have identified that months ago, a very similar error was reported with the exception code that you detail, applied in a mcr.microsoft.com/dotnet/samples:aspnetapp 💡
Which makes me think that it is related, however my suggestion is that you create a ticket with the case that you have detailed in the Log as much as possible.
This is a very specialized case focused on one version of image and OneAgen so it is best to create a ticket.
https://dt-url.net/lb626l9
I hope it's helpful 💪
10 Jun 2024 01:02 PM
Good, I will create a ticket, thanks