1.错误描述 java.lang.ArrayIndexOutOfBoundsException: 2 at report.service.impl.ExportServiceImpl$7.setSheetValue(ExportServiceImpl.java:2649) at utils.ExcelUtil.getWorkbook(ExcelUtil.java:45) at report.service.impl.ExportServiceImpl.exportStation(ExportSe
在用SaxParser做XML解析的时候碰到如下错误信息: java.lang.ArrayIndexOutOfBoundsException: 100 at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(XMLEntityScanner.java:1145) at com.sun.org.apache.xerces.internal.impl.XMLScanner.scan
Caused by: java.lang.ArrayIndexOutOfBoundsException: 4 at com.android.tools.profiler.asm.ClassReader.a(Unknown Source) at com.android.tools.profiler.asm.ClassReader.a(Unknown Source) at com.android.tools.profiler.asm.ClassReader.a(Unknown Source) at
参考:http://blog.csdn.net/javaeeteacher/article/details/4485834 这是一个非常常见的异常,从名字上看是数组下标越界错误,解决方法就是查看为什么下标越界. 下面是一个错误示例: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 at test4.State.nextStates(State.java:93) at test4.State.m