bod
02/18/2018, 12:00 PMjava.lang.VerifyError
crash when my app starts. I think it’s a Kotlin compiler bug, but not sure. I’ve singled out the exact line that makes this happen (if I comment it, it works). The exact error is:
java.lang.VerifyError: Verifier rejected class org.jraf.android.cinetoday.app.loadmovies.LoadMoviesHelper: void org.jraf.android.cinetoday.app.loadmovies.LoadMoviesHelper.loadMovies$app_debug() failed to verify: void org.jraf.android.cinetoday.app.loadmovies.LoadMoviesHelper.loadMovies$app_debug(): [0x4A] 'this' argument 'Reference: java.lang.Object' not instance of 'Precise Reference: org.jraf.android.cinetoday.model.movie.Movie' (declaration of 'org.jraf.android.cinetoday.app.loadmovies.LoadMoviesHelper' appears in /data/app/org.jraf.android.cinetoday-1/base.apk)
And the line causing it is this: val allMoviewFromDbById = allMoviesFromDb.associateBy { it.id }
I know it’s a long shot but… any idea? 😛pankajrai
02/19/2018, 12:32 PMbod
02/19/2018, 2:55 PMbod
02/20/2018, 11:00 AM