Closed SennaGehenna closed 7 years ago
seems we have same issue. i had this on some devices ava.lang.UnsupportedOperationException: ObjectStreamClass.getConstructorId(Class<?>) is not supported on SDK 25
@dmedov It's probably best to switch soon, seeing how the issue was first opened in October 2016 :/
For sure! :) Sometimes it's hard to get time to work on the lib. Especially to dive again into the context after a long time. But long story short - fix is available. Use version 2.1-rc1 for now, more details in the original issue https://github.com/pilgr/Paper/issues/58
@pilgr i will try to test it! thank you very much! cool library!
I'm still getting this error after updating to 2.1-rc1
@Weava make sure you clean the project after updating dependency
@pilgr I ran ./gradlew clean ass, a clean through Android Studio UI, as well as clearing app data and uninstalling then re-installing, and I'm still getting this error.
@Weava tell me which objenesis library version is actually used in your project? run gradle dependencies
or look at dependency list in AS.
+--- io.paperdb:paperdb:2.1-rc1
| +--- com.esotericsoftware:kryo:4.0.0
| | +--- com.esotericsoftware:reflectasm:1.11.3
| | | \--- org.ow2.asm:asm:5.0.4
| | +--- com.esotericsoftware:minlog:1.3.0
| | \--- org.objenesis:objenesis:2.2 -> 2.1
| +--- de.javakaffee:kryo-serializers:0.40
| | \--- com.esotericsoftware:kryo:4.0.0 (*)
| \--- org.objenesis:objenesis:2.3 -> 2.1
Looks like kryo is maintaining both dependencies. just need to exclude the 2.2
Ahh nevermind, I had a resolution strategy forcing objenesis to an older version. Sorry for wasting your time
@Weava you owe me a ☕️ ;)
Hahahaha, sure do @pilgr
The ObjectStream-Issue has me worried, as I'm getting weird bugs that I can't reproduce, that seem to be related to Paper.
I will have to switch to a different solution, if the issue is not resolved