Jump to content

[1.6.4][SOLVED] Ticking memory connection error


Dispellz

Recommended Posts

I've been having those issues where the game throws Ticking memory connection, when I try to open a GUI on a custom furnace. However, this only happens after I place the furnace and exit the game. When I come back into the world and try to open it, it will sometimes throw this error. It seems to be random. Sometimes it crashes, sometimes it works fine.

 

I guess my question is, what is Ticking memory connection for? When is it usually thrown? I'm trying to pin point the problem, but Minecraft doesn't tell me which class has the issue.

 

I can post some code, just let me know what you need to see.

Link to comment
Share on other sites

2014-03-07 11:45:29 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Ticking memory connection
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-03-07 11:45:29 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at org.theya.sustain.gui.PollutionBar.onPlayerPlaceFurnace(PollutionBar.java:172)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraftforge.event.ASMEventHandler_4_PollutionBar_onPlayerPlaceFurnace_PlayerInteractEvent.invoke(.dynamic)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.post(EventBus.java:108)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:48)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:399)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2014-03-07 11:45:29 [iNFO] [sTDERR] 	... 6 more
2014-03-07 11:45:29 [sEVERE] [Minecraft-Server] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Ticking memory connection
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at org.theya.sustain.gui.PollutionBar.onPlayerPlaceFurnace(PollutionBar.java:172)
at net.minecraftforge.event.ASMEventHandler_4_PollutionBar_onPlayerPlaceFurnace_PlayerInteractEvent.invoke(.dynamic)
at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
at net.minecraftforge.event.EventBus.post(EventBus.java:108)
at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:48)
at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:399)
at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556)
at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
... 6 more
2014-03-07 11:45:29 [sEVERE] [Minecraft-Server] This crash report has been saved to: /home/chell/Dropbox/MINECRAFT_FORGE_1-6-4/mcp/jars/./crash-reports/crash-2014-03-07_11.45.29-server.txt
2014-03-07 11:45:29 [iNFO] [Minecraft-Server] Stopping server
2014-03-07 11:45:29 [iNFO] [Minecraft-Server] Saving players
2014-03-07 11:45:29 [iNFO] [Minecraft-Server] Player384 left the game
2014-03-07 11:45:29 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2014-03-07 11:45:29 [iNFO] [sTDOUT] // I blame Dinnerbone.
2014-03-07 11:45:29 [iNFO] [sTDOUT] 
2014-03-07 11:45:29 [iNFO] [sTDOUT] Time: 3/7/14 11:45 AM
2014-03-07 11:45:29 [iNFO] [sTDOUT] Description: Ticking memory connection
2014-03-07 11:45:29 [iNFO] [sTDOUT] 
2014-03-07 11:45:29 [iNFO] [sTDOUT] java.lang.NullPointerException
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at org.theya.sustain.gui.PollutionBar.onPlayerPlaceFurnace(PollutionBar.java:172)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraftforge.event.ASMEventHandler_4_PollutionBar_onPlayerPlaceFurnace_PlayerInteractEvent.invoke(.dynamic)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraftforge.event.EventBus.post(EventBus.java:108)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:48)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:399)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 
2014-03-07 11:45:29 [iNFO] [Minecraft-Server] Saving worlds
2014-03-07 11:45:29 [iNFO] [sTDOUT] 
2014-03-07 11:45:29 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld
2014-03-07 11:45:29 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2014-03-07 11:45:29 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2014-03-07 11:45:29 [iNFO] [sTDOUT] 
2014-03-07 11:45:29 [iNFO] [sTDOUT] -- Head --
2014-03-07 11:45:29 [iNFO] [sTDOUT] Stacktrace:
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at org.theya.sustain.gui.PollutionBar.onPlayerPlaceFurnace(PollutionBar.java:172)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraftforge.event.ASMEventHandler_4_PollutionBar_onPlayerPlaceFurnace_PlayerInteractEvent.invoke(.dynamic)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraftforge.event.EventBus.post(EventBus.java:108)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:48)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:399)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 
2014-03-07 11:45:29 [iNFO] [sTDOUT] -- Ticking connection --
2014-03-07 11:45:29 [iNFO] [sTDOUT] Details:
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Connection: net.minecraft.network.NetServerHandler@14cbcd25
2014-03-07 11:45:29 [iNFO] [sTDOUT] Stacktrace:
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 
2014-03-07 11:45:29 [iNFO] [sTDOUT] -- System Details --
2014-03-07 11:45:29 [iNFO] [sTDOUT] Details:
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.4
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Operating System: Linux (amd64) version 3.11.0-12-generic
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Java Version: 1.7.0_51, Oracle Corporation
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Memory: 745720752 bytes (711 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	AABB Pool Size: 2419 (135464 bytes; 0 MB) allocated, 2288 (128128 bytes; 0 MB) used
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	sustain{0.0.1} [sustain] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Vec3 Pool Size: 1035 (57960 bytes; 0 MB) allocated, 874 (48944 bytes; 0 MB) used
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Player Count: 1 / 8; [EntityPlayerMP['Player384'/14022, l='New World', x=176.85, y=63.00, z=-105.42]]
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Type: Integrated Server (map_client.txt)
2014-03-07 11:45:29 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2014-03-07 11:45:29 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# ./crash-reports/crash-2014-03-07_11.45.29-server.txt
2014-03-07 11:45:29 [iNFO] [Minecraft-Server] Stopping server
2014-03-07 11:45:29 [iNFO] [Minecraft-Server] Saving players
2014-03-07 11:45:29 [iNFO] [Minecraft-Server] Saving worlds
AL lib: (EE) alc_cleanup: 1 device not closed

 

I've noticed it's having problems with my PollutionBar class and onPlayerPlaceFurnace, so here is the code for that function:

 

@ForgeSubscribe
public void onPlayerPlaceFurnace(PlayerInteractEvent event) {
	MovingObjectPosition m = this.mc.objectMouseOver;
	if(m != null) {			
		EntityPlayer p = event.entityPlayer;
		if(event.action == Action.RIGHT_CLICK_BLOCK) {
			ItemStack s = p.inventory.getCurrentItem();
			//if(!p.worldObj.isRemote && (p.worldObj.getBlockId(m.blockX, m.blockY, m.blockZ) == Block.furnaceIdle.blockID || p.worldObj.getBlockId(m.blockX, m.blockY, m.blockZ) == Block.furnaceBurning.blockID)) {
			//
			//		PLACING FURNACE
			//
			if(!p.worldObj.isRemote && s.itemID == Block.furnaceIdle.blockID) {
				p.addChatMessage(EnumChatFormatting.RED.toString() + EnumChatFormatting.BOLD.toString() + "Furnace Placed");
				Position temp = new Position(m.blockX, m.blockY, m.blockZ);
				if(hasDuplicates(temp)) {
					System.out.println("DUPLICATE ENTRY");
				} else {
					furnaces.add(temp);
				}

				for(int i=0; i<furnaces.size(); i++) {
					System.out.println("FURNACE AT >> Mx: " + furnaces.get(i).getX() + ", My: " + furnaces.get(i).getY() + ", Mz: " + furnaces.get(i).getZ());
				}
			}
		}
	}
}

 

Error points at this line:

if(!p.worldObj.isRemote && s.itemID == Block.furnaceIdle.blockID) {

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.