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

Folia issues: Cannot read field "captureTreeGeneration" #191

Closed
RitaSister opened this issue Dec 21, 2024 · 2 comments
Closed

Folia issues: Cannot read field "captureTreeGeneration" #191

RitaSister opened this issue Dec 21, 2024 · 2 comments

Comments

@RitaSister
Copy link

[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]

@gecolay
Copy link
Owner

gecolay commented Dec 23, 2024

Looks like a internal server error. GSit just uses "Block.getType()" which is a default method of Spigot/Paper.

@gecolay gecolay closed this as completed Dec 23, 2024
@RitaSister
Copy link
Author

RitaSister commented Dec 23, 2024

Looks like a internal server error. GSit just uses "Block.getType()" which is a default method of Spigot/Paper.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants