title: java.lang.NullPointerException - AutoCompleteTextView - HoneyComb
body: <p>I am getting a weird issue when using AutoCompleteTextView component on a device running on Honeycomb (Android 3.0) (using Motorola Xoom to test). I get a Nullpointer exception with the following stacktrace :</p>
  
  <blockquote>
    <p>FATAL EXCEPTION: main
    java.lang.NullPointerException at
    android.widget.PopupWindow.getMaxAvailableHeight(PopupWindow.java:1152)
    at
    android.widget.ListPopupWindow.buildDropDown(ListPopupWindow.java:1054)
    at
    android.widget.ListPopupWindow.show(ListPopupWindow.java:516)
    at
    android.widget.AutoCompleteTextView.showDropDown(AutoCompleteTextView.java:1047)
    at
    android.widget.AutoCompleteTextView.updateDropDownForFilter(AutoCompleteTextView.java:931)
    at
    android.widget.AutoCompleteTextView.onFilterComplete(AutoCompleteTextView.java:914)
    at
    android.widget.Filter$ResultsHandler.handleMessage(Filter.java:285)
    at
    android.os.Handler.dispatchMessage(Handler.java:99)
    at
    android.os.Looper.loop(Looper.java:126)
    at
    android.app.ActivityThread.main(ActivityThread.java:3997)
    at
    java.lang.reflect.Method.invokeNative(Native
    Method) at
    java.lang.reflect.Method.invoke(Method.java:491)
    at
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
    at
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
    at
    dalvik.system.NativeStart.main(Native
    Method)</p>
  </blockquote>
  
  <p>Note that I do not get this exception on any other versions of Android including Gingerbread. Its really hard to debug since I do not have the original source code of Honeycomb code base. I would appreciate if anyone can help me out.</p>
  
  <p>Thanks,
  Torri.</p>