I am seeing this exact same stacktrace as well. I'm loading a Listiew and am trying to progressively load more items once the last item is hit. Is anyone else seeing this problem or have a fix? Very frustrating since it happens randomly in my case. So it seems to be a threading issue down inside Android?
On Dec 28 2009, 7:46 am, Abdul Mateen <abmat...@gmail.com> wrote: > Well, > I am not using that any non-UI Thread, I am using AsyncTask that should not > cause any problem. I do not know where this error is comming... working fine > on emulator with 2.0.1 but this is primarily occuring on Droid. > > On Sun, Dec 27, 2009 at 1:43 PM, Frank Weiss <fewe...@gmail.com> wrote: > > I've run into similar stack traces. Prime cause in my case was my code was > > manipulating the UI from a non-UI thread. > > > On Dec 27, 2009 9:29 AM, "Abdul Mateen" <abmat...@gmail.com> wrote: > > > Hi, > > I have been running into strange problems. here is the stacktrace it seems > > , there is nowhere the error is in my application, I donot know why this > > exception/error is comming.. > > > java.lang.NullPointerException at > > android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:355) at > > android.widget.ArrayAdapter.getView(ArrayAdapter.java:323) at > > android.widget.AbsListView.obtainView(AbsListView.java:1274) at > > android.widget.ListView.makeAndAddView(ListView.java:1668) at > > android.widget.ListView.fillDown(ListView.java:637) at > > android.widget.ListView.fillFromTop(ListView.java:694) at > > android.widget.ListView.layoutChildren(ListView.java:1521) at > > android.widget.AbsListView.onLayout(AbsListView.java:1113) at > > android.view.View.layout(View.java:6831) at > > android.widget.FrameLayout.onLayout(FrameLayout.java:333) at > > android.view.View.layout(View.java:6831) at > > android.widget.FrameLayout.onLayout(FrameLayout.java:333) at > > android.view.View.layout(View.java:6831) at > > android.view.ViewRoot.performTraversals(ViewRoot.java:996) at > > android.view.ViewRoot.handleMessage(ViewRoot.java:1633) at > > android.os.Handler.dispatchMessage(Handler.java:99) at > > android.os.Looper.loop(Looper.java:123) at > > android.app.ActivityThread.main(ActivityThread.java:4338) at > > java.lang.reflect.Method.invokeNative(Native Method) at > > java.lang.reflect.Method.invoke(Method.java:521) at > > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) > > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at > > dalvik.system.NativeStart.main(Native Method) > > > -- > > 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<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > > -- > > 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<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- 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