java.lang.IllegalArgumentException: bound must be positive

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jwnorbury
, 1 year ago
via GitHub by jochuan
, 2 years ago
bound must be positive
via GitHub by janab
, 2 years ago
via Stack Overflow by user3540384
, 2 years ago
via GitHub by ForNeVeR
, 2 years ago
n must be positive
java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388)
at thaumic.tinkerer.common.core.helper.AspectCropLootManager.getLootForAspect(AspectCropLootManager.java:43)
at thaumic.tinkerer.common.block.BlockInfusedGrain.func_149749_a(BlockInfusedGrain.java:134)
at net.minecraft.world.chunk.Chunk.func_150807_a(Chunk.java:600)
at net.minecraft.world.World.func_147465_d(World.java:451)
at thaumcraft.common.entities.ai.interact.AIHarvestCrops.harvest(AIHarvestCrops.java:230)
at thaumcraft.common.entities.ai.interact.AIHarvestCrops.func_75246_d(AIHarvestCrops.java:123)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:103)
at net.minecraft.entity.EntityLiving.func_70619_bc(EntityLiving.java:540)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1774)
at thaumcraft.common.entities.golems.EntityGolemBase.func_70636_d(EntityGolemBase.java:354)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:206)
at net.minecraft.world.World.func_72866_a(World.java:2070)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
at net.minecraft.world.World.func_72870_g(World.java:2034)
at net.minecraft.world.World.func_72939_s(World.java:1887)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Users with the same issue

60 times, 3 months ago
3 times, 7 months ago
31 times, 1 year ago
12 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.