-
Notifications
You must be signed in to change notification settings - Fork 65
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
Runtime errors caused by kotlinx-serialization dependency #88
Comments
Hello @isakatirci. I cannot help you without more context. How do you try to use Lingua? Which JVM language do you use and which runtime environment? Please show me some code and the complete stacktrace of the error you got. Thanks. |
openjdk13:x86_64-debian-jre-13.0.2_8 same issue. Could fix it by manually adding the This is a workaround that does not work on all machines though. This is not a machine or environment dependent problem, it's an issue in the Lingua dependencies and it has been in there for quite a while. It also can cause other related errors, depending on what kotlin dependencies you add. |
@pixartist It seems that adding the kotlinx-serialization library to Lingua was not such a good idea. 259 open issues, 66 open bugs. Oh dear! I think I will switch to a more reliable Java json serialization library in the next major release. Then those problems should be gone hopefully. Thanks for letting me know. |
I hope that I've fixed this now. |
Could not initialize class com.github.pemistahl.lingua.internal.FractionSerializer
I got this error. please give a reason why I get this error.
The text was updated successfully, but these errors were encountered: