-
Notifications
You must be signed in to change notification settings - Fork 52
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
Folia issues: Cannot read field "captureTreeGeneration" #192
Comments
another bug [20:51:26 ERROR]: Could not pass event PlayerToggleSneakEvent to GSit v1.12.1 |
The first error is Folia internal and should be fixed by Folia. The second bug can be fixed by GSit and will be fixed with the next update. |
omg, you don't understand me, so I should need fork your project and made full support for Folia. |
so you should skip support for folia, because you don't fully understand how folia is work. Thanks for fix) |
I know how Folia works and that certain things need to be accessed through a special context, such as an entity, async or global context, but the first error message doesn't provide any information about why it fails (other than the fact that a server-internal field is null). |
No, you don't know if you can't fix it because you don't how fix it. Okey. |
@RitaSister If you know everything about Folia, go ahead and open a PR instead of an issue to fix the problem. |
[15:38:20] [Region shutdown thread/INFO]: [GSit] Disabling GSit v1.12.1
[15:38:20] [Region shutdown thread/ERROR]: Error occurred while disabling GSit v1.12.1
java.lang.NullPointerException: Cannot read field "captureTreeGeneration" because the return value of "net.minecraft.world.level.Level.getCurrentWorldData()" is null
at net.minecraft.world.level.Level.getBlockState(Level.java:1311) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
at org.bukkit.craftbukkit.block.CraftBlock.getType(CraftBlock.java:244) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
at GSit-1.12.1.jar/dev.geco.gsit.manager.SitManager.removeSeat(SitManager.java:132) ~[GSit-1.12.1.jar:?]
at GSit-1.12.1.jar/dev.geco.gsit.manager.SitManager.removeSeat(SitManager.java:119) ~[GSit-1.12.1.jar:?]
at GSit-1.12.1.jar/dev.geco.gsit.manager.SitManager.clearSeats(SitManager.java:44) ~[GSit-1.12.1.jar:?]
at GSit-1.12.1.jar/dev.geco.gsit.GSitMain.unload(GSitMain.java:178) ~[GSit-1.12.1.jar:?]
at GSit-1.12.1.jar/dev.geco.gsit.GSitMain.onDisable(GSitMain.java:171) ~[GSit-1.12.1.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugins(PaperPluginInstanceManager.java:161) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugins(PaperPluginManagerImpl.java:97) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:541) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:616) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:1098) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:856) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
at io.papermc.paper.threadedregions.RegionShutdownThread.run(RegionShutdownThread.java:135) ~[folia-1.21.1.jar:1.21.1-DEV-2e7bc07]
I read again this like "internal server error" but you don't understand what I'm running on Folia and how Folia is worked and this not != Paper/Spigot. you can review this or this
The text was updated successfully, but these errors were encountered: