Mcreator error

Started by Commander232452 on Sun, 06/19/2016 - 01:21

Topic category: General discussion

Last seen on 16:28, 19. Jun 2016
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Mcreator error
Sun, 06/19/2016 - 01:21

every once and in a while, when i try to open one of my worlds in the test environment, the game crashes and the console says this: 

// Sorry :(
Time: 6/18/16 7:20 PM
Description: Exception initializing level
java.lang.IllegalArgumentException: bound must be positive
 at java.util.Random.nextInt(Random.java:388)
 at mod.mcreator.mcreator_void.generateSurface(mcreator_void.java:132)
 at mod.mcreator.TestEnvironmentMod.generate(TestEnvironmentMod.java:121)
 at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:113)
 at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1067)
 at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1040)
 at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:178)
 at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:129)
 at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:99)
 at net.minecraft.world.World.getChunkFromChunkCoords(World.java:342)
 at net.minecraft.world.World.getChunkFromBlockCoords(World.java:334)
 at net.minecraft.world.World.getBlockState(World.java:905)
 at net.minecraft.world.World.isAirBlock(World.java:259)
 at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:237)
 at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:84)
 at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:1014)
 at net.minecraft.world.WorldServer.initialize(WorldServer.java:933)
 at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:87)
 at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:123)
 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:492)
 at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
 at java.util.Random.nextInt(Random.java:388)
 at mod.mcreator.mcreator_void.generateSurface(mcreator_void.java:132)
 at mod.mcreator.TestEnvironmentMod.generate(TestEnvironmentMod.java:121)
 at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:113)
 at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1067)
 at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1040)
 at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:178)
 at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:129)
 at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:99)
 at net.minecraft.world.World.getChunkFromChunkCoords(World.java:342)
 at net.minecraft.world.World.getChunkFromBlockCoords(World.java:334)
 at net.minecraft.world.World.getBlockState(World.java:905)
 at net.minecraft.world.World.isAirBlock(World.java:259)
 at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:237)
 at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:84)
 at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:1014)
-- Affected level --
Details:
 Level name: New World
 All players: 0 total; []
 Chunk stats: ServerChunkCache: 93 Drop: 0
 Level seed: 2720642752914869721
 Level generator: ID 01 - flat, ver 0. Features enabled: true
 Level generator options:
 Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
 Level time: 0 game time, 0 day time
 Level dimension: 0
 Level storage version: 0x04ABD - Anvil
 Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
 Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
 at net.minecraft.world.WorldServer.initialize(WorldServer.java:933)
 at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:87)
 at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:123)
 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:492)
 at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
 Minecraft Version: 1.9
 Operating System: Windows 10 (amd64) version 10.0
 Java Version: 1.8.0_65, Oracle Corporation
 Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
 Memory: 233862048 bytes (223 MB) / 569901056 bytes (543 MB) up to 922746880 bytes (880 MB)
 JVM Flags: 0 total;
 IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
 FML: MCP 9.23 Powered by Forge 12.16.1.1887 4 mods loaded, 4 mods active
 States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
 UCHIJAAAAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
 UCHIJAAAAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.9-12.16.1.1887.jar)
 UCHIJAAAAAAA Forge{12.16.1.1887} [Minecraft Forge] (forgeSrc-1.9-12.16.1.1887.jar)
 UCHIJAAAAAAA TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar)
 Loaded coremods (and transformers):
 GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
 Profiler Position: N/A (disabled)
 Player Count: 0 / 8; []
 Type: Integrated Server (map_client.txt)
 Is Modded: Definitely; Client brand changed to 'fml,forge'
[19:20:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:646
[19:20:15] [Client Shutdown Thread/INFO]: Stopping server
[19:20:15] [Client Shutdown Thread/INFO]: Saving players
[19:20:15] [Client Shutdown Thread/INFO]: Saving worlds
AL lib: (EE) alc_cleanup: 1 device not closed
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
BUILD FAILED
Execution failed for task '> Process 'command 'C:\Pylo\MCreator168\jdk64\bin\java.exe'' finished with non-zero exit value -1
:runClient'.
Total time: 19 mins 7.311 secs
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator168\forge>
Task completed with return code 0 in 1148745 milliseconds

Is there a fix?

Last seen on 04:31, 22. Aug 2019
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
'C:\Pylo\MCreator168\jdk64
Mon, 06/20/2016 - 08:19

'C:\Pylo\MCreator168\jdk64\bin\java.exe'' finished with non-zero exit value -1

your mod is dead, open a saved MCR file or remake the mods.

sorry for your loss.