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

support for Spring boot 2.3.0.RELEASE #973

Closed
dacopan opened this issue May 23, 2020 · 10 comments
Closed

support for Spring boot 2.3.0.RELEASE #973

dacopan opened this issue May 23, 2020 · 10 comments

Comments

@dacopan
Copy link

dacopan commented May 23, 2020

build gradle failed when migrate to spring boot 2.3.0.RELEASE
error: Index 9730 out of bounds for length 8192

@bartoszwalacik
Copy link
Member

build of what?

@dacopan
Copy link
Author

dacopan commented May 24, 2020

build of what?

  1. create spring boot project
  2. ./gradlew bootRun

Execution failed for task ':compileJava'.
Index 9730 out of bounds for length 8192

Demo project https://gitlab.com/JedAI/community/javers-error

@bartoszwalacik
Copy link
Member

bartoszwalacik commented May 24, 2020

looks like an issue with Gradle 6

@dacopan
Copy link
Author

dacopan commented May 24, 2020

looks like an issue with Gradle 6

only fails with javers 5.9.0
Gradle 6.3+ with any old versions of Javers works well

@bartoszwalacik
Copy link
Member

I have not idea what to with this error, gradle 6.3 just fails and gives ridiculous error message: Index 9730 out of bounds for length 8192

@bongboy
Copy link

bongboy commented May 25, 2020

Same error in maven also. Javers 5.8.12 works fine.

@dacopan
Copy link
Author

dacopan commented May 25, 2020

I have not idea what to with this error, gradle 6.3 just fails and gives ridiculous error message: Index 9730 out of bounds for length 8192

I run gradle with debug and apparently fails because pom.xml of javers-core has line breaks.
I'm investigating similar issue and occurs when publish to maven using windows

@bartoszwalacik do you have this issue if yo install to local maven and use it instead of maven central version?

@bartoszwalacik
Copy link
Member

well, I see it for the first time, javers is built on travis CI (linux). what has changed recently in javers is gradle bump from 5.x to 6.3

@bartoszwalacik
Copy link
Member

looks like classgraph is the culprit

@bartoszwalacik
Copy link
Member

Fixed in 5.9.1, @dacopan thanks for the good runnable test case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants