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

[INDEV] InventoryCloseEvent error. #79

Closed
4 tasks done
Asleeepp opened this issue Apr 22, 2024 · 1 comment
Closed
4 tasks done

[INDEV] InventoryCloseEvent error. #79

Asleeepp opened this issue Apr 22, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@Asleeepp
Copy link

Terms

  • I'm using the very latest version of CinematicsStudio and its dependencies.
  • I already searched on this Github page to check if the same issue was already reported.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I already searched on the Discord server to know if anyone already provided a solution in the past for the issue.

Discord tag (optional)

asleepp

What happened?

When clicking on a node in the cinematic studio editor, this error appeared in chat

Steps to reproduce the issue

click on a node in the editor

Server version

Current: git-Purpur-2134 (MC: 1.20.4)*
Previous: git-Purpur-2062 (MC: 1.20.1)

CinematicsStudio Version

2.0.0-indev-7

ProtocolLib Version

5.2.0-SNAPSHOT-679

LoneLibs Version

1.0.45

FULL server log

No response

Error (optional)

01:09:24 [ERROR] Could not pass event InventoryCloseEvent to CinematicStudio v2.0.0-indev-7
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.getName()" because the return value of "java.lang.Class.getEnclosingMethod()" is null
        at CinematicStudio.m.X.b(SourceFile:53) ~[CinematicStudio_2.0.0-indev-7.jar:?]
        at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:git-Purpur-2134]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:1688) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at net.minecraft.server.level.ServerPlayer.closeContainer(ServerPlayer.java:1713) ~[?:?]
        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftHumanEntity.closeInventory(CraftHumanEntity.java:574) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at CinematicStudio.m.U.a(SourceFile:575) ~[CinematicStudio_2.0.0-indev-7.jar:?]
        at CinematicStudio.m.U.i(SourceFile:190) ~[CinematicStudio_2.0.0-indev-7.jar:?]
        at fr.mrmicky.fastinv.FastInv.lambda$handleClick$3(FastInv.java:310) ~[LoneLibs (4).jar:?]
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
        at fr.mrmicky.fastinv.FastInv.handleClick(FastInv.java:310) ~[LoneLibs (4).jar:?]
        at fr.mrmicky.fastinv.FastInvManager$1.onInventoryClick(FastInvManager.java:50) ~[LoneLibs (4).jar:?]
        at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:git-Purpur-2134]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3173) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:54) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1488) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1465) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1388) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1366) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1255) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2134]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]

CinematicsStudio config.yml

No response

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

@LoneDev6
Copy link
Contributor

Duplicate of: #81

@LoneDev6 LoneDev6 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2024
@LoneDev6 LoneDev6 added the duplicate This issue or pull request already exists label Apr 23, 2024
@PluginBugs PluginBugs locked and limited conversation to collaborators Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
Status: No status
Development

No branches or pull requests

2 participants