Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash #390

Open
SrYthan opened this issue Sep 22, 2023 · 5 comments
Open

Crash #390

SrYthan opened this issue Sep 22, 2023 · 5 comments

Comments

@SrYthan
Copy link

SrYthan commented Sep 22, 2023

when i connect a import bus in a chest this occurs

Time: 9/22/23 5:16 PM
Description: Ticking GridNode

java.lang.NullPointerException: Ticking GridNode
at appeng.me.cluster.implementations.CraftingCPUCluster.injectItems(CraftingCPUCluster.java:242)
at appeng.me.cache.CraftingGridCache.injectItems(CraftingGridCache.java:378)
at appeng.me.storage.NetworkInventoryHandler.injectItems(NetworkInventoryHandler.java:78)
at appeng.me.cache.NetworkMonitor.injectItems(NetworkMonitor.java:133)
at appeng.parts.automation.PartImportBus.canInsert(PartImportBus.java:69)
at appeng.util.inv.AdaptorIInventory.simulateRemove(AdaptorIInventory.java:101)
at appeng.parts.automation.PartImportBus.calculateMaximumAmountToImport(PartImportBus.java:303)
at appeng.parts.automation.PartImportBus.importStuff(PartImportBus.java:243)
at appeng.parts.automation.PartImportBus.doBusWork(PartImportBus.java:226)
at appeng.parts.automation.PartImportBus.tickingRequest(PartImportBus.java:172)
at appeng.me.cache.TickManagerCache.onUpdateTick(TickManagerCache.java:77)
at appeng.me.GridCacheWrapper.onUpdateTick(GridCacheWrapper.java:30)
at appeng.me.Grid.update(Grid.java:248)
at appeng.hooks.TickHandler.onTick(TickHandler.java:187)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_454_TickHandler_onTick_TickEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:149)
at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:252)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:894)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:692)
at java.lang.Thread.run(Thread.java:750)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Stacktrace:
at appeng.me.cluster.implementations.CraftingCPUCluster.injectItems(CraftingCPUCluster.java:242)
at appeng.me.cache.CraftingGridCache.injectItems(CraftingGridCache.java:378)
at appeng.me.storage.NetworkInventoryHandler.injectItems(NetworkInventoryHandler.java:78)
at appeng.me.cache.NetworkMonitor.injectItems(NetworkMonitor.java:133)
at appeng.parts.automation.PartImportBus.canInsert(PartImportBus.java:69)
at appeng.util.inv.AdaptorIInventory.simulateRemove(AdaptorIInventory.java:101)
at appeng.parts.automation.PartImportBus.calculateMaximumAmountToImport(PartImportBus.java:303)
at appeng.parts.automation.PartImportBus.importStuff(PartImportBus.java:243)
at appeng.parts.automation.PartImportBus.doBusWork(PartImportBus.java:226)
at appeng.parts.automation.PartImportBus.tickingRequest(PartImportBus.java:172)

-- PartImportBus being ticked. --
Details:
Part Side: SOUTH
CurrentTickRate: 22
MinTickRate: 5
MaxTickRate: 40
MachineType: appeng.parts.automation.PartImportBus
GridBlockType: appeng.me.helpers.AENetworkProxy
ConnectedSides: [UNKNOWN]
Location: dimension=0, x=3208, y=109, z=-251
Stacktrace:
at appeng.me.cache.TickManagerCache.onUpdateTick(TickManagerCache.java:77)
at appeng.me.GridCacheWrapper.onUpdateTick(GridCacheWrapper.java:30)
at appeng.me.Grid.update(Grid.java:248)
at appeng.hooks.TickHandler.onTick(TickHandler.java:187)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_454_TickHandler_onTick_TickEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:149)
at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:252)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:894)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:692)
at java.lang.Thread.run(Thread.java:750)

@firenoo
Copy link

firenoo commented Sep 22, 2023

ae2 version?

@SrYthan
Copy link
Author

SrYthan commented Sep 22, 2023

this version
appliedenergistics2-rv3-beta-250-GTNH.jar

Inside the chest are some items that are pulled into the system from a farm, I tried to manually throw the items into the system and the same thing happened, I believe it is due to an auto crafting that I have

@firenoo
Copy link

firenoo commented Sep 28, 2023

Is the issue still happening?

@SrYthan
Copy link
Author

SrYthan commented Sep 28, 2023

I discovered what it was, when coding a pattern-encode and placing it in an interface and then removing it from that interface, somehow it got stuck in this interface that it still knew how to make the item encoded in the pattern, which caused the crash when the coded item entered the system, so to solve it I coded the pattern again to make the item in question, I placed the pattern within the same interface as it was and removed it and that solved the problem.

@SrYthan
Copy link
Author

SrYthan commented Sep 28, 2023

so I believe the problem is that the Me-interface was stuck, as if it still knew how to craft the pattern-encode item even if the pattern-encode was no longer inside the ME-Interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants