java.lang.nullpointerexception: cannot invoke "java.lang.charsequence.length()" because "this.text" is null
The object "this.text" is null, and the program is trying to get the "length();"
of the object. Initialize "this.text" first, or check if "this.text" is not null.