title: TextField.setConstraints null pointer exception
body: <p>I have a TextField in a form:</p>
  
  <pre><code>private TextField cc1F = new TextField("", "", 250, TextField.ANY);
  </code></pre>
  
  <p>Once click button OK, then set cc1F field's Constraints to:</p>
  
  <pre><code>cc1F.setConstraints(TextField.UNEDITABLE);
  </code></pre>
  
  <p>then I am getting an exception:</p>
  
  <pre><code>java.lang.NullPointerException
  at com.sun.midp.lcdui.DefaultInputMethodHandler.setConstraints(+63)
  at javax.microedition.lcdui.TextField$InputMethodClientImpl.setConstraints(+20)
  at javax.microedition.lcdui.TextField.setConstraints(+37)
  at com.zousys.j2me.zmail.gui.view.HeaderView.menuAction(+146)
  </code></pre>
  
  <p>.....................................</p>
  
  <p>Anyone know this?</p>