Pixelmon Mod - Bug tracker

(8.3.3) Searching PC by second type crashes client duplicate

Ticket description:
Whenever I try to search my pc with the query "all type2:water" (or any type), the moment I press the 2 key, if I have a single-type pokemon in my PC, my client crashes. This is due to a NullPointerException in com.pixelmonmod.pixelmon.entities.pixelmon.specs.Type2Spec as seen in my logs
"Caused by: java.lang.NullPointerException
at com.pixelmonmod.pixelmon.entities.pixelmon.specs.Type2Spec.matches(Type2Spec.java:89) ~[Type2Spec.class:8.3.3]
at com.pixelmonmod.pixelmon.api.pokemon.PokemonSpec.matches(PokemonSpec.java:583) ~[PokemonSpec.class:8.3.3]
at com.pixelmonmod.pixelmon.api.storage.PokemonStorage$$Lambda$785/436527636.test(Unknown Source) ~[?:?]
at com.pixelmonmod.pixelmon.api.storage.PokemonStorage.findAll(PokemonStorage.java:158) ~[PokemonStorage.class:8.3.3]
at com.pixelmonmod.pixelmon.api.storage.PokemonStorage.findAll(PokemonStorage.java:164) ~[PokemonStorage.class:8.3.3]
at com.pixelmonmod.pixelmon.comm.packetHandlers.clientStorage.newStorage.pc.ServerQueryPC.search(ServerQueryPC.java:85) ~[ServerQueryPC.class:8.3.3]
at com.pixelmonmod.pixelmon.api.storage.PCStorageSearch.query(PCStorageSearch.java:42) ~[PCStorageSearch.class:8.3.3]
at com.pixelmonmod.pixelmon.client.gui.pc.GuiPC.func_73869_a(GuiPC.java:239) ~[GuiPC.class:8.3.3]
at net.minecraft.client.gui.GuiScreen.func_146282_l(GuiScreen.java:558) ~[blk.class:?]
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:512) ~[blk.class:?]
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1759) ~[bib.class:?]
... 9 more"

Comments

#23731 Posted by Flashback083 » 16 Nov 2021 12:35

Thanks of report, same issue that this one :
tracker.php?p=2&t=16731

Ticket details

  • Ticket ID: 16767
  • Project: Pixelmon Mod
  • Status: Duplicate
  • Component: Crash
  • Project version: 8.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: Forge 8.0.99.99
  • What else would be useful to know?: I use the latest (as of 16/11/2021) Complex Pixelmon modpack on Technic
  • Assigned to: Flashback083
  • Reported by: Valerie42 (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 16 Nov 2021 11:51
  • Ticket last visited by: Flashback083 on 22 Dec 2021 09:39
JOIN THE TEAM