New issue. Uinstalling Device Care

オープン
#143 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, java
領域
mobile-dev

調査の方向性

Start with com.smartpack.packagemanager.MainActivity and trace its onActivityResult handling, especially the AndroidX Activity Result API path shown in the stack trace. Reproduce the Device Care uninstall flow and identify where an activity result index is accessed beyond the available list. Done means the uninstall action no longer triggers the IndexOutOfBoundsException, with a regression test or repeatable reproduction covering the result callback.

索引モデルが issue の本文から書いたものです。

説明

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1003351456, result=-1, data=Intent { (has extras) }} to activity {com.smartpack.packagemanager/com.smartpack.packagemanager.MainActivity}: java.lang.IndexOutOfBoundsException: Index 373 out of bounds for length 373
at android.app.ActivityThread.deliverResults(ActivityThread.java:5994)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:6033)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:67)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8757)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: java.lang.IndexOutOfBoundsException: Index 373 out of bounds for length 373
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.util.Objects.checkIndex(Objects.java:385)
at java.util.ArrayList.get(ArrayList.java:434)
at P.d.a(r8-map-id-e83a726ffe884b5793b44b6eb92947bce030baf19de49f1f2475a128a0ded042:27)
at androidx.activity.result.g.a(r8-map-id-e83a726ffe884b5793b44b6eb92947bce030baf19de49f1f2475a128a0ded042:43)
at androidx.activity.l.onActivityResult(r8-map-id-e83a726ffe884b5793b44b6eb92947bce030baf19de49f1f2475a128a0ded042:3)
at e.g.onActivityResult(r8-map-id-e83a726ffe884b5793b44b6eb92947bce030baf19de49f1f2475a128a0ded042:6)
at android.app.Activity.dispatchActivityResult(Activity.java:8951)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5987)
... 13 more

主要言語
Java
スター
877
フォーク
121
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SmartPack/PackageManager のほかの issue

SmartPack/PackageManager の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。