broakenmedia / MultiContactPicker

Launch a multi-select contact picker activity, useful for importing and inviting contacts to apps.
Apache License 2.0
143 stars 58 forks source link

Caused by java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1 #44

Open cico1980 opened 5 years ago

cico1980 commented 5 years ago

Brand: samsung Model: Galaxy S6 Orientation: Vertical Available RAM: 759.2 MB Free disk space: 1.48 GB Operating system Version: 7.0 Orientation: Vertical With administrator access: No Abnormal shutdown Date: April 17, 2019, 8:28 pm

Caused by java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1 at java.util.ArrayList.get(ArrayList.java:413) at com.wafflecopter.multicontactpicker.MultiContactPickerAdapter.setContactSelected(MultiContactPickerAdapter.java:135) at com.wafflecopter.multicontactpicker.MultiContactPickerActivity$4.onNext(MultiContactPickerActivity.java:220) at com.wafflecopter.multicontactpicker.MultiContactPickerActivity$4.onNext(MultiContactPickerActivity.java:211) at io.reactivex.internal.operators.observable.ObservableFilter$FilterObserver.onNext(ObservableFilter.java:52) at io.reactivex.internal.observers.DisposableLambdaObserver.onNext(DisposableLambdaObserver.java:58) at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:200) at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:252) at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:109) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6682) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)