Issue 7: NPE in TextField.setString()
Status:  Fixed
Owner:
Closed:  Jan 2010
Project Member Reported by bar...@gmail.com, Nov 18, 2009
According to the MIDP API at
http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/T
extField.html#setString(java.lang.String), passing null to
TextField.setString() should empty the field. Instead, a
NullPointerException is thrown (there is a missing null check in the
overloaded method).

Jan 2, 2010
#1 amichair
Here's a patch that fixes it.
fix_textfield_null.diff
520 bytes   View   Download
Jan 6, 2010
Project Member #2 bar...@gmail.com
Fixed in trunk (future version 3.0)
Status: Fixed
Labels: Milestone-3.0