The generateBarcode(BitmapCanvasProvider, String) method throws a StringIndexOutOfBoundsException when the message passed in ends in a new line character, "\n". My example String is 131 characters long and ends with "0802\n", and the exception message is
java.lang.StringIndexOutOfBoundsException: String index out of range: 131
It looks to be an easily-fixed off by one error! Thanks!
What barcode are you trying to produce? I need a little more information to reproduce the problem. I'm not particularly looking forward to trying out a dozen cases until I hit the problem. Thanks.