Posted 26 July 2013 - 08:39 PM
So i was trying to test a code in my cc emulator(wich is kinda glitchy yet) and i tryed to make a simple pull event code and it won't work…Well i supoused that the problem was in the emulator but then i got in minecraft and i typed the program and it got the same error:
slc:12: attempt to call nil
I know this error for a long time and i know how to fix it(most times) but then i copy the tutorial code form the wiki just for testing:
and i got the same error (so i supouse that is not code error)
then i tryed exit the world…i did, but when i join the world again its all laggy and minecraft crashes…
So idk whats happening..I have some pc's in the world but not to many ( 25 ) and the only mods i have beside computercraft is forge(obvious :P/>) and optifine.
I created another world and minecraft crashed again…The crash report:
// Ooh. Shiny.
Time: 27-07-2013 1:37
Description: Exception in server tick loop
java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.createEntry(Unknown Source)
at java.util.HashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at net.minecraft.nbt.NBTTagCompound.func_74768_a(SourceFile:61)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75820_a(AnvilChunkLoader.java:340)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75816_a(AnvilChunkLoader.java:127)
at net.minecraft.world.gen.ChunkProviderServer.func_73242_b(ChunkProviderServer.java:232)
at net.minecraft.world.gen.ChunkProviderServer.func_73151_a(ChunkProviderServer.java:284)
at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:906)
at net.minecraft.server.MinecraftServer.func_71267_a(MinecraftServer.java:346)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:122)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
A detailed walkthrough of the error, its code path and all known details is as follows:
—————————————————————————————
– System Details –
Details:
Minecraft Version: 1.5.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 59891712 bytes (57 MB) / 477233152 bytes (455 MB) up to 477233152 bytes (455 MB)
JVM Flags: 2 total; -Xms512m -Xmx512m
AABB Pool Size: 2291 (128296 bytes; 0 MB) allocated, 2291 (128296 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.51 FML v5.2.23.736 Minecraft Forge 7.8.0.736 5 mods loaded, 5 mods active
mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
FML{5.2.23.736} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
Forge{7.8.0.736} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
ComputerCraft{1.53} [ComputerCraft] (ComputerCraft-Mod-1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
CCTurtle{1.53} [ComputerCraft Turtles] (ComputerCraft-Mod-1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 2980 (166880 bytes; 0 MB) allocated, 2980 (166880 bytes; 0 MB) used
Player Count: 1 / 8; [EntityPlayerMP['Rodmastercraft'/54317, l='Novo Mundo', x=29,50, y=75,00, z=-138,50]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'after the crash i started minecraft again, and entered that new world(a little laggy) but the error was gone…
Sorry for my bad english XD
slc:12: attempt to call nil
I know this error for a long time and i know how to fix it(most times) but then i copy the tutorial code form the wiki just for testing:
Spoiler
function clear()
term.clear()
term.setCursorPos (1,1)
end
while true do
clear()
print ("Press E to do something.")
local event, param1 = os.pullEvent ("char") -- limit os.pullEvent to the char event
if param1 == "e" then -- if the returned value was 'e'
clear()
write ("Name: ")
local name = read()
print (name)
break
else
clear()
print ("Wrong button!")
sleep (1.5) -- I don't like a whole 2 seconds but 1 second is too short
end
end
then i tryed exit the world…i did, but when i join the world again its all laggy and minecraft crashes…
So idk whats happening..I have some pc's in the world but not to many ( 25 ) and the only mods i have beside computercraft is forge(obvious :P/>) and optifine.
I created another world and minecraft crashed again…The crash report:
Spoiler
—- Minecraft Crash Report —-// Ooh. Shiny.
Time: 27-07-2013 1:37
Description: Exception in server tick loop
java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.createEntry(Unknown Source)
at java.util.HashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at net.minecraft.nbt.NBTTagCompound.func_74768_a(SourceFile:61)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75820_a(AnvilChunkLoader.java:340)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75816_a(AnvilChunkLoader.java:127)
at net.minecraft.world.gen.ChunkProviderServer.func_73242_b(ChunkProviderServer.java:232)
at net.minecraft.world.gen.ChunkProviderServer.func_73151_a(ChunkProviderServer.java:284)
at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:906)
at net.minecraft.server.MinecraftServer.func_71267_a(MinecraftServer.java:346)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:122)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
A detailed walkthrough of the error, its code path and all known details is as follows:
—————————————————————————————
– System Details –
Details:
Minecraft Version: 1.5.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 59891712 bytes (57 MB) / 477233152 bytes (455 MB) up to 477233152 bytes (455 MB)
JVM Flags: 2 total; -Xms512m -Xmx512m
AABB Pool Size: 2291 (128296 bytes; 0 MB) allocated, 2291 (128296 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.51 FML v5.2.23.736 Minecraft Forge 7.8.0.736 5 mods loaded, 5 mods active
mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
FML{5.2.23.736} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
Forge{7.8.0.736} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
ComputerCraft{1.53} [ComputerCraft] (ComputerCraft-Mod-1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
CCTurtle{1.53} [ComputerCraft Turtles] (ComputerCraft-Mod-1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 2980 (166880 bytes; 0 MB) allocated, 2980 (166880 bytes; 0 MB) used
Player Count: 1 / 8; [EntityPlayerMP['Rodmastercraft'/54317, l='Novo Mundo', x=29,50, y=75,00, z=-138,50]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
Sorry for my bad english XD