Crazy-Crew / CrazyAuctions

A simple auctions plugin where you can sell your items and bid on other items!
https://modrinth.com/plugin/crazyauctions
MIT License
106 stars 65 forks source link

[Bug Report]: #166

Closed Garick01 closed 11 months ago

Garick01 commented 11 months ago

Spark link

No response

Server Version

1.20.1

Server Platform

Paper

Describe the bug

[17:00:17 WARN]: Exception in thread "Timer-1" java.lang.IllegalStateException: AuctionExpireEvent may only be triggered synchronously. [17:00:17 WARN]: at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:42) [17:00:17 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) [17:00:17 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) [17:00:17 WARN]: at CrazyAuctions-1.3.1.jar//com.badbones69.crazyauctions.paper.Methods.updateAuction(Methods.java:426) [17:00:17 WARN]: at CrazyAuctions-1.3.1.jar//com.badbones69.crazyauctions.paper.CrazyAuctions$1.run(CrazyAuctions.java:54) [17:00:17 WARN]: at java.base/java.util.TimerThread.mainLoop(Timer.java:566) [17:00:17 WARN]: at java.base/java.util.TimerThread.run(Timer.java:516)

Steps to reproduce

[17:12:37 ERROR]: Could not pass event InventoryClickEvent to CrazyAuctions v1.3.1 java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null at java.util.regex.Matcher.getTextLength(Matcher.java:1808) ~[?:?] at java.util.regex.Matcher.reset(Matcher.java:461) ~[?:?] at java.util.regex.Matcher.(Matcher.java:256) ~[?:?] at java.util.regex.Pattern.matcher(Pattern.java:1180) ~[?:?] at com.badbones69.crazyauctions.paper.Methods.color(Methods.java:25) ~[CrazyAuctions-1.3.1.jar:?] at com.badbones69.crazyauctions.paper.controllers.GuiListener.onInvClick(GuiListener.java:711) ~[CrazyAuctions-1.3.1.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor305.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[pufferfish-api-1.20.1-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[pufferfish-api-1.20.1-R0.1-SNAPSHOT.jar:git-Pufferfish-17] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[pufferfish-api-1.20.1-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[pufferfish-api-1.20.1-R0.1-SNAPSHOT.jar:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3200) ~[?:?] 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:51) ~[?:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] 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:1341) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1318) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1311) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1289) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[pufferfish-1.20.1.jar:git-Pufferfish-17] at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Additional context

No response

Agreements