[NodeSwapper] added nullpointer header