-
Notifications
You must be signed in to change notification settings - Fork 1.1k
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACRA init crash using configuration with keystore factory #431
Comments
I'm not seeing any immediate problem in the code you have posted. |
Your |
:-) well spotted @F43nd1r |
Thanks for your reply. It's working now. Have a nice day. |
@vdavy It can be an inner class, it just needs to be static. The interface extends Serializable, your implementation should to. Extending Serializable is a big clue that the factory class needs to be static and contain no state. Very common in a factory pattern. |
Intro
I got a crash when initializing ACRA with a
ACRAConfiguration
when I call thesetKeyStoreFactory
method before.Code causing crash
Here is the init code :
More info
The crashing line is
ACRA.init(this, acraConfiguration);
.I'm using the version 4.8.5.
Code is available on github at this address : https://github.com/vdavy/android and speicifically this class https://github.com/vdavy/android/blob/master/station-millenium/src/main/java/com/stationmillenium/android/app/StationMilleniumApp.java
Stack trace
I am something wrong or it is really a bug ?
The text was updated successfully, but these errors were encountered: