[SB-123][fix] fix NPE in TestBlockJoin