Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

SecurePreferences.getString() throws java.lang.IllegalStateException #87

Open
jmcarcedo opened this issue Nov 9, 2018 · 1 comment
Open

Comments

@jmcarcedo
Copy link

I'm currentlly working in a proyect that uses a library to wrap secure-preferences. Google Play is recently reporting crashes in production with android 8.0 and 8.1 devices (mostly Galaxys S7, S9, A7 and A8) when trying to get a values from secure preferences.

When doing a SecurePreferences.getString() we recieve a java.lang.IllegalStateException and we can`t figure out where is the actual problem.

We tried to replicate the error with multiple devices but we didn`t encounter any problem and we run out of ideas.

I tried reading the code and even read tozny/java-aes-crypto looking for any clue but still can`t figure out what's happening.

Thank you in advance for any information anyone could provide me.

@bitwalrus0
Copy link

Same. Can't figure out what it is, and now getInt is crashing in prod and my users are having to re-install the entire app. Unbelievable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants