Using String.valueOf toString this element, cover the null case.

fix #27411

Comment From: pivotal-cla

@Koooooo-7 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@Koooooo-7 Thank you for signing the Contributor License Agreement!