Project Red - Expansion

Project Red - Expansion

31M Downloads

[Sponge] [Fabrication] mrtjp.projectred.fabrication.ICSimEngineContainer.saveSimState NPE

lurr opened this issue ยท 1 comments

commented

Occurs when IC Workbench is placed.

The error generated when the workbench is placed.

/****************************************************************************************************************************************************************************************/
/****************************************************************************************************************************************************************************************/
/*                                                                               Exception Exiting Phase                                                                                */
/****************************************************************************************************************************************************************************************/
/* Something happened when trying to unwind PacketPhase{}{PlaceBlockPacketState}                                                                                                        */
/* PhaseContext :                                                                                                                                                                       */
/*     - Owner: EntityPlayerMP['Lr_'/88, l='world', x=311.50, y=30.00, z=193.21]                                                                                                        */
/*     - Source: EntityPlayerMP['Lr_'/88, l='world', x=311.50, y=30.00, z=193.21]                                                                                                       */
/*     - PacketPlayer: EntityPlayerMP['Lr_'/88, l='world', x=311.50, y=30.00, z=193.21]                                                                                                 */
/*     - Packet: CPacketPlayerTryUseItemOnBlock{position=BlockPos{x=311, y=30, z=196}, placedBlockDirection=north, hand=MAIN_HAND, facingX=0.55482745, facingY=0.14631407, facingZ=0.0} */
/*     - IgnoreCreative: false                                                                                                                                                          */
/*     - ItemStackUsed: 1xtile.projectred.fabrication.icMachine@0                                                                                                                       */
/*     - OpenContainer: null                                                                                                                                                            */
/* Phases remaining :                                                                                                                                                                   */
/*   - Phase: GeneralPhase{}{PostState}                                                                                                                                                 */
/*     Context:                                                                                                                                                                         */
/*     - UnwindingState: PacketPhase{}{PlaceBlockPacketState}                                                                                                                           */
/*     - UnwindingContext: BasicPacketContext{isCompleted=true}                                                                                                                         */
/*   - Phase: PluginPhase{}{ScheduledTaskPhaseState}                                                                                                                                    */
/*     Context:                                                                                                                                                                         */
/*     - Source: com.google.common.util.concurrent.ListenableFutureTask@25b880ea                                                                                                        */
/* Stacktrace:                                                                                                                                                                          */
/* java.lang.NullPointerException: null                                                                                                                                                 */
/*     mrtjp.projectred.fabrication.ICSimEngineContainer.saveSimState(SimInterface.scala:158)                                                                                           */
/*     mrtjp.projectred.fabrication.ICTileMapEditor.save(ictileeditor.scala:191)                                                                                                        */
/*     mrtjp.projectred.fabrication.TileICWorkbench.save(tileicworkbench.scala:141)                                                                                                     */
/*     mrtjp.core.block.MTBlockTile.func_189515_b(tileblock.scala:470)                                                                                                                  */
/*     net.minecraftforge.common.util.BlockSnapshot.getTileNBT(BlockSnapshot.java:132)                                                                                                  */
/*     net.minecraftforge.common.util.BlockSnapshot.<init>(BlockSnapshot.java:61)                                                                                                       */
/*     org.spongepowered.mod.event.SpongeForgeEventFactory.callBlockPlaceEvent(SpongeForgeEventFactory.java:836)                                                                        */
/*     org.spongepowered.mod.event.SpongeForgeEventFactory.callForgeEvent(SpongeForgeEventFactory.java:469)                                                                             */
/*     org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:348)                                                                                           */
/*     org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:416)                                                                                   */
/*     org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:404)                                                                                           */
/*     org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:446)                                                                                              */
/*     org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:217)                                                                                                               */
/*     org.spongepowered.common.event.tracking.TrackingUtil.iterateChangeBlockEvents(TrackingUtil.java:620)                                                                             */
/*     org.spongepowered.common.event.tracking.TrackingUtil.processBlockCaptures(TrackingUtil.java:539)                                                                                 */
/*     org.spongepowered.common.event.tracking.phase.packet.PlaceBlockPacketState.lambda$unwind$1(PlaceBlockPacketState.java:136)                                                       */
/*     org.spongepowered.common.event.tracking.context.CapturedSupplier.acceptAndClearIfNotEmpty(CapturedSupplier.java:69)                                                              */
/*     org.spongepowered.common.event.tracking.phase.packet.PlaceBlockPacketState.unwind(PlaceBlockPacketState.java:133)                                                                */
/*     org.spongepowered.common.event.tracking.phase.packet.PlaceBlockPacketState.unwind(PlaceBlockPacketState.java:71)                                                                 */
/*     org.spongepowered.common.event.tracking.PhaseTracker.completePhase(PhaseTracker.java:213)                                                                                        */
/*     org.spongepowered.common.event.tracking.PhaseContext.close(PhaseContext.java:439)                                                                                                */
/*     org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:150)                                                                                                 */
/*     net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zla000(SourceFile:539)                                                                                         */
/*     net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)                                                                                                                      */
/*     java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)                                                                                                          */
/*     java.util.concurrent.FutureTask.run(FutureTask.java:266)                                                                                                                         */
/*     net.minecraft.util.Util.func_181617_a(SourceFile:46)                                                                                                                             */
/*     org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:288)                                                                                                 */
/*     net.minecraft.server.MinecraftServer.redirect$onRun$zjf000(MinecraftServer.java:3987)                                                                                            */
/*     net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723)                                                                                                      */
/*     net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396)                                                                                            */
/*     net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)                                                                                                      */
/*     net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)                                                                                                               */
/*     java.lang.Thread.run(Thread.java:748)                                                                                                                                            */
/*                                                                                                                                                                                      */
/* Minecraft : 1.12.2                                                                                                                                                                   */
/* SpongeAPI : 7.1.0-SNAPSHOT-d453c3e                                                                                                                                                   */
/* SpongeForge : 1.12.2-2705-7.1.0-BETA-3206                                                                                                                                            */
/* Minecraft Forge : 14.23.4.2705                                                                                                                                                       */
/****************************************************************************************************************************************************************************************/

Environment Information

Minecraft 1.12.2
Minecraft Forge 14.23.4.2705
SpongeForge 1.12.2-2705-7.1.0-BETA-3206

Mods present

Baubles-1.12-1.5.2.jar
BetterFps-1.4.8.jar
BiblioCraft[v2.4.5][MC1.12.2].jar
cc-tweaked-1.80pr1.7.jar
Chisel-MC1.12.2-0.2.0.31.jar
chiselsandbits-14.20.jar
CodeChickenLib-1.12.2-3.2.0.345-universal.jar
CoFHCore-1.12.2-4.5.2.19-universal.jar
CoFHWorld-1.12.2-1.2.0.5-universal.jar
CommonCapabilities-1.12-1.4.0.jar
Computronics-1.12.2-1.6.6.184-spectacular.jar
CTM-MC1.12.2-0.3.2.18.jar
CustomMainMenu-MC1.12.2-2.0.8.jar
CyclopsCore-1.12.2-0.11.8.jar
extrautils2-1.12-1.8.1.jar</p></details>
ExtremeReactors-1.12.2-0.4.5.49.jar
flatcoloredblocks-mc1.12-6.6.jar
ForgeMultipart-1.12.2-2.4.2.60-universal.jar
ImmersiveEngineering-0.12-84.jar
IntegratedDynamics-1.12.2-0.11.14.jar
IntegratedTunnels-1.12.2-1.5.6.jar
jei_1.12.2-4.11.0.202.jar
MrTJPCore-1.12.2-2.1.3.35-universal.jar
plethora-1.12.2-1.1.11.jar
ProjectRed-1.12.2-4.9.1.92-Base.jar
ProjectRed-1.12.2-4.9.1.92-compat.jar
ProjectRed-1.12.2-4.9.1.92-fabrication.jar
ProjectRed-1.12.2-4.9.1.92-integration.jar
ProjectRed-1.12.2-4.9.1.92-lighting.jar
RedstoneFlux-1.12-2.0.2.3-universal.jar
ResourceLoader-MC1.12.1-1.5.3.jar
spongeforge-1.12.2-2705-7.1.0-BETA-3206.jar
theoneprobe-1.12-1.4.23.jar
ThermalDynamics-1.12.2-2.5.1.14-universal.jar
ThermalExpansion-1.12.2-5.5.0.29-universal.jar
ThermalFoundation-1.12.2-2.5.0.19-universal.jar
zerocore-1.12-0.1.2.2.jar

commented

Fixed via 1bd81b0.