java.lang.IndexOutOfBoundsException: Invalid index 9, size is 9
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at de.mbdevelopment.android.rbtvsendeplan.OneDayScheduleRemoteViewsFactory.getViewAt(OneDayScheduleWidgetService.java:66)
at android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.getViewAt(RemoteViewsService.java:164)
at com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact(IRemoteViewsFactory.java:85)
at android.os.Binder.execTransact(Binder.java:404)
at dalvik.system.NativeStart.run(Native Method)
Information gathered through a quick search: In some cases the Android framework seems to call getViewAt() for an index higher than it should be based on what getCount() returns. The reasons are unknown. A manual check for index bounds seem to be neccessary.
Stack trace from Play Store crash report:
Information gathered through a quick search: In some cases the Android framework seems to call
getViewAt()
for an index higher than it should be based on whatgetCount()
returns. The reasons are unknown. A manual check for index bounds seem to be neccessary.