Pixelmon Mod - Bug tracker

[9.2.3] (Beta) Crashes everytime I catch Pokemon. fix completed

Ticket description:
So everytime I catch a Pokemon my game freezes and then it crashes,this also happens when I use a Pokeball in a battle and this happens in creative and survival.I've tried updating my graphics card thinking that would work,after I updated it I restarted my computer and caught another Pokemon and it crashed again.

Comments

#30762 Posted by LordSamosa » 05 Oct 2023 16:08

Hi there. Can you please attach your crash log file via Pastebin?

#30774 Posted by Lacovipo » 06 Oct 2023 17:32

Same problem here. I don't know what is pastebin, but this is the error that I see:

The game crashed whilst ticking entity
Error: java.lang.ClassCastException: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module [email protected] of loader 'TRANSFORMER' @70d77826)

And if I click error report, I get this:

---- Minecraft Crash Report ----
// Don't do that.

Time: 2023-10-07 00:36:23
Description: Ticking entity

java.lang.ClassCastException: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module [email protected] of loader 'TRANSFORMER' @70d77826)
at com.pixelmonmod.pixelmon.quests.objectives.objectives.entity.PokemonObjective.test(PokemonObjective.java:65) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.test(Objective.java:43) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.receive(Objective.java:61) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receiveInternal(QuestData.java:94) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receive(QuestData.java:110) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.EntityListeners.onWildCapture(EntityListeners.java:89) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.__EntityListeners_onWildCapture_SuccessfulCapture.invoke(.dynamic) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading,pl:eventbus:B}
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.entities.pokeballs.EmptyPokeBallEntity.catchPokemon(EmptyPokeBallEntity.java:479) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.entities.pokeballs.EmptyPokeBallEntity.m_8119_(EmptyPokeBallEntity.java:404) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:693) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.Level.m_46653_(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
at com.pixelmonmod.pixelmon.quests.objectives.objectives.entity.PokemonObjective.test(PokemonObjective.java:65) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.test(Objective.java:43) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.receive(Objective.java:61) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receiveInternal(QuestData.java:94) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receive(QuestData.java:110) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.EntityListeners.onWildCapture(EntityListeners.java:89) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.__EntityListeners_onWildCapture_SuccessfulCapture.invoke(.dynamic) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading,pl:eventbus:B}
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.entities.pokeballs.EmptyPokeBallEntity.catchPokemon(EmptyPokeBallEntity.java:479) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.entities.pokeballs.EmptyPokeBallEntity.m_8119_(EmptyPokeBallEntity.java:404) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23159!/:9.2.3-pipe21439] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:693) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.Level.m_46653_(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
-- Entity being ticked --
Details:
Entity Type: pixelmon:empty_pokeball (com.pixelmonmod.pixelmon.entities.pokeballs.EmptyPokeBallEntity)
Entity ID: 1123
Entity Name: Master Ball
Entity's Exact location: -4422.01, 8.24, 615.56
Entity's Block location: World: (-4423,8,615), Section: (at 9,8,7 in -277,0,38; chunk contains blocks -4432,-64,608 to -4417,319,623), Region: (-9,1; contains chunks -288,32 to -257,63, blocks -4608,-64,512 to -4097,319,1023)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at net.minecraft.world.level.Level.m_46653_(Level.java:479) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:343) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {}


-- Affected level --
Details:
All players: 1 total; [ServerPlayer['Lacovipo'/112, l='ServerLevel[Alfalfa]', x=-4426.04, y=10.00, z=614.97]]
Chunk stats: 8770
Level dimension: minecraft:overworld
Level spawn location: World: (-496,75,336), Section: (at 0,11,0 in -31,4,21; chunk contains blocks -496,-64,336 to -481,319,351), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
Level time: 6081725 game time, 982937 day time
Level name: Alfalfa
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Level weather: Rain time: 1684 (now: false), thunder time: 1643 (now: false)
Known server brands: forge
Removed feature flags:
Level was modded: true
Level storage version: 0x04ABD - Anvil
Stacktrace:
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:893) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23160!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {}


-- System Details --
Details:
Minecraft Version: 1.20.1
Minecraft Version ID: 1.20.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.8, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 2169573784 bytes (2069 MiB) / 5167382528 bytes (4928 MiB) up to 8589934592 bytes (8192 MiB)
CPUs: 6
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
Identifier: Intel64 Family 6 Model 158 Stepping 10
Microarchitecture: Coffee Lake
Frequency (GHz): 2.90
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 6
Graphics card #0 name: NVIDIA GeForce GTX 1660
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x2184
Graphics card #0 versionInfo: DriverVersion=31.0.15.3623
Memory slot #0 capacity (MB): 16384.00
Memory slot #0 clockSpeed (GHz): 2.40
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 16384.00
Memory slot #1 clockSpeed (GHz): 2.40
Memory slot #1 type: DDR4
Memory slot #2 capacity (MB): 16384.00
Memory slot #2 clockSpeed (GHz): 2.40
Memory slot #2 type: DDR4
Memory slot #3 capacity (MB): 16384.00
Memory slot #3 clockSpeed (GHz): 2.40
Memory slot #3 type: DDR4
Virtual memory max (MB): 69563.75
Virtual memory used (MB): 17468.83
Swap memory total (MB): 4096.00
Swap memory used (MB): 5.07
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Server Running: true
Player Count: 1 / 8; [ServerPlayer['Lacovipo'/112, l='ServerLevel[Alfalfa]', x=-4426.04, y=10.00, z=614.97]]
Data Packs: vanilla, mod:forge, mod:journeymap (incompatible), mod:clientresetpacket (incompatible), mod:pixelmon
Enabled Feature Flags: minecraft:vanilla
World Generation: Experimental
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'
Launched Version: 1.20.1-forge-47.2.0
ModLauncher: 10.0.9+10.0.9+main.dcd20f30
ModLauncher launch target: forgeclient
ModLauncher naming: srg
ModLauncher services:
mixin-0.8.5.jar mixin PLUGINSERVICE
eventbus-6.0.5.jar eventbus PLUGINSERVICE
fmlloader-1.20.1-47.2.0.jar slf4jfixer PLUGINSERVICE
fmlloader-1.20.1-47.2.0.jar object_holder_definalize PLUGINSERVICE
fmlloader-1.20.1-47.2.0.jar runtime_enum_extender PLUGINSERVICE
fmlloader-1.20.1-47.2.0.jar capability_token_subclass PLUGINSERVICE
accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE
fmlloader-1.20.1-47.2.0.jar runtimedistcleaner PLUGINSERVICE
modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE
modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE
FML Language Providers:
[email protected]
lowcodefml@null
javafml@null
Mod List:
client-1.20.1-20230612.114412-srg.jar |Minecraft |minecraft |1.20.1 |DONE |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
forge-1.20.1-47.2.0-universal.jar |Forge |forge |47.2.0 |DONE |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90
journeymap-1.20.1-5.9.15-forge.jar |Journeymap |journeymap |5.9.15 |DONE |Manifest: NOSIGNATURE
Client Reset Packet-0.0.6.jar |Client Reset Packet |clientresetpacket |0.0.6 |DONE |Manifest: NOSIGNATURE
Pixelmon-1.20.1-9.2.3-universal.jar |Pixelmon |pixelmon |9.2.3 |DONE |Manifest: NOSIGNATURE
Crash Report UUID: 6963d228-7117-41ca-abe4-0f957d124806
FML: 47.2
Forge: net.minecraftforge:47.2.0

#30776 Posted by LordSamosa » 07 Oct 2023 12:10

May I ask what quests you currently have active? If you press N you can see them all

#30778 Posted by Lacovipo » 07 Oct 2023 14:27

Sure. I have the game in spanish and the quests are:

¿The End?
Las raíces del mundo
Todo lo que reluce

I posted them in spanish in case there's some effect from the languaje, but I can load minecrat in english and post here the names in english if you need.

#30779 Posted by Lacovipo » 07 Oct 2023 14:32

Sorry for the double post.
I removed the two first quests and catched a pokemon. The game didn't crash.
So you were right. It has todo with the quests.
Thanks you!

#30781 Posted by LordSamosa » 07 Oct 2023 23:15

Hi there. What quests are these?

#30782 Posted by LordSamosa » 07 Oct 2023 23:22

Never mind, think I figured it out. It's the catching a shiny quest causing this issue. Huzzah! Thank you for the report, moving this to internal

ETA: ANY CATCH QUEST ACTIVE WILL CAUSE THIS, NOT JUST SHINY

#30788 Posted by Lacovipo » 08 Oct 2023 03:14

Sorry for the use of the spanish languaje. I wasn't sure about the name of the quests in english.
I confirm it's the shiny quest that causes the problem.
Thanks for all the efforts. Pixelmon is such a great game. Thank you so much.

#30826 Posted by LordSamosa » 15 Oct 2023 00:36

This has been fixed in 9.2.4
Closing

Ticket details

  • Ticket ID: 21119
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Crash
  • Project version: 1.20.1-9.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: (unknown)
  • What else would be useful to know?: (unknown)
  • Assigned to: LordSamosa
  • Reported by: ShibaMoonz (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 05 Oct 2023 14:44
  • Ticket last visited by: LordSamosa on 15 Oct 2023 11:25
JOIN THE TEAM