java.lang.IllegalArgumentException: bound must be positive


Solutions on the web253

Solution icon of github
via GitHub by meza
, 9 months ago
bound must be positive

Solution icon of github
via GitHub by iranmdl
, 3 months ago
bound must be positive

Solution icon of github
bound must be positive

Solution icon of github
bound must be positive

Solution icon of github
via GitHub by SpiderC06
, 9 months ago
bound must be positive

Solution icon of github
via GitHub by MattiGB
, 1 year ago
bound must be positive

Solution icon of github
via GitHub by Sikatsu
, 11 months ago
bound must be positive

Solution icon of github
bound must be positive

Solution icon of github
bound must be positive

Stack trace

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 cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:112)
	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.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101)
	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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

60 times, 3 weeks ago
12 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 more bugmates