-
Notifications
You must be signed in to change notification settings - Fork 401
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
Relocation throwing ArrayIndexOutOfBoundsException from ASM with Gradle 4.0 #303
Comments
Do you have a sample project available to exhibits this problem? |
Unfortunately, it is a rather large internal project. |
No sure if related but im using this plugin with Jooby and when building this with shadow jar the gradle task runShadow does not work with gradle 4.0 and produces index out of bounds exception in my application, gist for reference. However when i generate a gradlewrapper for version 3.5 and run |
Hello, @johnrengelman . I also got
The exception is different from @baron1405 's but the stack trace is similar. I got this error after applying gradle-aspectj plugin to my project. If I don't apply it, everything is ok. Hope it helps. Versions:
|
Can someone trying the 2.0.2-SNAPSHOT and see if this error goes away? The snapshot repository is at http://oss.jfrog.org/artifactory/simple/oss-snapshot-local/ |
I tried but I got an error from gradle:
The version is 2.0.0 in the following pom. Please let me know if it's fixed. |
Ok, fixed that problem. Can you try again? |
I tried but got a similar error. :-(
|
All the tests I've run and examples people have given me are passing with ASM 6.0. I'm even wiling to work offline with a private project if someone would like. |
@JayTheKing I'm not sure your issue is the same thing. I don't see any shadow or ASM classes in that stracktrace. |
2.0.2 is now available with this fix. |
Hi John, hope you might give me some insights into what to try next. I have a project using the shadow plugin that has worked fine under Gradle 3.* using shadow 1.2.4. When I upgraded to Gradle 4.0 and shadow 2.0.0 the relocate calls throws an ArrayIndexOutOfBoundsException with an ASM related stack trace:
I have verified that only the ASM 5.2 dependencies from shadow are present on the build classpath. Any thoughts on what to look at next would be appreciated.
Thanks,
Baron
The text was updated successfully, but these errors were encountered: