Pixelmon Mod - Bug tracker

[1.20.1/9.2.2] Raid den bug, cant catch, result screen weird fix completed

Ticket description:
No other mods, only pixelmon 9.2.2 for 1.20.1,
Did the raid den, at result screen, huge cropped image of one of items it drops, and catch button does not work at all,
Ball icon doesnt even show, still gets item though.
Image

Comments

#30636 Posted by Klon » 11 Sep 2023 13:20

[img]<a%20href="https://ibb.co/s631gmL"><img%20src="https://i.ibb.co/KLys50C/image-2023-09-12-032327888.png"%20alt="image-2023-09-12-032327888"%20border="0"></a>[/img]

#30639 Posted by LordSamosa » 11 Sep 2023 15:09

Thanks for the report I was able to reproduce this issue. Forwarding

#30649 Posted by Klon » 11 Sep 2023 23:07

[04:01:01] [Server thread/ERROR]: Exception caught during firing event: Cannot invoke "com.pixelmonmod.pixelmon.entities.pixelmon.PixelmonEntity.isUncatachable()" because the return value of "com.pixelmonmod.pixelmon.api.events.CaptureEvent$StartRaidCapture.getPokemon()" is null
Index: 1
Listeners:
0: NORMAL
1: ASM: com.pixelmonmod.pixelmon.listener.UncatchableListener@740136ab onBattleStart(Lcom/pixelmonmod/pixelmon/api/events/CaptureEvent$StartRaidCapture;)V
2: net.minecraftforge.eventbus.EventBus$$Lambda$4662/0x0000000800caf578@6230a5d1
java.lang.NullPointerException: Cannot invoke "com.pixelmonmod.pixelmon.entities.pixelmon.PixelmonEntity.isUncatachable()" because the return value of "com.pixelmonmod.pixelmon.api.events.CaptureEvent$StartRaidCapture.getPokemon()" is null
at TRANSFORMER/[email protected]/com.pixelmonmod.pixelmon.listener.UncatchableListener.onBattleStart(UncatchableListener.java:23)
at com.pixelmonmod.pixelmon.listener.__UncatchableListener_onBattleStart_StartRaidCapture.invoke(.dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/[email protected]/com.pixelmonmod.pixelmon.api.pokemon.catching.CaptureMethod.preRaidCaptureChecks(CaptureMethod.java:161)
at TRANSFORMER/[email protected]/com.pixelmonmod.pixelmon.api.pokemon.catching.CaptureMethod.calculateCapture(CaptureMethod.java:61)
at TRANSFORMER/[email protected]/com.pixelmonmod.pixelmon.battles.raids.RaidData$RaidPlayer.tryCatch(RaidData.java:753)
at TRANSFORMER/[email protected]/com.pixelmonmod.pixelmon.battles.raids.RaidData.processAction(RaidData.java:273)
at TRANSFORMER/[email protected]/com.pixelmonmod.pixelmon.comm.packetHandlers.raids.RaidActionPacket.lambda$handlePacket$0(RaidActionPacket.java:100)
at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:770)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:161)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:753)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:747)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:139)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:733)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:665)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251)
at java.base/java.lang.Thread.run(Thread.java:833)

[04:01:01] [Server thread/ERROR]: Error executing task on Server
java.lang.NullPointerException: Cannot invoke "com.pixelmonmod.pixelmon.entities.pixelmon.PixelmonEntity.isUncatachable()" because the return value of "com.pixelmonmod.pixelmon.api.events.CaptureEvent$StartRaidCapture.getPokemon()" is null
at com.pixelmonmod.pixelmon.listener.UncatchableListener.onBattleStart(UncatchableListener.java:23) ~[Pixelmon-1.20.1-9.2.2-universal.jar%23186!/:9.2.2-pipe21178]
at com.pixelmonmod.pixelmon.listener.__UncatchableListener_onBattleStart_StartRaidCapture.invoke(.dynamic) ~[?:?]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2387!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2387!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2387!/:?]
at com.pixelmonmod.pixelmon.api.pokemon.catching.CaptureMethod.preRaidCaptureChecks(CaptureMethod.java:161) ~[Pixelmon-1.20.1-9.2.2-universal.jar%23186!/:9.2.2-pipe21178]
at com.pixelmonmod.pixelmon.api.pokemon.catching.CaptureMethod.calculateCapture(CaptureMethod.java:61) ~[Pixelmon-1.20.1-9.2.2-universal.jar%23186!/:9.2.2-pipe21178]
at com.pixelmonmod.pixelmon.battles.raids.RaidData$RaidPlayer.tryCatch(RaidData.java:753) ~[Pixelmon-1.20.1-9.2.2-universal.jar%23186!/:9.2.2-pipe21178]
at com.pixelmonmod.pixelmon.battles.raids.RaidData.processAction(RaidData.java:273) ~[Pixelmon-1.20.1-9.2.2-universal.jar%23186!/:9.2.2-pipe21178]
at com.pixelmonmod.pixelmon.comm.packetHandlers.raids.RaidActionPacket.lambda$handlePacket$0(RaidActionPacket.java:100) ~[Pixelmon-1.20.1-9.2.2-universal.jar%23186!/:9.2.2-pipe21178]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:770) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:161) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:753) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:747) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:139) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:733) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:665) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23190!/:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]


--------------------------------------------------------------------------------------------
Im guessing this is the error log in the game

#30654 Posted by LordSamosa » 12 Sep 2023 16:02

Yep it is, forwarded

#30752 Posted by LordSamosa » 04 Oct 2023 17:41

This should be fixed in 9.2.3
Please report any further issues in a new ticket. Closing

Ticket details

  • Ticket ID: 20976
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Error
  • Project version: 1.20.1-9.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: Forge 47.1.46
  • What else would be useful to know?: Pixelmon 9.2.2
  • Assigned to: LordSamosa
  • Reported by: Klon (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 11 Sep 2023 13:19
  • Ticket last visited by: PowiTF on 08 Oct 2023 09:37
JOIN THE TEAM