Fix the null pointer error when adding new RR type property