# SFC issues on failover

**URL:** <https://forum.inductiveautomation.com/t/sfc-issues-on-failover/44165>\
**Category:** Ignition\
**Created:** [March 5, 2021, 6:48pm UTC](https://forum.inductiveautomation.com/t/sfc-issues-on-failover/44165 "2021-03-05T18:48:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [March 5, 2021, 6:48pm UTC](https://forum.inductiveautomation.com/t/sfc-issues-on-failover/44165/1 "2021-03-05T18:48:24Z")

</div>

Ignition 7.9.13

I have an SFC that is running in a constant loop. When the the server fails over, it looks like it continues running, but it is stuck in the B step instead of the step it was on before the failover.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/f/5fdb00d6feeaf62da2333872c127b809de91a1e7.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/f/4fdcee5732d1eba17f04116b1cccc588e1b152c2.png)

| ExecutionQueue | 05Mar2021 10:44:11 | Queued task com.inductiveautomation.sfc.fsm.StateContext$$Lambda$800/188449961@550efe73 threw uncaught exception. |
| --- | --- | --- |
| java.lang.NullPointerException: null | | |

at com.inductiveautomation.sfc.elements.StepContainer.initializeStepScopeForActivation(StepContainer.java:101)  
at com.inductiveautomation.sfc.elements.StepContainer.onActivateRequested(StepContainer.java:139)  
at com.inductiveautomation.sfc.fsm.element.ElementInactive.action(ElementInactive.java:35)  
at com.inductiveautomation.sfc.fsm.element.ElementInactive.action(ElementInactive.java:8)  
at com.inductiveautomation.sfc.fsm.StateContext.lambda$handleEvent$0(StateContext.java:49)  
at com.inductiveautomation.sfc.api.ExecutionQueue$ThrowableCatchingRunnable.run(ExecutionQueue.java:146)  
at com.inductiveautomation.sfc.api.ExecutionQueue$PollAndExecute.run(ExecutionQueue.java:120)  
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)  
at java.util.concurrent.FutureTask.run(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source)|
