Open xakuvo opened 2 years ago
What is the bug? Unable to battle alpha pokemon. Battle attempt results in server errors (players experience halt).
What are the steps to reproduce the bug? Occasionally happens when attempting to battle (apparently) random alpha pokemon
What version of Pixelmon and Forge are you on? forge-1.12.2-14.23.5.2860 PixelmonGenerations-1.12.2-8.7.1 spongeforge-1.12.2-2838-7.4.7
Please provide any screenshots or crash reports if needed.
// / Exception occurred during a PhaseState / // / Sponge's tracking system makes a best / / effort to not throw exceptions randomly / / but sometimes it is inevitable. In most / / cases, something else triggered this / / exception and Sponge prevented a crash / / by catching it. The following stacktrace / / can be used to help pinpoint the cause. / // / The PhaseState having an exception: Tick{Entity} / / The PhaseContext: / / org.spongepowered.asm.util.PrettyPrinter@3537f2b2 / / / / StackTrace : / / java.lang.IllegalArgumentException: / / bound must be positive / / java.util.Random.nextInt(Unknown Source) / / com.pixelmongenerations.core.util.helper.RandomHelper.useRandomForNumberBetween(RandomHelper.java:48) / / com.pixelmongenerations.core.util.helper.RandomHelper.getRandomNumberBetween(RandomHelper.java:17) / / com.pixelmongenerations.core.database.DatabaseMoves.getInitialMoves(DatabaseMoves.java:65) / / com.pixelmongenerations.common.entity.pixelmon.stats.Moveset.loadMoveset(Moveset.java:299) / / com.pixelmongenerations.common.entity.pixelmon.Entity6CanBattle.loadMoveset(Entity6CanBattle.java:58) / / com.pixelmongenerations.common.entity.pixelmon.stats.links.EntityLink.getMoveset(EntityLink.java:147) / / com.pixelmongenerations.common.battle.controller.participants.PixelmonWrapper.loadLink(PixelmonWrapper.java:223) / / com.pixelmongenerations.common.battle.controller.participants.PixelmonWrapper.(PixelmonWrapper.java:200) / / com.pixelmongenerations.common.battle.controller.participants.WildPixelmonParticipant.init(WildPixelmonParticipant.java:37) / / com.pixelmongenerations.common.battle.controller.participants.WildPixelmonParticipant.(WildPixelmonParticipant.java:30) / / com.pixelmongenerations.common.entity.pokeballs.EntityOccupiedPokeball.func_70184_a(EntityOccupiedPokeball.java:158) / / net.minecraft.entity.projectile.EntityThrowable.redirect$zhk000$onProjectileImpact(EntityThrowable.java:1072) / / net.minecraft.entity.projectile.EntityThrowable.func_70071h(EntityThrowable.java:249) / / com.pixelmongenerations.common.entity.pokeballs.EntityPokeBall.func_70071h(EntityPokeBall.java:137) / / com.pixelmongenerations.common.entity.pokeballs.EntityOccupiedPokeball.func_70071h(EntityOccupiedPokeball.java:70) / / org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:167) / / net.minecraft.world.WorldServer.redirect$zlm000$onCallEntityUpdate(WorldServer.java:4761) / / net.minecraft.world.World.func_72866_a(World.java:1996) / / net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) / / net.minecraft.world.World.func_72870_g(World.java:1958) / / net.minecraft.world.World.func_72939_s(World.java:1762) / / net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:3931) / / net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) / / net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) / / net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) / / net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) / / java.lang.Thread.run(Unknown Source) / / / / Minecraft : 1.12.2 / / SpongeAPI : 7.4.0-5ea6215 / / Sponge : 1.12.2-7.4.7 / / SpongeForge : 1.12.2-2838-7.4.7 / / Minecraft Forge : 14.23.5.2860 / //
Do you know which Alpha Pokemon it was when you received this error?
What is the bug? Unable to battle alpha pokemon. Battle attempt results in server errors (players experience halt).
What are the steps to reproduce the bug? Occasionally happens when attempting to battle (apparently) random alpha pokemon
What version of Pixelmon and Forge are you on? forge-1.12.2-14.23.5.2860 PixelmonGenerations-1.12.2-8.7.1 spongeforge-1.12.2-2838-7.4.7
Please provide any screenshots or crash reports if needed.
// / Exception occurred during a PhaseState / // / Sponge's tracking system makes a best / / effort to not throw exceptions randomly / / but sometimes it is inevitable. In most / / cases, something else triggered this / / exception and Sponge prevented a crash / / by catching it. The following stacktrace / / can be used to help pinpoint the cause. / // / The PhaseState having an exception: Tick{Entity} / / The PhaseContext: / / org.spongepowered.asm.util.PrettyPrinter@3537f2b2 / / / / StackTrace : / / java.lang.IllegalArgumentException: / / bound must be positive / / java.util.Random.nextInt(Unknown Source) / / com.pixelmongenerations.core.util.helper.RandomHelper.useRandomForNumberBetween(RandomHelper.java:48) / / com.pixelmongenerations.core.util.helper.RandomHelper.getRandomNumberBetween(RandomHelper.java:17) / / com.pixelmongenerations.core.database.DatabaseMoves.getInitialMoves(DatabaseMoves.java:65) / / com.pixelmongenerations.common.entity.pixelmon.stats.Moveset.loadMoveset(Moveset.java:299) / / com.pixelmongenerations.common.entity.pixelmon.Entity6CanBattle.loadMoveset(Entity6CanBattle.java:58) / / com.pixelmongenerations.common.entity.pixelmon.stats.links.EntityLink.getMoveset(EntityLink.java:147) / / com.pixelmongenerations.common.battle.controller.participants.PixelmonWrapper.loadLink(PixelmonWrapper.java:223) / / com.pixelmongenerations.common.battle.controller.participants.PixelmonWrapper.(PixelmonWrapper.java:200) /
/ com.pixelmongenerations.common.battle.controller.participants.WildPixelmonParticipant.init(WildPixelmonParticipant.java:37) /
/ com.pixelmongenerations.common.battle.controller.participants.WildPixelmonParticipant.(WildPixelmonParticipant.java:30) /
/ com.pixelmongenerations.common.entity.pokeballs.EntityOccupiedPokeball.func_70184_a(EntityOccupiedPokeball.java:158) /
/ net.minecraft.entity.projectile.EntityThrowable.redirect$zhk000$onProjectileImpact(EntityThrowable.java:1072) /
/ net.minecraft.entity.projectile.EntityThrowable.func_70071h(EntityThrowable.java:249) /
/ com.pixelmongenerations.common.entity.pokeballs.EntityPokeBall.func_70071h(EntityPokeBall.java:137) /
/ com.pixelmongenerations.common.entity.pokeballs.EntityOccupiedPokeball.func_70071h(EntityOccupiedPokeball.java:70) /
/ org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:167) /
/ net.minecraft.world.WorldServer.redirect$zlm000$onCallEntityUpdate(WorldServer.java:4761) /
/ net.minecraft.world.World.func_72866_a(World.java:1996) /
/ net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) /
/ net.minecraft.world.World.func_72870_g(World.java:1958) /
/ net.minecraft.world.World.func_72939_s(World.java:1762) /
/ net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:3931) /
/ net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) /
/ net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) /
/ net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) /
/ net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) /
/ java.lang.Thread.run(Unknown Source) /
/ /
/ Minecraft : 1.12.2 /
/ SpongeAPI : 7.4.0-5ea6215 /
/ Sponge : 1.12.2-7.4.7 /
/ SpongeForge : 1.12.2-2838-7.4.7 /
/ Minecraft Forge : 14.23.5.2860 /
/ /