title: ArrayIndexOutOfBoundsException - Retrofit Call
body: <p>I am trying to call a <code>PUT</code> method on my <code>Retrofit</code> instance:</p>
  
  <pre><code>Response&lt;UpdateUserProfileResponse&gt; response = App.getService().updateUserProfile(//A good 26 parameters).execute();
  </code></pre>
  
  <p>The parameters in the <code>updateUserProfile()</code> are a mixture of String, Boolean and one <code>List&lt;MyObject&gt;</code>. When I call this method, I get the following error:</p>
  
  <pre><code>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
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>I found the issue. There are two <code>RealmList&lt;BackgroundString&gt;</code> which are causing the issue. When I evaluate both RealmLists, I get:</p>
  
  <p><code>Unable to evaluate the expression method threw 'java.lang.IllegalStateException' exception.</code></p>