NativeScript / NativeScript/android-dts-generator
Invalid byte tag in constant pool: 19
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 96
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
Hello friends ,
I am getting following error while generating typings.
java -jar build/libs/dts-generator.jar -input ../jars/opencv-platform-4.0.1-1.5.jar
Android d.ts Generator Version : 2.0.0
Exception in thread "main" org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
at org.apache.bcel.classfile.Constant.readConstant(Constant.java:161)
at org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:69)
at org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:235)
at org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:143)
at com.telerik.dts.JarFile.readJar(JarFile.java:45)
at com.telerik.dts.Generator.loadJavaClasses(Generator.java:98)
at com.telerik.dts.Generator.start(Generator.java:38)
at com.telerik.Main.main(Main.java:37)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with build/libs/dts-generator.jar and the opencv-platform-4.0.1-1.5.jar command shown in the report. Start at com.telerik.dts.JarFile.readJar, Generator.loadJavaClasses, and the org.apache.bcel.classfile stack frames; done means the generator processes this input and produces typings without the reported ClassFormatException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100