"NoSuchMethodError: com.google.gson.JsonObject.size()I"
emilyy-dev opened this issue ยท 3 comments
Description
Ever since commit 4d5a24f, some people have been having the issue the title suggests (as shown here, here, here, here and issue #2597) on startup when LP tries to load/parse the contexts.json
.
The common factor in here seems to be the base version of the vanilla server, apparently having a version prior 2.7 of the gson library shaded in them (which didn't even have a JsonObject#size()
). Might as well be time to consider a 4 year old version of the game to be legacy :)
Reproduction steps
- Use an old server version (between 1.8.8 and 1.11.2)
- Install LP (not legacy) for the appropriate server brand.
- Start the server.
- Restart the server.
Expected behaviour
I mean, it won't work anyway, it has an old version of the library shaded, JsonObject#size()
didn't exist back then.
Environment details
- Server type/version:
any?
running version1.8.8
up to1.11.2
buildany???
- LuckPerms version:
v5.1.95
and higher.
Any other relevant details
Nope :)
same error, plugin wont load on 1.8.8 https://pastebin.com/f6a6xGZS
You can use this build for now https://ci.lucko.me/job/LuckPerms/1152/
Seems to also affect 1.16.2? Got this today https://hastebin.com/mudunafaga.sql