You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
Mac Os Ventura 13.5.2, Java JVM Amazon Corretto 17 & 20. (Tried with multiple sub-releases)
Reproduction steps
Setup the Amazon Corretto JVM as java home and set it on your zsh path.
setup an Android gradle build (this is optional as it is unrelated to the bug. Just providing for context)
Use the jar command to start the listener.
java -jar {path-to-jar}file-leak-detector-1.16-jar-with-dependencies.jar PID http=19999
Expected Results
Command should execute successfully
Actual Results
The command does not complete and returns with the following error
com.sun.tools.attach.AgentInitializationException: Agent JAR loaded but agent failed to initialize at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:170) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.kohsuke.file_leak_detector.Main.run(Main.java:74) at org.kohsuke.file_leak_detector.Main.main(Main.java:38)
Anything else?
We can only use Amazon Corretto, it seems many other JVM's work including Bell & SAP
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Mac Os Ventura 13.5.2, Java JVM Amazon Corretto 17 & 20. (Tried with multiple sub-releases)
Reproduction steps
java -jar {path-to-jar}file-leak-detector-1.16-jar-with-dependencies.jar PID http=19999
Expected Results
Command should execute successfully
Actual Results
The command does not complete and returns with the following error
com.sun.tools.attach.AgentInitializationException: Agent JAR loaded but agent failed to initialize at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:170) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.kohsuke.file_leak_detector.Main.run(Main.java:74) at org.kohsuke.file_leak_detector.Main.main(Main.java:38)
Anything else?
We can only use Amazon Corretto, it seems many other JVM's work including Bell & SAP
The text was updated successfully, but these errors were encountered: