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

Invalid byte tag in constant pool: 19 #47

Open
govi2010 opened this issue Jul 2, 2019 · 13 comments
Open

Invalid byte tag in constant pool: 19 #47

govi2010 opened this issue Jul 2, 2019 · 13 comments

Comments

@govi2010
Copy link

govi2010 commented Jul 2, 2019

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)
@fhackenb
Copy link

fhackenb commented Jul 9, 2019

@govi2010 I just ran into this same error. Make any progress resolving it?

@govi2010
Copy link
Author

No.

@akshaydoiphode
Copy link

Any Update on this.? I am facing same Issue while building my Project

@akshaydoiphode
Copy link

@EddyVerbruggen Can You help us in This.?

@akshaydoiphode
Copy link

@govi2010 Have you got any solution.?

@vtrifonov
Copy link
Contributor

@akshaydoiphode where do you get opencv-platform-4.0.1-1.5.jar from?

@vtrifonov
Copy link
Contributor

nevermind I found it

@vtrifonov
Copy link
Contributor

can you try again with the latest version

@akshaydoiphode
Copy link

akshaydoiphode commented Oct 11, 2019 via email

@vtrifonov
Copy link
Contributor

How are you starting the android-dts-generator?

@akshaydoiphode
Copy link

akshaydoiphode commented Oct 12, 2019 via email

@vtrifonov
Copy link
Contributor

vtrifonov commented Oct 12, 2019

You’ve got this error while building your nativescript project for android with ‘tns build android’? And you are using nativescript 4.0?

@akshaydoiphode
Copy link

akshaydoiphode commented Oct 12, 2019 via email

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

No branches or pull requests

4 participants