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

[BUG] Gradle Run failing due to jacocoagent.jar file #1248

Open
kennyzhang0819 opened this issue Oct 10, 2023 · 0 comments
Open

[BUG] Gradle Run failing due to jacocoagent.jar file #1248

kennyzhang0819 opened this issue Oct 10, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@kennyzhang0819
Copy link
Contributor

Problem
On Windows devices, running ./gradlew :alerting:run results in an error. The error is due to the jacocoagent.jar file.
> Task :alerting:run FAILED Exec output and error: | Output for cmd:Error opening zip file or JAR manifest missing : /C:\Users\DELL\Desktop\UCB\2023_Fall\opensearch\alerting\alerting\build\tmp\.cache\expanded\zip_3a83c50b4a016f281c4e9f3500d16b55\jacocoagent.jar Error occurred during initialization of VM agent library failed to init: instrument

Known Alternatives
Running the same command on MacOS or Linux devices does not result in this error. It seems to be a Windows-only issue.

Desired Solution
Able to run ./gradlew :alerting:run on Windows Devices.

Additional Context

  • Members from other repos seem to have similar issues. Might not be an issue related to the Alerting Plugin
  • Gradle Version: 8.1.1
  • OS Info: Windows 11 10.0 (amd64)
  • JDK Version: 17 (Eclipse Temurin JDK)
  • JAVA_HOME: C:\Program Files\Eclipse Adoptium\jdk-17.0.5.8-hotspot
@kennyzhang0819 kennyzhang0819 added bug Something isn't working untriaged labels Oct 10, 2023
@riysaxen-amzn riysaxen-amzn added good first issue Good for newcomers and removed untriaged labels Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants