79409092

Date: 2025-02-03 14:25:19
Score: 2
Natty:
Report link

As suggested by @Rafael Winterhalter, the issue was resolved after injecting the ApplicationTraceContext class.

ClassInjector.UsingUnsafe.ofBootLoader().inject(Collections.singletonMap(
    new TypeDescription.ForLoadedType(ApplicationTraceContext.class),
    ClassFileLocator.ForClassLoader.read(ApplicationTraceContext.class)
));
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Rafael
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jay_ran