buck fails to calculate class abi for prebuilt jar
See original GitHub issueBuck encountered an internal error
java.lang.ArrayIndexOutOfBoundsException: 32800
at org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:2591)
at org.objectweb.asm.ClassReader.readModule(ClassReader.java:728)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:632)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:500)
at com.facebook.buck.jvm.java.abi.DirectoryReader.visitClass(DirectoryReader.java:61)
at com.facebook.buck.jvm.java.abi.JarReader.visitClass(JarReader.java:53)
at com.facebook.buck.jvm.java.abi.StubJarClassEntry.of(StubJarClassEntry.java:56)
at com.facebook.buck.jvm.java.abi.StubJarEntry.of(StubJarEntry.java:30)
at com.facebook.buck.jvm.java.abi.StubJar.writeTo(StubJar.java:104)
at com.facebook.buck.jvm.java.abi.StubJar.writeTo(StubJar.java:84)
at com.facebook.buck.jvm.java.CalculateClassAbiStep.execute(CalculateClassAbiStep.java:52)
at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:45)
... 14 more
When running <class_abi>.
When building rule //.okbuck/cache:org.glassfish.hk2.external--asm-all-repackaged--2.5.0-b32.jar#class-abi.
jar is here: https://mvnrepository.com/artifact/org.glassfish.hk2.external/asm-all-repackaged/2.5.0-b32
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Java ABIs - Buck
Buck generates source-only ABI JARs using only the text of the source code for a rule, without first compiling (most of) the rule's...
Read more >Rethinking Android app compilation with Buck
The nodes ending in #class-abi represent the work to create stub JARs by stripping implementation details out of the corresponding full JARs ......
Read more >LBM jar file ABI version does not match loaded lbmj library ...
WARNING: LBM jar file ABI version 5.3 does not match loaded lbmj library version 6.8. Unexpected behavior or application crashes may result; ...
Read more >task :react-native-reanimated:prepareboost failed - You.com | The ...
kt: (25, 91): Unchecked cast: Type! to Class<T> > Task :react-native-navigation:compileReactNative60DebugJavaWithJavac FAILED Deprecated Gradle features were ...
Read more >kotlin standard library functions - NOVA Community Chorus
intArrayOf(), longArrayOf(), arrayOf(), etc) you are not able to initialize the ... Use Tools -> Kotlin -> Show Kotlin Bytecode or check .class...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like the upgrade merged - https://github.com/facebook/buck/commit/aad4ab401838290cea29b123eb237ef144ef0c4e
Thanks @jtorkkola !
I’m currently working on upgrading ASM to 6.2.1. Unfortunately, there are some breaking behavioral changes, so it isn’t totally trivial.