BS-8209
[6.2] Process generates NPE in the studio when switching view

Add a test in the method isOngoingMigration to avoid npe