"linked-players.db" never seems to get created.
See original GitHub issueUsing latest build of: floodgate-bungee running on waterfall (a bungee fork)
I have enabled account linking and restarted server, however I get a nullpointerexception thrown by org.geysermc.floodgate.link.SQLitePlayerLink.lambda$isLinkedPlayer$1(SQLitePlayerLink.java:60)
anytime I try to run linkaccount
from within java edition, which makes sense since there isn’t a sqlite db in the plugin folder.
Looking at the code, I don’t seem to see any mention of creating the linked-players.db
sqlite database, only connections and queries against it.
Full stack trace:
waterfall_1 | [12:57:45 ERROR] [floodgate-bungee]: Error while checking if player is a LinkedPlayer
waterfall_1 | java.lang.NullPointerException: null
waterfall_1 | at org.geysermc.floodgate.link.SQLitePlayerLink.lambda$isLinkedPlayer$1(SQLitePlayerLink.java:60) ~[?:?]
waterfall_1 | at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:1.8.0_212]
waterfall_1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_212]
waterfall_1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_212]
waterfall_1 | at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Update: found the root cause of the problem:
[13:33:30 ERROR] [floodgate-bungee]: The required class to load the SQLite database wasn't found
I have tried compiling from scratch and get the same error
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:24 (11 by maintainers)
Top GitHub Comments
after talking with @circuit10 on discord, he mentionned he ran in the same issue because the jar files were getting minimized. Looks like the pom.xml for all the floodgate variants reverted back the having minimizeJar set to true. Setting it to false in floodgate-bungee for example makes account linking work.
Fresh install does the same for me, the 2 OS’s that I have tested are Windows 10 and Raspbian (Debian)