Replies: 3 comments 5 replies
-
Hello @ninecatsj ! First off, glad to hear that you enjoy using this library. And also thanks for bringing this issue up. I'll have a look and get back to you as soon as I have some more info available. I need to check a few things here and there. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello @ninecatsj I think I have a fix for this, but I would like to make sure it really works. Could you eventually provide me a small snipped of your code that shows the problematic area in your code where the exception is thrown? Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
Hello @ninecatsj, I have pushed a new commit which fixed the issue for my reproducer project. 7cd449f The problem was, that a wrong version for kotlin-stdlib and kotlin-stdlib-common was pulled in as a dependency (I think it was 1.6.20). EnumEntries.kt is a file which was newly introduced in stdlib version 1.8 and I think this is where the trouble started. So I had to make sure, that I use the same version >=1.8 for all the stdlib dependencies which are used by BigBone. I was able to achieve this by specifying the version explicitly in the build.gradle files. You can see this in the commit above. I will soon publish a new snapshot. Once this is out, I'd be happy to get some feedback from you. Best regards, |
Beta Was this translation helpful? Give feedback.
-
First - thank you for picking up this project, I have a small personal project that was based on mastodon4j, so it's really great to find a successor to it that's being actively developed and maintained.
I migrated that personal project (a simple mastodon bot, written in java, built using maven) from mastodon4j to the latest snapshot of BigBone this weekend, and it's all working well except for one build issue I found. It compiles without problems, but fails with a runtime exception because it can't find the kotlin.enums.EnumEntriesKt class:
After a little investigation, I noticed that the build was pulling in an older version of kotlin-stdlib - 1.6.20. If I add the following to my maven pom.xml, it avoids the runtime error:
I didn't see anything like that mentioned in the readme / sample code, so I wondered if you had any advice - did I miss something in my project, and is this the right way to fix it? Or is it something that should be addressed somehow in BigBone?
Beta Was this translation helpful? Give feedback.
All reactions