We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error while applying Barcode in Java


I m getting the below error while applying barcode using Aspose for Java. I m using the library aspose-barcode-21.5-jdk18.jar. Could you please help here?

java.lang.VerifyError: Bad type on operand stack
Exception Details:
com/aspose/barcode/generation/BarcodeGenerator.c()V @1308: invokevirtual
Type ‘com/aspose/barcode/internal/dd/a’ (current frame, stack[1]) is not assignable to ‘com/aspose/barcode/internal/dd/d’
Current Frame:
bci: @1308
flags: { }
locals: { ‘com/aspose/barcode/generation/BarcodeGenerator’, ‘com/aspose/barcode/internal/dc/ak’ }
stack: { ‘com/aspose/barcode/generation/Unit’, ‘com/aspose/barcode/internal/dd/a’ }
0000000: 2ab6 007f b200 72b6 00aa 2ab6 007f 0bb6
0000010: 00ac 2ab6 007f b600 a30b b200 5fb8 00f0
0000020: b600 b12a b600 7fb6 00a3 b200 71b6 00ae
0000030: 2ab6 007f b600 a3b2 0065 b600 af2a b600
0000040: 7fb6 00a3 03b6 00b0 2ab6 007f b600 a4b2
0000050: 0071 b600 b62a b600 7fb6 00a4 1208 b600
0000060: b52a b600 7fb6 00a4 b200 70b6 00b4 2ab6
0000070: 007f b600 a403 b600 b72a b600 7fb6 00a4
0000080: bb00 3659 120a 1205 b200 5f12 0703 b700


Could you please share your sample code (runnable) and sample file(if any) to reproduce the issue. We will check your issue soon. We also recommend you try our latest version if it makes any difference.

Thanks for your response. We were able to fix it internally.

Thanks again!


Good to know that you are up and running again. Feel free to write us back if you have further queries or issue, we will be happy to assist you soon.