inspectit-ocelot icon indicating copy to clipboard operation
inspectit-ocelot copied to clipboard

Attaching Agent in IntelliJ SpringBoot HeatClinic Project fails

Open ArianeKraus opened this issue 5 years ago • 0 comments

When trying to attach the agent in my locally (IntelliJ) running HeatClinic , the application won't start and crashes. Stacktrace is added below.

Ocelot-version: 1.2.1 (Testing with version 1.1 won't work either) HeatClinic-version: 6.0.8-GA IntelliJ-version: IntelliJ IDEA 2020.1.1 (Ultimate Edition)

The problem is fixed when disabling the SpringBoot-Enable JMX agent option in the run configurations. Starting the application locally without IntelliJ like here and attaching the agent afterward works fine as well.

SiteStackstraceWithoutSpringAgentJVM.txt

ArianeKraus avatar May 04 '20 10:05 ArianeKraus