Is there any more to the stack trace? The only thing I can think of is you providing a null criteria to getBestProvider().
Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 29, 9:33 pm, sandy8531 <mathur...@gmail.com> wrote: > One of my customers is getting this ... is this a known problem ? > Anything my code could have done to cause this ? > > java.lang.NullPointerException > android.location.LocationManager.getProviders(LocationManager.java: > 303) > android.location.LocationManager.getBestProvider > (LocationManager.java:507) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---