-
Notifications
You must be signed in to change notification settings - Fork 233
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
Issue with Kryo serialisation #84
Comments
You can use |
@pilgr thanks for this, however, my issue is that Android does not hold such classes, and the serializer are added by default. So it triggers error. It seems to be more or less mapped to this Kryo issue EsotericSoftware/kryo#410 |
@pilgr any comment or advice on this point ? |
Do you include Time class with third-party dependency? |
@pilgr as far as I know the answer is no. I use JodaTime but that's different class as well as Date and Time classes from Android SDK I overide the kryo version to 4.0.1 to get that commit Does I am the only one to get that bunch of exception ? |
@pilgr Please reopen the issue that I get visibiliy from community. thanks |
@afaucogney you're right, the fix should be to update Kryo dependency to version 4.0.1 |
@pilgr fact is that I forced the kryo dependency to be at 4.0.1 level, and nothing changed... |
@afaucogney could you write a test case or class or small project so I could reproduce the issue? |
@afaucogney could you check out with latest paper 2.5? Forcing kryo dependency might not work for your experiment because of transitive dependency caused by "de.javakaffee:kryo-serializers" lib. |
Previously I also force the kryo-serializers. |
Could you setup a basic project over Github to reproduce the issue?
If it could be just a unit test for Paper - would be even coolleerr! :)
…On Wednesday, September 27, 2017 at 16:16, Faucogney Anthony wrote:
Previously I also force the kryo-serializers.
@pilgr (https://github.com/pilgr) I just updated paper to 2.5, from Android studio I have
kryo 4.0.1
serializer 0.42
paper 2.5
But I still get exceptions in the trace. Nothing really changed up to now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (#84 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAaNIZpmGQjM92G9-TyrB9zYi4MiKwF1ks5smkqbgaJpZM4PJ9Pk).
|
I'm working on android project, with paper (with the rxpaper2 wrapper). I have some object data with Time members.
I saw in the Kryo code, that such serializer shoud be added by default if Java8 is enable. This is my case
Here is the log :
How to solve this ?
How define a specific serializer as we do not get acces to kryo from paper (as far I read the doc)
The text was updated successfully, but these errors were encountered: