question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

buck fails to calculate class abi for prebuilt jar

See original GitHub issue
Buck 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kageiitcommented, Aug 30, 2018
0reactions
jtorkkolacommented, Aug 27, 2018

I’m currently working on upgrading ASM to 6.2.1. Unfortunately, there are some breaking behavioral changes, so it isn’t totally trivial.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found