Since I updated to Pixelmon 8.2, the game crashes every time I catch a Pokémon.
It happens whatever the Pokémon or Pokeball.
Apparently it is a "ticking entity" problem.
---- Minecraft Crash Report ----
WARNING: coremods are present:
Contact their authors BEFORE contacting forge
// Shall we play a game?
Time: 5/16/21 11:16 AM
Description: Ticking entity
java.lang.NullPointerException: Ticking entity
at com.pixelmonmod.pixelmon.entities.pixelmon.stats.EVStore.setStat(EVStore.java:120)
at com.pixelmonmod.pixelmon.entities.pixelmon.stats.IStatStore.addStat(IStatStore.java:13)
at com.pixelmonmod.pixelmon.battles.controller.Experience.calcExp(Experience.java:114)
at com.pixelmonmod.pixelmon.battles.controller.Experience.awardExp(Experience.java:55)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityEmptyPokeball.catchPokemon(EntityEmptyPokeball.java:463)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityEmptyPokeball.func_70106_y(EntityEmptyPokeball.java:584)
at net.minecraft.entity.Entity.func_174812_G(Entity.java:263)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityPokeBall.func_70030_z(EntityPokeBall.java:334)
at net.minecraft.entity.Entity.func_70071_h_(Entity.java:389)
at net.minecraft.entity.projectile.EntityThrowable.func_70071_h_(EntityThrowable.java:140)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityPokeBall.func_70071_h_(EntityPokeBall.java:191)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityEmptyPokeball.func_70071_h_(EntityEmptyPokeball.java:339)
at net.minecraft.world.World.func_72866_a(World.java:1996)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1958)
at net.minecraft.world.World.func_72939_s(World.java:1762)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
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.entities.pixelmon.stats.EVStore.setStat(EVStore.java:120)
at com.pixelmonmod.pixelmon.entities.pixelmon.stats.IStatStore.addStat(IStatStore.java:13)
at com.pixelmonmod.pixelmon.battles.controller.Experience.calcExp(Experience.java:114)
at com.pixelmonmod.pixelmon.battles.controller.Experience.awardExp(Experience.java:55)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityEmptyPokeball.catchPokemon(EntityEmptyPokeball.java:463)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityEmptyPokeball.func_70106_y(EntityEmptyPokeball.java:584)
at net.minecraft.entity.Entity.func_174812_G(Entity.java:263)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityPokeBall.func_70030_z(EntityPokeBall.java:334)
at net.minecraft.entity.Entity.func_70071_h_(Entity.java:389)
at net.minecraft.entity.projectile.EntityThrowable.func_70071_h_(EntityThrowable.java:140)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityPokeBall.func_70071_h_(EntityPokeBall.java:191)
at com.pixelmonmod.pixelmon.entities.pokeballs.EntityEmptyPokeball.func_70071_h_(EntityEmptyPokeball.java:339)
at net.minecraft.world.World.func_72866_a(World.java:1996)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1958)
-- Entity being ticked --
Details:
Entity Type: pixelmon:empty_pokeball (com.pixelmonmod.pixelmon.entities.pokeballs.EntityEmptyPokeball)
Entity ID: 610
Entity Name: Timer Ball
Entity's Exact location: 916.00, -1.90, -1144.00
Entity's Block location: World: (916,-2,-1144), Chunk: (at 4,-1,8 in 57,-72; contains blocks 912,0,-1152 to 927,255,-1137), Region: (1,-3; contains chunks 32,-96 to 63,-65, blocks 512,0,-1536 to 1023,255,-1025)
Entity's Momentum: 0.00, 0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1762)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
-- Affected level --
Details:
Level name: Pixelmon
All players: 1 total; [EntityPlayerMP['Agebete'/2, l='Pixelmon', x=895.08, y=89.61, z=-1181.48]]
Chunk stats: ServerChunkCache: 361 Drop: 0
Level seed: -5474286138953517179
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 0 game time, 0 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 612392480 bytes (584 MB) / 2013265920 bytes (1920 MB) up to 2147483648 bytes (2048 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 86
FML: MCP 9.42 Powered by Forge 14.23.5.2855 Optifine OptiFine_1.12.2_HD_U_G5 9 mods loaded, 9 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:------ |:-------------- |:------------ |:--------------------------------------------- |:---------------------------------------- |
| LCHIJA | minecraft | 1.12.2 | minecraft.jar | None |
| LCHIJA | mcp | 9.42 | minecraft.jar | None |
| LCHIJA | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2855.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | forge | 14.23.5.2855 | forge-1.12.2-14.23.5.2855.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | codechickenlib | 3.2.3.358 | CodeChickenLib-1.12.2-3.2.3.358-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| LCHIJA | jei | 4.16.1.301 | jei_1.12.2-4.16.1.301.jar | None |
| LCHIJA | nei | 2.4.3 | NotEnoughItems-1.12.2-2.4.3.245-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| LCHIJA | pixelmon | 8.2.0 | Pixelmon-1.12.2-8.2.0-universal.jar | None |
| LCHIJA | treechopper | 1.2.4 | TreeChopper-1.12.2-1.2.4.jar | None |
Loaded coremods (and transformers):
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [EntityPlayerMP['Agebete'/2, l='Pixelmon', x=895.08, y=89.61, z=-1181.48]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
OptiFine Version: OptiFine_1.12.2_HD_U_G5
OptiFine Build: 20210124-142939
Render Distance Chunks: 9
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 4.6.13587 Compatibility Profile Context 19.40.46 26.20.14046.3
OpenGlRenderer: AMD Radeon(TM) Vega 3 Graphics
OpenGlVendor: ATI Technologies Inc.
CpuCount: 4