Pixelmon Sidemods - Bug tracker

Tournament Error /Tournament Join - Use Elo new

Ticket description:
When Elo is used as a rule (MinElo or MaxElo) and you start a tournament it will not be possible to log in and generate an error log in the console:

Code: Select all[16:02:11] [Server thread/INFO] [nucleus]: Levy26 ran the command: /tournament  join
[16:02:11] [Server thread/ERROR] [Sponge]: Error occurred while executing command 'tournament  join' for source EntityPlayerMP['Levy26'/235890, l='Warps', x=-824,31, y=107,17, z=1335,61]: null
java.lang.NullPointerException: null
   at com.hiroku.tournaments.rules.player.MinElo.canTeamJoin(MinElo.java:64) ~[MinElo.class:?]
   at com.hiroku.tournaments.api.Tournament.addTeams(Tournament.java:181) ~[Tournament.class:?]
   at com.hiroku.tournaments.commands.JoinCommand.execute(JoinCommand.java:146) ~[JoinCommand.class:?]
   at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:255) ~[ChildCommandElementExecutor.class:1.12.2-2825-7.1.6]
   at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2825-7.1.6]
   at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:340) ~[SimpleDispatcher.class:1.12.2-2825-7.1.6]
   at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:337) [SpongeCommandManager.class:1.12.2-2825-7.1.6]
   at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1156) [dh.class:?]
   at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962) [pa.class:?]
   at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941) [pa.class:?]
   at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
   at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
   at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:193) [PacketPhaseUtil.class:1.12.2-2825-7.1.6]
   at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zlk000(SourceFile:539) [hv$1.class:?]
   at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
   at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]
   at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
   at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:307) [SpongeImplHooks.class:1.12.2-2825-7.1.6]
   at net.minecraft.server.MinecraftServer.redirect$onRun$zjo000(MinecraftServer.java:3970) [MinecraftServer.class:?]
   at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
   at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
   at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
   at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

Comments

No comments have been made

Ticket details

  • Ticket ID: 14086
  • Project: Pixelmon Sidemods
  • Status: New
  • Component: Tournaments
  • Project version: 5.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: (unknown)
  • What else would be useful to know?: (unknown)
  • Assigned to: (unassigned)
  • Reported by: Levy
  • Reporter's tickets: (List all tickets)
  • Reported on: 15 Sep 2019 14:04