I am using 2.7.0 of Aspose.Barcode Java.
If I use the reader code below it reads nothing:
BarCodeReadType brt = BarCodeReadType.Empty;
brt.append(BarCodeReadType.Code39Standard);
brt.append(BarCodeReadType.Code128)
If I use the reader code below it reads Code 3 of 9 barcodes:
BarCodeReadType brt = BarCodeReadType.Code39Standard;
brt.append(BarCodeReadType.Code128)
If I use the reader code below it reads Code 128 barcodes:
BarCodeReadType brt = BarCodeReadType.Code128;
brt.append(BarCodeReadType.Code39Standard)
If I use:
BarCodeReadType brt = BarCodeReadType.AllSupportedTypes;
I get the following exception:
SEVERE: Error reading barcode! (My Error Message)
java.lang.NullPointerException
at com.aspose.barcoderecognition.bs.a(SourceFile:14)
at com.aspose.barcoderecognition.bt.a(SourceFile:385)
at com.aspose.barcoderecognition.bt.a(SourceFile:252)
at com.aspose.barcoderecognition.bt.a(SourceFile:209)
at com.aspose.barcoderecognition.bt.b(SourceFile:45)
at com.aspose.barcoderecognition.T.b(SourceFile:33)
at com.aspose.barcoderecognition.T.b(SourceFile:33)
at com.aspose.barcoderecognition.BarCodeReader.dV(SourceFile:183)
at com.aspose.barcoderecognition.BarCodeReader.read(SourceFile:156)
How can I just read Code128 and Code39Standard(Or any barcodes types of my choice)?