2
私は私のRetrofit
インスタンス上PUT
メソッドを呼び出ししようとしています:は、ArrayIndexOutOfBoundsException - レトロフィットコール
Response<UpdateUserProfileResponse> response = App.getService().updateUserProfile(//A good 26 parameters).execute();
updateUserProfile()
のパラメータは文字列、論理値および1 List<MyObject>
の混合物です。
Throwing new exception 'length=238; index=1366' with unexpected pending exception: java.lang.ArrayIndexOutOfBoundsException: length=238; index=1366
06-28 21:53:12.458 3928-6610/com.subby.development A/art: art/runtime/thread.cc:1329] at retrofit2.Response
更新
私は問題が見つかりました:私は、このメソッドを呼び出すと、私は次のエラーを取得します。この問題の原因となっているのはRealmList<BackgroundString>
です。私は両方のRealmListsを評価するときに、私が取得:
Unable to evaluate the expression method threw 'java.lang.IllegalStateException' exception.
を明らかにしませんでしたようにtry catchブロックにコードをラップします。あなたはこのラインのエラーが確実ですか? – Vucko
ええ、エラーの次の行はそれを指しています。変数を使って答えを更新します。 – Subby
クールなので、問題のある配列をどこかに隠しているので:) – Vucko