I'm have a frustrating time debugging our app, and I am beginning to wonder if I'm missing some debugging tricks.
For example, right now, I am adding Filterable to a list view on a complicated cursor. It mostly works, but under some circumstances I get a NullPointerException with the stack below. Obviously, I've done something wrong, but with so little visibility into the problem it is hard to work out what that is. None of our code is on the stack, and there are no obvious clues in the logcat window. My question is, how do I get more information about the problem ? Is there a straightforward way to get the framework source available in Eclipse to help with the debugging ? How is anyone else debugging this kind of issue ? Here's my stack, by way of illustration: DalvikVM[localhost:8601] Thread [<3> main] (Suspended (exception NullPointerException)) CursorFilter.publishResults(CharSequence, Filter$FilterResults) line: 67 Filter$ResultsHandler.handleMessage(Message) line: 253 Filter$ResultsHandler(Handler).dispatchMessage(Message) line: 88 Looper.loop() line: 123 ActivityThread.main(String[]) line: 3742 Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method] Method.invoke(Object, Object...) line: 515 ZygoteInit$MethodAndArgsCaller.run() line: 739 ZygoteInit.main(String[]) line: 497 NativeStart.main(String[]) line: not available [native method] Thread [<13> Binder Thread #2] (Running) Thread [<11> Binder Thread #1] (Running) Thread [<15> Filter] (Suspended (exception NullPointerException)) Filter$RequestHandler.handleMessage(Message) line: 213 Filter$RequestHandler(Handler).dispatchMessage(Message) line: 88 Looper.loop() line: 123 HandlerThread.run() line: 60 Thanks, Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---