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 meza
, 11 months ago
bound must be positive
via GitHub by Noxilie
, 2 years ago
via GitHub by niedakh
, 8 months ago
via GitHub by TheMattVid
, 1 year ago
bound must be positive
via JIRA by Nidhi Mehta, 1 year ago
n must be positive
java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388)
at greymerk.roguelike.treasure.TreasureManager.addItem(TreasureManager.java:70)
at greymerk.roguelike.treasure.loot.LootRule.process(LootRule.java:31)
at greymerk.roguelike.treasure.loot.LootRuleManager.process(LootRuleManager.java:73)
at greymerk.roguelike.dungeon.Dungeon.generate(Dungeon.java:77)
at greymerk.roguelike.dungeon.Dungeon.generateNear(Dungeon.java:65)
at greymerk.roguelike.dungeon.Dungeon.spawnInChunk(Dungeon.java:138)
at greymerk.roguelike.DungeonGenerator.generate(DungeonGenerator.java:16)
at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:280)
at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1045)
at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131)
at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:265)
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:78)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:92)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Users with the same issue

60 times, 2 months ago
3 times, 6 months ago
31 times, 11 months 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.