MXGDA-868 fix null pointer exception when running Swing alignment