Closed apotterri closed 11 months ago
This is wild. The agent can’t access its own code? Yikes.
Well, sort of. It looks like the agent isn't configuring javassist correctly. In particular, it's using instances of ClassPool aren't able to find those classes.
Fixed in 1.22.2
Depending on the structure of the application's class loader hierarchy, classes in the agent jar may not be available to the application. In particular,
com.appland.appmap.process.ThreadLock
andcom.appland.appmap.process.ExitEarly
can't be loaded, which causes a failure when javassist tries to compile an instrumented method.