读取二维码是出现异常
String result = new String(decoder.decode(new MyQRCodeImage(image)),"utf-8");
这个地方报了下标越界异常是怎么回事
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at jp.sourceforge.qrcode.pattern.FinderPattern.getWidth(FinderPattern.java:525)
at jp.sourceforge.qrcode.pattern.FinderPattern.findFinderPattern(FinderPattern.java:49)
at jp.sourceforge.qrcode.reader.QRCodeImageReader.getQRCodeSymbol(QRCodeImageReader.java:172)
at jp.sourceforge.qrcode.QRCodeDecoder.decode(QRCodeDecoder.java:141)
at jp.sourceforge.qrcode.QRCodeDecoder.decode(QRCodeDecoder.java:70)
at com.c82.qrcode.qrcode.ReadQRCode.main(ReadQRCode.java:33)