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: Build results in StackOverflowError #70

Open
kokx opened this issue Oct 24, 2022 · 7 comments
Open

bug: Build results in StackOverflowError #70

kokx opened this issue Oct 24, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@kokx
Copy link
Contributor

kokx commented Oct 24, 2022

Context (Environment)

Trying to build the application using ./gradlew build or running using ./gradlew run.

Expected Behavior

The build succeeds without an error, and its possible to run ./gradlew release afterwards and use the resulting jar, or run the application.

Current Behavior

When running ./gradlew run or ./gradlew build, the build results in a java.lang.StackOverflowError, failing the build. Full logs: https://gist.github.com/kokx/ca709aebf3f8274235d78bfa81f43019

Possible Solution

Removing sniper-tools from from the include in /settings.gradle.kts allows the build to succeed.

Steps to Reproduce

  1. Run ./gradlew build
  2. For more information, see the logs in https://gist.github.com/kokx/ca709aebf3f8274235d78bfa81f43019
@kokx kokx added the bug Something isn't working label Oct 24, 2022
@kunyavskiy
Copy link
Contributor

I've failed to reproduce it. Maybe the difference is in java 19 vs. java 17.

Also I'm a bit confused with error: release version 11 not supported

@kokx
Copy link
Contributor Author

kokx commented Oct 24, 2022

Yes I'm confused by that error as well, because I do have java version 11 installed as well.

Anyway, I verified the same with java 17, and get the same errors: https://gist.github.com/kokx/b0a37ca5192438142d745dcf9f8a7579

@irdkwmnsb
Copy link
Contributor

irdkwmnsb commented Nov 11, 2022

@kokx can you maybe check it now from the master branch?

@kokx
Copy link
Contributor Author

kokx commented Nov 12, 2022

Just did. This unfortunately still gives the same errors. Building without sniper-tools still works however.

@kunyavskiy
Copy link
Contributor

I still have no idea how to reproduce it. But I've converted it to koltin, and simplified the build.

Maybe some of this will help.

@irdkwmnsb
Copy link
Contributor

@kokx can you check again?

@kokx
Copy link
Contributor Author

kokx commented Nov 21, 2022

Unfortunately this bug stays very illusive. This time I needed to build the software without sniper-tools and reactions-bot before the StackOverflowError would not occur.

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

4 participants