Pixelmon Mod - Bug tracker

[8.3.1] Searching PC for customtexture spec results in client crash fix completed

Ticket description:
When searching in the PC, normally specs work fine, however when typing in "customtexture" the client will instantly crash as the spec is finished, before a parameter can be supplied.

A workaround is adding the parameter first, then completing the spec.

Crash Log: https://pastebin.com/r6C4BM90
Error from latest.log:
Code: Select all[07:19:02] [Client thread/FATAL]: Reported exception thrown!
net.minecraft.util.ReportedException: Updating screen events
   at net.minecraft.client.Minecraft.runTick(Minecraft.java:1772) ~[bib.class:?]
   at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1098) ~[bib.class:?]
   at net.minecraft.client.Minecraft.run(Minecraft.java:3942) [bib.class:?]
   at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
   at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.NullPointerException
   at com.pixelmonmod.pixelmon.entities.pixelmon.specs.CustomTextureSpec.matches(CustomTextureSpec.java:73) ~[CustomTextureSpec.class:8.3.1]
   at com.pixelmonmod.pixelmon.api.pokemon.PokemonSpec.matches(PokemonSpec.java:571) ~[PokemonSpec.class:8.3.1]
   at com.pixelmonmod.pixelmon.api.storage.PokemonStorage$$Lambda$1172/1210161579.test(Unknown Source) ~[?:?]
   at com.pixelmonmod.pixelmon.api.storage.PokemonStorage.findAll(PokemonStorage.java:158) ~[PokemonStorage.class:8.3.1]
   at com.pixelmonmod.pixelmon.api.storage.PokemonStorage.findAll(PokemonStorage.java:164) ~[PokemonStorage.class:8.3.1]
   at com.pixelmonmod.pixelmon.comm.packetHandlers.clientStorage.newStorage.pc.ServerQueryPC.search(ServerQueryPC.java:84) ~[ServerQueryPC.class:8.3.1]
   at com.pixelmonmod.pixelmon.api.storage.PCStorageSearch.query(PCStorageSearch.java:42) ~[PCStorageSearch.class:8.3.1]
   at com.pixelmonmod.pixelmon.client.gui.pc.GuiPC.keyTyped(GuiPC.java:239) ~[GuiPC.class:8.3.1]
   at net.minecraft.client.gui.GuiScreen.handleKeyboardInput(GuiScreen.java:558) ~[blk.class:?]
   at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:512) ~[blk.class:?]
   at net.minecraft.client.Minecraft.runTick(Minecraft.java:1759) ~[bib.class:?]
   ... 9 more

Comments

#23665 Posted by Flashback083 » 08 Nov 2021 14:30

Can reproduce, also happen with type spec

#24084 Posted by Flashback083 » 22 Dec 2021 09:49

Fixed in 8.3.6

Ticket details

  • Ticket ID: 16731
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Crash
  • Project version: 1.12.2-8.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: (unknown)
  • What else would be useful to know?: (unknown)
  • Assigned to: Flashback083
  • Reported by: reiyooki (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 08 Nov 2021 10:35
  • Ticket last visited by: Sophie847 on 15 Jul 2022 00:28
JOIN THE TEAM