launchdarkly / android-client-sdk

LaunchDarkly Client-side SDK for Android
Other
45 stars 23 forks source link

Crash with launchDarkly 2.7.0 #80

Closed mbernier85 closed 5 years ago

mbernier85 commented 5 years ago

Describe the bug App is crashing on launch

To reproduce This happens in production only for now

Expected behavior Not crash ...

Logs

Caused by java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.String
       at com.launchdarkly.android.Migration.migrate_2_7_fresh + 78(Migration.java:78)
       at com.launchdarkly.android.Migration.migrateWhenNeeded + 32(Migration.java:32)
       at com.launchdarkly.android.LDClient.init + 129(LDClient.java:129)

SDK version 2.5.4 to 2.7.0

Language version, developer tools Java/kotlin

OS/platform Android 9

bwoskow-ld commented 5 years ago

Hi mbernier85,

Thanks for reporting this. This is a known issue with your version of the SDK. Version 2.8.3 contains a fix for the issue. Please note that the published artifact id changed in Release 2.8.1 -- follow the link for more info.

Cheers, Ben