I believe the bug is on this line. You've already consumed the parameter at index 0 up on line 70, but then you do list.get(index++). I believe this ought to be list ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する