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

java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Unknown Source)
at net.minecraft.world.storage.loot.LootPool.func_186452_a(LootPool.java:60)
at net.minecraft.world.storage.loot.LootPool.func_186449_b(LootPool.java:83)
at net.minecraft.world.storage.loot.LootTable.func_186462_a(LootTable.java:42)
at net.minecraft.world.storage.loot.LootTable.func_186460_a(LootTable.java:57)
at net.minecraft.tileentity.TileEntityLockableLoot.func_184281_d(SourceFile:55)
at net.minecraft.tileentity.TileEntityChest.func_70301_a(TileEntityChest.java:58)
at net.minecraft.inventory.InventoryHelper.func_180174_a(InventoryHelper.java:28)
at net.minecraft.inventory.InventoryHelper.func_180175_a(InventoryHelper.java:16)
at net.minecraft.block.BlockChest.func_180663_b(BlockChest.java:382)
at net.minecraft.world.chunk.Chunk.func_177436_a(Chunk.java:565)
at net.minecraft.world.gen.structure.StructureComponent.func_175811_a(StructureComponent.java:240)
at net.minecraft.world.gen.structure.StructureComponent.func_175804_a(StructureComponent.java:292)
at net.minecraft.world.gen.structure.StructureMineshaftPieces$Corridor.func_74875_a(SourceFile:449)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
60 times, 1 month ago
12 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 more bugmates

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