Skip to content

[Bug]: TrMenu与一个或多个插件无法正常联动 #199

Description

@ZoruaFox

🚀 Have you tried the latest version

  • I have updated TrMenu to the latest version and the same bug is reproduced.

📚 Have you checked the Wiki

  • I have checked the Wiki's related content about the problem and determined that the problem exists.

🔗 Is there a duplicate Issue

  • I have looked through the existing issue and found no duplicate content, or a more detailed description of the existing issue.

📰 Server details

TrMenu Dump Information (Date: 2025-08-06 03:05:37)

| Server OS: Linux amd64 6.12.21-cloud-amd64
| Server software: 1.21.5-68-ceae9d1 (MC: 1.21.5) (1.21.5-R0.1-SNAPSHOT)
| Java version: 24.0.2

| TrMenu: 3.7.1
Installed Plugins: 
· AFKPlus - 3.4.9 (0 KB)
· AFKPlusPAPI - 1.0.6 (0 KB)
· AdvancedBlueMapSkins - 1.1 (0 KB)
· AllMusic3 - 3.4.5 (0 KB)
· AuraMobs - 2.1.0 (0 KB)
· AuraSkills - 2.3.5 (0 KB)
· AutoViaUpdater - 9.5.2 (0 KB)
· BetterRTP - 3.6.13 (0 KB)
· BlueMap - 5.10 (0 KB)
· BlueMapSignExtractor - 1.5 (0 KB)
· ConsoleSpamFixReborn - 1.11.6 (0 KB)
· CoreProtect - 23.2-RC5 (0 KB)
· DecentHolograms - 2.9.6 (0 KB)
· Dominion - 4.5.0-beta (0 KB)
· EntityDetection - 1.2.0 (build #23) (0 KB)
· FastAsyncWorldEdit - 2.13.2-SNAPSHOT-1149;107cd07 (0 KB)
· FlyPlus - 3.4.1 (0 KB)
· GSit - 2.4.3 (0 KB)
· GlobalMarketPlus - 1.3.3.5 (0 KB)
· HuskHomes - 4.9.9 (0 KB)
· Images - 2.5.6 (0 KB)
· InteractiveChat - 4.3.2.0 (0 KB)
· InventoryRollbackPlus - 1.7.6 (0 KB)
· JoinEventsPro - 4.4 (0 KB)
· JulySafe - 4.0.7 (0 KB)
· LiteAnnouncer - 1.3.3.1 (0 KB)
· LiteBans - 2.17.2 (0 KB)
· LiteSignIn - 1.8.7.0 (0 KB)
· LuckPerms - 5.5.10 (0 KB)
· Matrix - 7.16.0 (0 KB)
· Multiverse-Core - 5.2.0-pre.1 (0 KB)
· NBTAPI - 2.15.1 (0 KB)
· OpenInv - 0.3 (0 KB)
· PAPIProxyBridge - 1.8.4 (0 KB)
· PlaceholderAPI - 2.11.7-DEV-208 (0 KB)
· Plan - 5.6 build 3077 (0 KB)
· PlayerPoints - 3.3.0 (0 KB)
· PlayerTitle - 4.7.3-free (0 KB)
· PlugManX - 2.4.1 (0 KB)
· PremiumVerify - 1.0.8 (0 KB)
· ProtocolLib - 5.4.0-SNAPSHOT-755 (0 KB)
· PvPManager - 3.19.10 (0 KB)
· RayTraceAntiXray - 1.16.1 (0 KB)
· RealisticSeasons - 11.8.2 (0 KB)
· SayanVanish - 1.7.0-SNAPSHOT-build.286-6821ce9 (0 KB)
· SignedVelocity - 1.3.0 (0 KB)
· SkBee - 3.12.2 (0 KB)
· SkinsRestorer - 15.7.8 (0 KB)
· Skript - 2.12.1 (0 KB)
· Skulls - 3.26.0 (0 KB)
· SoulGraves - 1.4.4 (0 KB)
· TAB-Bridge - 6.1.4 (0 KB)
· TerraformGenerator - 21.0.0 (0 KB)
· TrChat - 2.3.2 (0 KB)
· TrMenu - 3.7.1 (0 KB)
· Trash - 1.3 (0 KB)
· UltimateAutoRestart - 2025.07a (0 KB)
· UltimateShop - 3.6.0 (0 KB)
· Vault - 2.4.9 (0 KB)
· VelocityReport - 3.11.7 (0 KB)
· ViaBackwards - 5.4.2 (0 KB)
· ViaVersion - 5.4.2 (0 KB)
· ViaVersionStatus - 4.00 (0 KB)
· VoidFramework-Bukkit - 2.1.3 (0 KB)
· WorldEditSelectionVisualizer - 2.1.8 (0 KB)
· WorldGuard - 7.0.14+2339-43997ec (0 KB)
· XConomy - 2.26.3 (0 KB)
· floodgate - 2.2.4-SNAPSHOT (b118-40d320a) (0 KB)
· packetevents - 2.9.4 (0 KB)

注意:出现问题的插件为CtOnlineReward与InteractionVisualizer,为防止控制台刷屏已提前卸载,日志文件节选见下

🔍 Detailed description

启动后在控制台刷屏错误消息。

🗄 Server log

[02:59:31] [Server thread/ERROR]: Could not pass event InventoryClickEvent to InteractionVisualizer v1.18.16.0
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.loohp.interactionvisualizer.utils.OpenInvUtils.getSilentContainerStatusMethod" is null
	at InteractionVisualizer-1.18.16.0.jar/com.loohp.interactionvisualizer.utils.OpenInvUtils.isSilentChest(OpenInvUtils.java:60) ~[InteractionVisualizer-1.18.16.0.jar:?]
	at InteractionVisualizer-1.18.16.0.jar/com.loohp.interactionvisualizer.blocks.HopperDisplay.onUseHopper(HopperDisplay.java:78) ~[InteractionVisualizer-1.18.16.0.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71) ~[leaf-api-1.21.5-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:71) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:629) ~[leaf-api-1.21.5-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3330) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3261) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:59) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:14) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:27) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1484) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:164) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1465) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1459) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1414) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1423) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1303) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:299) ~[leaf-1.21.5.jar:1.21.5-68-ceae9d1]
	at java.base/java.lang.Thread.run(Thread.java:1447) ~[?:?]

⚙ Configurations

无需提供

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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