String result=new String(qrCodeDecoder.decode(new MYQRCodeImage(bufferedImage)),"GB2312"); 執(zhí)行這句話的時候報Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1; 請問是啥情況呀
String result=new String(qrCodeDecoder.decode(new MYQRCodeImage(bufferedImage)),"GB2312");???
執(zhí)行這句話的時候報Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1;
請問是啥情況呀
2017-12-15
應(yīng)該是二維碼生成時的循環(huán),沒有加偏移量(視頻中老師沒有操作),導(dǎo)致解析時數(shù)組下標越界,圖片中紅線處,復(fù)制過來的源碼是沒有加的
2017-03-21
生成的二維碼有問題
2016-10-10
怎么解決求指點
Exception in thread "main" java.lang.NullPointerException
?? ?at com.imooc.qrcode.qecode.main(qecode.java:29)
2016-09-04
如何解決的,同樣的問題。
2016-08-27
這是數(shù)組下標越界了