getappmap / appmap-java

AppMap client agent for Java
Other
80 stars 14 forks source link

The agent can't find its jar file when run in IntelliJ #257

Closed apotterri closed 6 months ago

apotterri commented 6 months ago

The agent currently tries to use the ProtectionDomain of Agent.class to find the JAR file that contains it. This fails when running IntelliJ tests (and perhaps at other times), because the IntelliJ class loader doesn't set the ProtectionDomain.

Example test failure: https://github.com/getappmap/appmap-intellij-plugin/actions/runs/7726512414/job/21062934070#step:6:180

appland-release commented 6 months ago

:tada: This issue has been resolved in version 1.26.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: