question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"linked-players.db" never seems to get created.

See original GitHub issue

Using 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:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:24 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
LoudSoftwarecommented, May 5, 2020

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.

0reactions
OskarZygcommented, Jun 7, 2020

Fresh install does the same for me, the 2 OS’s that I have tested are Windows 10 and Raspbian (Debian)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Games on Networks - Stanford University
We provide an overview and synthesis of the literatures analyzing games where players are connected via a network structure. We study, in particular, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found