title: Attempt to invoke interface method on a null object reference finishComposingText()
body: <p>I am running robotium on a nexus 6 and getting the following error </p>
  
  <pre><code> java.lang.NullPointerException: Attempt to invoke interface method      'boolean android.view.inputmethod.InputConnection.finishComposingText()' on      a null object reference
   at android.view.inputmethod.InputConnectionWrapper.finishComposingText(InputConnectionWrapper.java:78)
   at android.view.inputmethod.InputMethodManager.reportFinishInputConnection(InputMethodManager.java:859)
   at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3253)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:135)
   at android.app.ActivityThread.main(ActivityThread.java:5221)
   at java.lang.reflect.Method.invoke(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
  </code></pre>
  
  <p>The line in question is:</p>
  
  <pre><code>     solo.enterText((android.widget.EditText) solo.getView("amount"), "11.11");  
  </code></pre>
  
  <p>I have verified that the field exists, not sure what else could be causing the problem.  Any help would be appreciated</p>