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

./gradlew build gives InvocationTargetException on Windows 10 #3097

Closed
harshita19244 opened this issue Apr 2, 2021 · 2 comments
Closed

./gradlew build gives InvocationTargetException on Windows 10 #3097

harshita19244 opened this issue Apr 2, 2021 · 2 comments
Assignees
Labels
Bug Something isn't working

Comments

@harshita19244
Copy link
Contributor

Setting up the opentelemetry-java project on windows 10 created an issue for me on the execution of the ./gradlew build command. The log I obtained is as follows:
Step 'google-java-format' found problem in 'integration-tests\src\test\java\io\opentelemetry\JaegerExporterIntegrationTest.java':
null
java.lang.reflect.InvocationTargetException

This was not in accordance with the "BUILD SUCCESSFUL" output I had expected to see.
OS: (e.g., "Windows 10")
Runtime (if different from JDK above): java 16 2021-03-16
Java(TM) SE Runtime Environment (build 16+36-2231)

Instead, I used the gradlew.bat command.
This can be added to the CONTRIBUTING.md documentation so that more Windows users do not run into similar issues.

@harshita19244 harshita19244 added the Bug Something isn't working label Apr 2, 2021
@harshita19244
Copy link
Contributor Author

#3082
resolves the bug

@jkwatson
Copy link
Contributor

jkwatson commented Apr 5, 2021

closing since #3082 resolved the issue

@jkwatson jkwatson closed this as completed Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants