Consider the custom toString() implementation of a bean:
toString()
@Override public String toString() { String.format(\"this is %s\", this.someField); } <
The nicest solution, in my opinion, is using Guava's Objects method, firstNonNull. The following method will ensure you will print an empty string if someField is ever null.
String.format("this is %s", MoreObjects.firstNonNull(this.someField, ""));
Guava docs.