[CMT2][BUG] Migrate online to file ,it will pop java.lang.NullPointerException