Skip to content
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

1.17.1 Could not save LimboPlayer #2413

Closed
smario82 opened this issue Aug 30, 2021 · 7 comments
Closed

1.17.1 Could not save LimboPlayer #2413

smario82 opened this issue Aug 30, 2021 · 7 comments
Labels
Priority: critical Marks issues that should be fixed/closed as soon as possible. Status: please verify Type: bug

Comments

@smario82
Copy link

smario82 commented Aug 30, 2021

config.yml.txt

Steps/models to reproduce:

Register or login

Plugin list:

AuthMe, InvisibleItemFrames, ProtocolLib, SkinsRestorer, sleep-most

Environment description

Standalone server, SQLite
Paper version git-Paper-219 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 0a6d320)

AuthMe build number:

AuthMe v5.6.0-beta2-b2453

Error Log:

WARN]: [AuthMe] Could not save LimboPlayer for 'PlayerName' [InaccessibleObjectException]: Unable to make private java.util.Collections$EmptyList() accessible: module java.base does not "opens java.util" to unnamed module @3330b662

Configuration:

Pastebin/Hastebin/Gist link of your config.yml file (remember to delete any sensitive data)

@sgdc3 sgdc3 added the Priority: critical Marks issues that should be fixed/closed as soon as possible. label Sep 1, 2021
@WongIong
Copy link

WongIong commented Sep 9, 2021

Same

@sgdc3
Copy link
Member

sgdc3 commented Oct 7, 2021

google/gson#1875

@ljacqu
Copy link
Member

ljacqu commented Oct 8, 2021

As a temp fix I wonder if it's possible for us to make sure that we never set the limbo player's groups to Collections#emptyList. I think that would entail changing LimboServiceHelper (L46) and LimboPlayerDeserializer#getLimboGroups to use something like new ArrayList<>() instead.

Surprising that Gson needs to access internal stuff when it knows it's a structure but I don't know anything about its inner workings.

Edit: And to be on the safe side the method I mentioned in LimboPlayerDeserializer probably also shouldn't use Collections#singletonList.

@ljacqu
Copy link
Member

ljacqu commented Oct 9, 2021

Apologies for not being able to test myself at the moment but if someone of you encountering the issue want to try with build n. 2500 or above from https://ci.codemc.io/job/AuthMe/job/AuthMeReloaded/ it would be great if you could do so and report your findings. If the reason for the bug is what I believe it is, it should be fixed.

@sgdc3
Copy link
Member

sgdc3 commented Oct 10, 2021

@smario82 @WongIong please try again with the latest dev build

@smario82
Copy link
Author

smario82 commented Dec 1, 2021

On Server: Paper version git-Paper-388 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 22aaf91)
with the latest dev-build it works without errors. Thanks!

@smario82 smario82 closed this as completed Dec 1, 2021
@HEROBRINEyashar
Copy link

HEROBRINEyashar commented May 21, 2023

[WARN]: [AuthMe] Could not save LimboPlayer for 'UserName' [Ina
ccessibleObjectException]: Unable to make private java.util.Collections$EmptyLis
t() accessible: module java.base does not "opens java.util" to unnamed module @7
920ba90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: critical Marks issues that should be fixed/closed as soon as possible. Status: please verify Type: bug
Development

No branches or pull requests

5 participants