错误: "java.lang.ArrayIndexOutOfBoundsException: length=1; index=1"
本文地址: http://blog.csdn.net/caroline_wendy/article/details/24464947
Java中, 错误: "java.lang.ArrayIndexOutOfBoundsException: length=1; index=1" ;
意思: 数组(Array)索引(Index)越界(OutOfBounds)异常(Exception),长度(length)为1, 索引(index)为1;
由于索引值(index)要小于长度值(length), 索引是从0開始;
依据位置信息, 推断错误位置:
at mzx.spike.earthquake.app.EarthquakeListFragment.refreshEarthquakes(EarthquakeListFragment.java:118)
表明: EarthquakeListFragment.java文件的第118行, 出现这个错误.
Java - 错误: "java.lang.ArrayIndexOutOfBoundsException: length=1; index=1",布布扣,bubuko.com
Java - 错误: "java.lang.ArrayIndexOutOfBoundsException: length=1; index=1"