Ender IO

Ender IO

98M Downloads

NPE Crash adding ME Conduit

riking opened this issue ยท 3 comments

commented

Is there an existing issue for this?

  • I did not find any existing issues.

Current Behavior

I added an ME Conduit to a block already containing both a Vibrant Alloy power conduit and an Item Conduit.

---- Minecraft Crash Report ----
// Embeddium instance tainted by mods: [betterfpsdist, oculus, culllessleaves, bocchium]
// Please do not reach out for Embeddium support without removing these mods first.
// -------
// This doesn't make any sense!

Time: 2025-08-31 00:32:12
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
	at java.util.Objects.requireNonNull(Objects.java:209) ~[?:?] {re:mixin}
	at appeng.hooks.ticking.TickHandler.addInit(TickHandler.java:143) ~[appliedenergistics2-forge-15.3.3.jar%23365!/:?] {re:classloading}
	at appeng.api.networking.GridHelper.onFirstTick(GridHelper.java:77) ~[appliedenergistics2-forge-15.3.3.jar%23365!/:?] {re:mixin,re:classloading}
	at com.enderio.conduits.common.integrations.ae2.AE2InWorldConduitNodeHost.onCreated(AE2InWorldConduitNodeHost.java:105) ~[EnderIO-1.20.1-6.2.10-beta-all.jar%23421!/:6.2.10-beta] {re:classloading}
	at com.enderio.conduits.common.conduit.ConduitBundle.addType(ConduitBundle.java:138) ~[EnderIO-1.20.1-6.2.10-beta-all.jar%23421!/:6.2.10-beta] {re:classloading}
	at com.enderio.conduits.common.conduit.block.ConduitBlockEntity.addType(ConduitBlockEntity.java:248) ~[EnderIO-1.20.1-6.2.10-beta-all.jar%23421!/:6.2.10-beta] {re:classloading}
	at com.enderio.conduits.common.conduit.block.ConduitBlock.addConduit(ConduitBlock.java:203) ~[EnderIO-1.20.1-6.2.10-beta-all.jar%23421!/:6.2.10-beta] {re:classloading}
	at com.enderio.conduits.common.conduit.block.ConduitBlock.m_6227_(ConduitBlock.java:161) ~[EnderIO-1.20.1-6.2.10-beta-all.jar%23421!/:6.2.10-beta] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60664_(BlockBehaviour.java:778) ~[client-1.20.1-20230612.114412-srg.jar%23566!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.chunk_deadlock.BlockStateBaseMixin,pl:mixin:APP:mixins.oculus.json:MixinBlockStateBehavior,pl:mixin:APP:modernfix-common.mixins.json:perf.reduce_blockstate_cache_rebuilds.BlockStateBaseMixin,pl:mixin:APP:framedblocks.mixin.json:MixinBlockStateBase,pl:mixin:APP:lithium.mixins.json:ai.pathing.AbstractBlockStateMixin,pl:mixin:APP:lithium.mixins.json:util.block_tracking.AbstractBlockStateMixin,pl:mixin:APP:kubejs-common.mixins.json:BlockStateBaseMixin,pl:mixin:APP:ferritecore.blockstatecache.mixin.json:BlockStateBaseMixin,pl:mixin:A}
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233746_(MultiPlayerGameMode.java:323) ~[client-1.20.1-20230612.114412-srg.jar%23566!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
...

Thread: Render thread
Suspected Mods: 
	Ender IO (enderio), Version: 6.2.10-beta
		Issue tracker URL: https://github.com/Team-EnderIO/EnderIO/issues
		at TRANSFORMER/[email protected]/com.enderio.conduits.common.integrations.ae2.AE2InWorldConduitNodeHost.onCreated(AE2InWorldConduitNodeHost.java:105)

	Applied Energistics 2 (ae2), Version: 15.3.3
		Issue tracker URL: https://github.com/AppliedEnergistics/Applied-Energistics-2/issues
		at TRANSFORMER/[email protected]/appeng.hooks.ticking.TickHandler.addInit(TickHandler.java:143)

crash-2025-08-31_00.32.12-client.txt

Expected Behavior

Placing conduits will never cause AE2 to crash

How to Test

Screenshot upon rejoining world: Image

Crash did not reoccur when repeating the same action (add ME Conduit to the conduit I was looking at).

Local Environment

- **Operating System**: Ubuntu 24.04 LTS
- **Java version**: Ubuntu openjdk-17-jre
- **Minecraft Version**: 1.20.1
- **Version**: 6.2.10-beta
- **Other Mods**: Monifactory Release 0.12.9

Any Additional Information?

Client-only crash, server continued fine.

Server backup from 2025-08-31T00-30-26 available if necessary.

commented

I regret to say that we no longer officially support Minecraft 1.20.1 - as such we will not be officially fixing this issue.

If any community member wishes to submit a pull request to address this issue, feel free to open a PR and we will review and merge it.

I will close outstanding 1.20.1 issues in a little while, to keep the issue list clear.

Thanks again for your report.

commented

Can't reproduce on Windows 11, Adoptium jdk-17.0.14.7, Monifactory 0.12.9
Server running on Debian 12

I tried both ME Conduit and Dense ME Conduit and they work fine (item and energy conduits attached to machines, ME conduits not attached to anything).

Could you try if Java 21 has the same crash? You might have enable "Skip Java compatibility checks" in Prism Launcher.

Image
commented

This has been an issue with the 1.20.1 codebase for a really long time - we've never found a way to reliably reproduce the issue in order to fix it.