Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation fails when starting an application in IntelliJ using the agent #93

Open
mariusoe opened this issue Jan 28, 2019 · 0 comments
Labels
area/agent bug Something isn't working

Comments

@mariusoe
Copy link
Member

Starting an application directly in IntelliJ using the inspectIT agent will throw errors due to an instrumentation of the class com.intellij.rt.execution.application.AppMainV2$1. This is happening because IntelliJ adds an agent to the Java process as well.

When starting an application in debug-mode, the instrumentation of the Thread class will fail due to an error on an attempt to add a method to the class. Nevertheless, the error also appears when disabling our custom class file transformer. Due to this, it is most likly a problem to the agent attached by IntelliJ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agent bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant