Local SQLite Linking Error
See original GitHub issueI’m attempting to enable local SQLite linking in addition to global linking, and have followed these steps on your wiki to accomplish this, but keep getting the following error on startup:
[04:27:57] [Server thread/ERROR]: [floodgate] Error while loading database jar
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.resolve(String)" because "this.dataDirectory" is null
at org.geysermc.floodgate.database.SqliteDatabase.load(SqliteDatabase.java:59) ~[?:?]
at org.geysermc.floodgate.link.GlobalPlayerLinking.load(GlobalPlayerLinking.java:56) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.link.PlayerLinkLoader.load(PlayerLinkLoader.java:182) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.FloodgatePlatform.init(FloodgatePlatform.java:105) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$6054089.GUICE$TRAMPOLINE(<generated>) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$6054089.apply(<generated>) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.shaded.com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:50) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.shaded.com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:87) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.shaded.com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:146) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.shaded.com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:124) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.shaded.com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.shaded.com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.shaded.com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.shaded.com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[floodgate-spigot.jar:?]
at org.geysermc.floodgate.SpigotPlugin.onLoad(SpigotPlugin.java:53) ~[floodgate-spigot.jar:?]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.loadPlugins(CraftServer.java:425) ~[patched_1.17.1.jar:git-Purpur-1427]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:322) ~[patched_1.17.1.jar:git-Purpur-1427]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1231) ~[patched_1.17.1.jar:git-Purpur-1427]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[patched_1.17.1.jar:git-Purpur-1427]
at java.lang.Thread.run(Thread.java:831) ~[?:?]
Floodgate version: 2.0 Build 47
Geyser version: 1.4.3 Build 931
Sorry in advance if I’ve overlooked something obvious.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:14 (4 by maintainers)
Top Results From Across the Web
ld - sqlite linking error
sqlite linking error ... I can compile and link and everything is fine: perdue@minervatest04> ldd bin/tests libCAENVME.so => /usr/lib/libCAENVME.
Read more >[Fixed]-sqlite linking error - appsloveworld.com
I have a strange link error with SQLite. I have the following code: void TestSQLiteTemp() { /* sqlite3_initialize(); */ sqlite3_close( db ); }....
Read more >Error: stepping, unable to open database file (14)
I'm getting this error when doing SELECT on some views of a database that was working for years until a little after the...
Read more >How To Use an SQLite Database in a Flask Application
SQLite is a simple and fast open source SQL engine that can be us… ... A local Python 3 programming environment, follow the...
Read more >Connecting To SQLite Database Using Node.js
In this tutorial, you will learn how to connect to an SQLite database from ... If an error occurred, the error object is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you all for your patience!
Turns out I forgot to enable the config option to enable own linking. I’ve uncommented that out and set it to false as default so future people do not have the same issue. Could you try the latest database jar (build 53) and see if the issue is resolved? The Floodgate plugin should not need an update.