Bigkoo / Bigkoo/Android-PickerView
联动下标越界
- Dominant language
- Java
- Stars
- 13.4k
- Forks
- 3.4k
- PR merge metrics
- No merged PRs in 30d
Description
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at com.bigkoo.pickerview.view.WheelOptions$2.onItemSelected(WheelOptions.java:136)
at com.contrarywind.view.WheelView$1.run(WheelView.java:349)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:811)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:627)
at dalvik.system.NativeStart.main(Native Method)
version:com.contrarywind:Android-PickerView:4.1.8
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the linked-selection callback at WheelOptions.java:136 and the dispatch path through WheelView.java:349, using the ArrayList stack trace and version 4.1.8 as context. Reproduce the linked picker selection that triggers the exception and verify that the same interaction completes without an index-out-of-bounds crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100