RV2 null pointer exception when connecting to AE system
lehjr opened this issue ยท 1 comments
I know you're still working on this, so before you pull your hair out...
java.lang.NullPointerException: Exception in server tick loop
at appeng.me.GridNode.updateState(GridNode.java:204)
at thaumicenergistics.parts.AbstractAEPartBase.updateStatus(AbstractAEPartBase.java:102)
at thaumicenergistics.parts.AbstractAEPartBase.setPower(AbstractAEPartBase.java:617)
at thaumicenergistics.parts.AbstractAEPartBase.addToWorld(AbstractAEPartBase.java:211)
is caused by this:
src/main/java/thaumicenergistics/grid/AEPartGridBlock.java
@Override
public EnumSet<ForgeDirection> getConnectableSides()
{
// Ignored.
return null;
}
should return this instead:
return EnumSet.noneOf(ForgeDirection.class);
AlgorithmX2 says "Don't ever return Null as an EnumSet thats what None is for..."