ArrayIndexOutOfBoundsException: columnIndex > available columns
Crash unexplained, there was no schema change, no migration. Crash report say
java.lang.ArrayIndexOutOfBoundsException: columnIndex > available columns.
at io.realm.internal.Row.nativeGetLong(Native Method)
at io.realm.internal.Row.getLong(Row.java:95)
at io.realm.AppInstalledRealmProxy.getVersionCode(AppInstalledRealmProxy.java:94)
Where versionCode is an int. I cannot reproduce it, it has been reported by an user.
Using Realm Android 0.78.0
Hi @eboudrant Without anything more I am afraid there is very little for us to go after.
- Have you seen the error multiple times?
- What devices / android version?
- Where in the app lifecycle does it happen? Startup? During something?
@cmelchior it happened in 2 scenarios :
- during a delete in a broadcast receiver
- during a click in the activity
Hi @zsavely Thanks, but your issue is not the same. I think we already have a open bug report on it, but I will split it into another issue just to double check.
https://github.com/realm/realm-java/issues/875
Hi @eboudrant We fixed some issues in 0.79 and 0.80 that could be connected to this. Are you still seeing this issue?
That's good news. I will try this new version but I won't be able to release it because of #982 Thanks
On Wed, Apr 1, 2015 at 4:18 AM, Christian Melchior <[email protected]
wrote:
Hi @eboudrant https://github.com/eboudrant We fixed some issues in 0.79 and 0.80 that could be connected to this. Are you still seeing this issue?
— Reply to this email directly or view it on GitHub https://github.com/realm/realm-java/issues/852#issuecomment-88444539.
@eboudrant Did updating Realm help?
@kneth until #982 is fixed I cannot update the realm and publish the app. I never had the issue since, I will re-open if I still have see it using 0.80.x. Thanks
Hi Realm team. I'm using Realm v0.87.4 and having this exception.
Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: columnIndex > available columns.
at io.realm.internal.Table.nativeGetLong(Table.java)
at io.realm.internal.Table.getLong(Table.java:645)
at io.realm.BaseRealm.getVersion(BaseRealm.java:382)
at io.realm.Realm.getVersion(Realm.java:108)
at io.realm.Realm.createAndValidate(Realm.java:247)
at io.realm.Realm.createInstance(Realm.java:231)
at io.realm.RealmCache.createRealmOrGetFromCache(RealmCache.java:114)
at io.realm.Realm.getInstance(Realm.java:197)
at kr.co.vcnc.android.couple.feature.home.HomeFragment.onLazyLoadTab(HomeFragment.java:143)
This exception is happening only in Android 4.4 like issues #1795 After we start to use independent Realm configuration to specific table(Same table in #1795), this crash is occurring.
