Skip to content

"CurrentGameMap is null" when sending server requests #6

@petdono

Description

@petdono

[19:21:31 WARN]: Plugin gptgodmc v0.1.9 generated an exception while executing task 13
java.lang.NullPointerException: Cannot invoke "net.bigyous.gptgodmc.LocalGameMap.getWorld()" because "net.bigyous.gptgodmc.WorldManager.currentGameMap" is null
at gptgodmc-0.1.9-all.jar/net.bigyous.gptgodmc.WorldManager.getCurrentWorld(WorldManager.java:109) ~[gptgodmc-0.1.9-all.jar:?]
at gptgodmc-0.1.9-all.jar/net.bigyous.gptgodmc.ServerInfoSummarizer.compileStatus(ServerInfoSummarizer.java:125) ~[gptgodmc-0.1.9-all.jar:?]
at gptgodmc-0.1.9-all.jar/net.bigyous.gptgodmc.EventLogger.getLogs(EventLogger.java:60) ~[gptgodmc-0.1.9-all.jar:?]
at gptgodmc-0.1.9-all.jar/net.bigyous.gptgodmc.EventLogger.flushLogs(EventLogger.java:74) ~[gptgodmc-0.1.9-all.jar:?]
at gptgodmc-0.1.9-all.jar/net.bigyous.gptgodmc.GameLoop$GPTTask.run(GameLoop.java:120) ~[gptgodmc-0.1.9-all.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.21.1.jar:1.21.1-132-b48403b]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.21.1.jar:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

I'm running 1.21.1 as the guide said and have everything installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions