Question

Have been getting a really weird error recently from an android app I am developing.

Part of the app has a Map view with a list of locations displayed as an AutoCompleteTextView. On every device and emulator I tested this function performs as expected. However, whenever a user with an HTC Thunderbolt phone (running 2.3.4) tries to select an item in the list, the application crashes.

Here is my stack trace from the Bug Reports I have received:

java.lang.NullPointerException 
at com.package.my.e.onItemClick(Unknown Source) 
at android.widget.AutoCompleteTextView.performCompletion(AutoCompleteTextView.java:1022) 
at android.widget.AutoCompleteTextView.access$1300(AutoCompleteTextView.java:99) 
at android.widget.AutoCompleteTextView$DropDownItemClickListener.onItemClick(AutoCompleteTextView.java:1597) 
at android.widget.AdapterView.performItemClick(AdapterView.java:284) 
at android.widget.ListView.performItemClick(ListView.java:3561) 
at android.widget.AbsListView$PerformClick.run(AbsListView.java:1812) 
at android.os.Handler.handleCallback(Handler.java:587) 
at android.os.Handler.dispatchMessage(Handler.java:92) 
at android.os.Looper.loop(Looper.java:143) 
at android.app.ActivityThread.main(ActivityThread.java:4306) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:507) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 
at dalvik.system.NativeStart.main(Native Method)

Any ideas?

Was it helpful?

Solution

Here is what I get when doing Autocompletetextview on Thunderbolt. The white suggestion fields only show suggestions if you press on them. So it seems actv and Thunderbolt is a bad combination. enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top