Free Support Forum -

ArrayIndexOutOfBoundsException on one Aztec code

I've this exception when trying to decode an aztec code.
java.lang.ArrayIndexOutOfBoundsException: -1
at com.aspose.barcoderecognition.cX.a(SourceFile:565)
at com.aspose.barcoderecognition.cX.a(SourceFile:438)
at com.aspose.barcoderecognition.dW.a(SourceFile:69)
at com.aspose.barcoderecognition.dW.b(SourceFile:131)
at com.aspose.barcoderecognition.dW.b(SourceFile:139)
at com.aspose.barcoderecognition.T.b(SourceFile:33)
at com.aspose.barcoderecognition.BarCodeReader.dV(SourceFile:183)
at CodeDecoder.main(
The code is 159x159 and top notch quality (not a photo)
I ve tried different ImageBinarizationHints without success. (only MedianSmoothing remove the exception but display nothing as decoded text)

I am quite new to Aspose and decoding 2D codes. Anybody could point me to where
i should go in order to decode this code ?



PS : I know this code can be decoded as i did using "NeoReader" iphone app...

Hi Sebastien,

Thank you for inquiry.

Could you please post the sample image for our analysis? We will look into it.

The basic code to read the barcode should be similar to the example in page.

Thanks for your reply.

Please find in attachment the Aztec code i am having trouble with.



Hello Seb,

Thanks for the sample image.

I was able to reproduce this issue (ID: 30567) at my end. We will analyze it further and will inform you here once it gets resolved. Sorry for the inconvenience.

Anything new regarding this ?

We are evaluating Aspose and that is definitively a show-stopper for us.




I am sorry this issue has not been resolved yet. I will update you as soon as it gets fixed.

Thanks. Please keep us informed.

Will be quite happy to buy the license as soon as this is solved.


would you be able to give a time-frame for this to be solved ?



I will try to get an ETA for you and post here as soon as I get any news.


The next version of Aspose.BarCode for Java will be out somewhere in December 2011, which will contain this fix as well.

Hi Seb,

First of all, please accept our apologies for your inconvenience and for our delayed response.

It is to brief you on the current status of the ticket (BARCODENET-30568) attached to your request. We have fixed this problem in our .NET version of the product, and once verified this fix will automatically propagate to Aspose.BarCode for Java in its next major release.

To verify the results, we need you to provide us the CodeText for the barcode symbol (sample.png) provided here.

Looking forward to your kind response.

The issues you have found earlier (filed as BARCODJAVA-30567) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.