Jump to content

Recommended Posts

Posted

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.

Posted

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) {

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi, i'm really having problems trying to set the texture to my custom item. I thought i'm doing everything correctly, but all i see is the missing texture block for my item. I am trying this for over a week now and getting really frustrated. The only time i could make the texture work, was when i used an older Forge version (52.0.1) for Minecraft (1.21.4). Was there a fundamental change for textures and models somewhere between versions that i'm missing? I started with Forge 54.1.0 and had this problem, so in my frustration i tried many things: Upgrading to Forge 54.1.1, created multiple new projects, workspaces, redownloaded everything and setting things up multiple times, as it was suggested in an older thread. Therea are no errors in the console logs, but maybe i'm blind, so i pasted the console logs to pastebin anyway: https://pastebin.com/zAM8RiUN The only time i see an error is when i change the models JSON file to an incorrect JSON which makes sense and that suggests to me it is actually reading the JSON file.   I set the github repository to public, i would be so thankful if anyone could take a look and tell me what i did wrong: https://github.com/xLorkin/teleport_pug_forge   As a note: i'm pretty new to modding, this is my first mod ever. But i'm used to programming. I had some up and downs, but through reading the documentation, using google and experimenting, i could solve all other problems. I only started modding for Minecraft because my son is such a big fan and wanted this mod.
    • Please read the FAQ (link in orange bar at top of page), and post logs as described there.
    • Hello fellow Minecrafters! I recently returned to Minecraft and realized I needed a wiki that displays basic information easily and had great user navigation. That’s why I decided to build: MinecraftSearch — a site by a Minecraft fan, for Minecraft fans. Key Features So Far Straight-to-the-Point Info: No extra fluff; just the essentials on items, mobs, recipes, loot and more. Clean & Intuitive Layout: Easy navigation so you spend less time scrolling and more time playing. Optimized Search: Search for anything—items, mobs, blocks—and get results instantly. What I’m Thinking of Adding More data/information: Catch chances for fishing rod, traveling villager trades, biomes info and a lot more. The website is still under development and need a lot more data added. Community Contributions: Potential for user-uploaded tips for items/mobs/blocks in the future. Feature Requests Welcome: Your ideas could shape how the wiki evolves! You can see my roadmap at the About page https://minecraftsearch.com/about I’d love for you to check out MinecraftSearch and see if it helps you find the info you need faster. Feedback is crucial—I want to develop this further based on what the community needs most, so please let me know what you think. Thanks, and happy crafting!
    • Instructions on how to install newer Java can be found in the FAQ
    • That's just plain wrong... newer versions are much better optimised and start a lot faster than 1.8.9, both Forge and Minecraft itself. Comparing Fabric 1.21 with Forge 1.8 is like comparing apples and oranges... one's brand new and the other's over a decade old.
  • Topics

×
×
  • Create New...

Important Information

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