android-dts-generator icon indicating copy to clipboard operation
android-dts-generator copied to clipboard

Invalid byte tag in constant pool: 19

Open govi2010 opened this issue 5 years ago • 13 comments

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)

govi2010 avatar Jul 02 '19 11:07 govi2010

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

fhackenb avatar Jul 09 '19 22:07 fhackenb

No.

govi2010 avatar Jul 11 '19 14:07 govi2010

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

akshaydoiphode avatar Oct 10 '19 11:10 akshaydoiphode

@EddyVerbruggen Can You help us in This.?

akshaydoiphode avatar Oct 10 '19 11:10 akshaydoiphode

@govi2010 Have you got any solution.?

akshaydoiphode avatar Oct 10 '19 11:10 akshaydoiphode

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

vtrifonov avatar Oct 10 '19 12:10 vtrifonov

nevermind I found it

vtrifonov avatar Oct 10 '19 14:10 vtrifonov

can you try again with the latest version

vtrifonov avatar Oct 10 '19 14:10 vtrifonov

Latest version mean.? Actually My all projects are donwith nativescript 4 and I installed Nativescript 4, JDK 9 and Node JS 8 and I tried building my projec.

Do you have any solution on "Invalid Byte Tag in Contant Pool:19" Issue.?

Thanks and Regards,

On Thu, 10 Oct 2019 at 07:47, Vasil Trifonov [email protected] wrote:

can you try again with the latest version

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NativeScript/android-dts-generator/issues/47?email_source=notifications&email_token=AHDEAQFQN3D2PHH4UNW33ADQN457VA5CNFSM4H422I22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4T7HI#issuecomment-540622749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDEAQFKPJGRMMVGGRPHUATQN457VANCNFSM4H422I2Q .

-- Thanks & Regards, Akshay Ajit Doiphode. +91-9970571398.

akshaydoiphode avatar Oct 11 '19 04:10 akshaydoiphode

How are you starting the android-dts-generator?

vtrifonov avatar Oct 11 '19 16:10 vtrifonov

I am not getting your point. What are you talking about?

On Fri, 11 Oct 2019 at 21:39, Vasil Trifonov [email protected] wrote:

How are you starting the android-dts-generator?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NativeScript/android-dts-generator/issues/47?email_source=notifications&email_token=AHDEAQEXK4TWO7ZYAEBVR43QOCQKDA5CNFSM4H422I22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBAO6NY#issuecomment-541126455, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDEAQDJYHT4QO2NGFLTZS3QOCQKDANCNFSM4H422I2Q .

-- Thanks & Regards, Akshay Ajit Doiphode. +91-9970571398.

akshaydoiphode avatar Oct 12 '19 10:10 akshaydoiphode

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

vtrifonov avatar Oct 12 '19 11:10 vtrifonov

Yes, I am using nativscript 4 and I am getting error while 'tns run android'

On Sat, Oct 12, 2019, 5:25 PM Vasil Trifonov [email protected] wrote:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NativeScript/android-dts-generator/issues/47?email_source=notifications&email_token=AHDEAQC73URWKMOGCPE2433QOG3MTA5CNFSM4H422I22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBB5WMY#issuecomment-541317939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDEAQC7GR67HITCIO7SV5LQOG3MTANCNFSM4H422I2Q .

akshaydoiphode avatar Oct 12 '19 12:10 akshaydoiphode