Error in cat(x, ..., sep = sep) : argument 1 (type 'list') cannot be handled by 'cat'

Hi,

While performing decision tree modelling on one of the dataset, I'm getting an error message as mentioned in quotes " Error in cat(x, ..., sep = sep) : argument 1 (type 'list') cannot be handled by 'cat' ". But, when plotting the tree model using plot(model name) along with text(model name) decision tree gets formed.

Screenshots attached for references.

There is no NA, no NULL, no Character values in any of the column.

Please help.