facebook-android-sdk icon indicating copy to clipboard operation
facebook-android-sdk copied to clipboard

ClassCastException when opening Session

Open robbypond opened this issue 12 years ago • 2 comments

Just received this crash report. I have a lot of users and this is the first time I've seen this and I'm on the latest version of the SDK.

java.lang.ClassCastException: java.util.HashSet cannot be cast to java.lang.String
       at android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:224)
       at com.facebook.SharedPreferencesTokenCachingStrategy.deserializeKey()
       at com.facebook.SharedPreferencesTokenCachingStrategy.load()
       at com.facebook.Session.()
       at com.facebook.Session.()
       at com.facebook.Session$Builder.build()
       at com.facebook.Session.openActiveSession()
       at com.facebook.Session.openActiveSessionFromCache()

robbypond avatar Apr 29 '14 20:04 robbypond

robbypond, 8 days ago is just before we released the latest update. Can you try on 3.14 and verify you are still seeing it?

dmmiller avatar May 08 '14 04:05 dmmiller

Closing due to inactivity, please create a new issue if you're still getting reports.

gcaglar avatar Oct 18 '14 21:10 gcaglar