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

[bug][folia]java.lang.NullPointerException World must not be null. #301

Open
cgw2023 opened this issue Jun 17, 2023 · 0 comments
Open

[bug][folia]java.lang.NullPointerException World must not be null. #301

cgw2023 opened this issue Jun 17, 2023 · 0 comments
Labels
(compat) Folia Specifically tied to Paper's fork Folia. (type) error

Comments

@cgw2023
Copy link

cgw2023 commented Jun 17, 2023

Complete output of the ncp version command (please prefer text here)

[21:26:14 INFO]: »Version information«
[21:26:14 INFO]: Server:
[21:26:14 INFO]: git-Folia-"fa018cc" MC: 1.20.1
[21:26:14 INFO]: Detected: 1.20.1
[21:26:14 INFO]: NoCheatPlus:
[21:26:14 INFO]: Plugin: 3.17.1-SNAPSHOT-Updated-b164
[21:26:14 INFO]: MCAccess: 1.13-1.19|? / Bukkit-API
[21:26:14 INFO]: Features:
[21:26:14 INFO]: blocks: BlocksMC1_4, BlocksMC1_5, BlocksMC1_6_1, BlocksMC1_7_2, BlocksMC1_8, BlocksMC1_9, BlocksMC1_10, BlocksMC1_11, BlocksMC1_12, BlocksMC1_13, BlocksMC1_14, BlocksMC1_15, BlocksMC1_16, BlocksMC1_17, BlocksMC1_19, BlocksMC1_20, MCAccessBukkitModern
[21:26:14 INFO]: checks: FastConsume, Gutenberg, HotFixFallingBlockPortalEnter
[21:26:14 INFO]: defaults: pvpKnockBackVelocity
[21:26:14 INFO]: Hooks:
AllViolationsNCP 1.0, ViolationFrequencyNCP 1.0
[21:26:14 INFO]: »Related Plugins«
[21:26:14 INFO]: ViaVersion v4.7.0

Short description of the issue and how to reproduce (is it random / always happens / side conditions ?)

error occur when server join

[21:23:52 ERROR]: [NoCheatPlus] JoinLeaveListener(fr.neatmonster.nocheatplus.checks.moving.MovingListener) generated an exception (join): NullPointerException
[21:23:52 ERROR]: [NoCheatPlus] java.lang.NullPointerException: World must not be null.
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.utilities.location.LocUtil.testWorld(LocUtil.java:241)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.utilities.location.LocUtil.clone(LocUtil.java:143)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.checks.moving.MovingData.setSetBack(MovingData.java:713)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.checks.moving.MovingListener.dataOnJoin(MovingListener.java:2465)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.checks.moving.MovingListener.playerJoins(MovingListener.java:2429)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.NoCheatPlus.onJoinLow(NoCheatPlus.java:1352)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.NoCheatPlus.access$700(NoCheatPlus.java:153)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.NoCheatPlus$3.onPlayerJoinLow(NoCheatPlus.java:1298)
        java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.base/java.lang.reflect.Method.invoke(Method.java:568)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.event.mini.MultiListenerRegistry$AutoListener.onEvent(MultiListenerRegistry.java:82)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.event.mini.MiniListenerNode.onEvent(MiniListenerNode.java:157)
        NoCheatPlus.jar//fr.neatmonster.nocheatplus.event.mini.EventRegistryBukkit$4.execute(EventRegistryBukkit.java:124)
        co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77)
        org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
        io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
        io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126)
        org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615)
        net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:419)
        net.minecraft.server.network.LoginListener.lambda$handleAcceptedLogin$1(LoginListener.java:204)
        io.papermc.paper.threadedregions.RegionizedTaskQueue$PrioritisedQueue$ChunkBasedPriorityTask.executeInternal(RegionizedTaskQueue.java:504)
        io.papermc.paper.threadedregions.RegionizedTaskQueue$PrioritisedQueue.executeTask(RegionizedTaskQueue.java:434)
        io.papermc.paper.threadedregions.RegionizedTaskQueue$RegionTaskQueueData.drainTasks(RegionizedTaskQueue.java:263)
        net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1514)
        io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:360)
        io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:385)
        ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525)
        java.base/java.lang.Thread.run(Thread.java:833)

Have you made any (noteworthy) changes to the default configuration of NCP?

no change, default NCP config

Do you run any other special plugins that affect game mechanics next to NC+ (skills, machines, adding/changing blocks, other anti-cheating)?

no change

Provide additional information: for bypasses, vulnerabilities and reproducible issues, we request a debug log. Use GitHub gists or PasteBin or similar for errors and huge logs, or attach a (zip-) file here.

log
https://mclo.gs/rZlxXqP

@cgw2023 cgw2023 changed the title [bug] [bug][folia]java.lang.NullPointerException World must not be null. Jun 19, 2023
@Lysandr0 Lysandr0 added (type) error (compat) Folia Specifically tied to Paper's fork Folia. labels Jun 20, 2023
xaw3ep added a commit that referenced this issue Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(compat) Folia Specifically tied to Paper's fork Folia. (type) error
Projects
None yet
Development

No branches or pull requests

2 participants