android - Listview crashes on scrolling in a fragment under tabhost activity -
my application has 2 tabhosts , both of them necessary. had use tabhost instead of actionbar application need supported low-end android device.
now, fragmentactivity
has 2 fragments , 1 of them has listview
. listview
loads fine application crashes java.lang.stackoverflowerror
when begin scroll list.
my layout each row simple , told before loads first time , crashes while scrolled.
i put logcat here.
12-02 15:14:26.929: e/androidruntime(22971): fatal exception: gui thread 12-02 15:14:26.929: e/androidruntime(22971): java.lang.stackoverflowerror 12-02 15:14:26.929: e/androidruntime(22971): @ android.graphics.paint.measuretext(paint.java:1020) 12-02 15:14:26.929: e/androidruntime(22971): @ android.graphics.paint.measuretext(paint.java:1057) 12-02 15:14:26.929: e/androidruntime(22971): @ android.text.styled.drawdirectionalrun(styled.java:284) 12-02 15:14:26.929: e/androidruntime(22971): @ android.text.styled.measuretext(styled.java:447) 12-02 15:14:26.929: e/androidruntime(22971): @ android.text.layout.measuretext(layout.java:1888) 12-02 15:14:26.929: e/androidruntime(22971): @ android.text.layout.getlinemax(layout.java:841) 12-02 15:14:26.929: e/androidruntime(22971): @ android.text.layout.draw(layout.java:386) 12-02 15:14:26.929: e/androidruntime(22971): @ android.text.boringlayout.draw(boringlayout.java:365) 12-02 15:14:26.929: e/androidruntime(22971): @ android.widget.textview.ondraw(textview.java:4334) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.draw(view.java:6880) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1646) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.draw(view.java:6883) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.builddrawingcache(view.java:6642) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.getdrawingcache(view.java:6428) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1571) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.widget.abslistview.dispatchdraw(abslistview.java:1643) 12-02 15:14:26.929: e/androidruntime(22971): @ android.widget.listview.dispatchdraw(listview.java:3207) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.draw(view.java:6986) 12-02 15:14:26.929: e/androidruntime(22971): @ android.widget.abslistview.draw(abslistview.java:3021) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1646) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.draw(view.java:6883) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1646) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.draw(view.java:6883) 12-02 15:14:26.929: e/androidruntime(22971): @ android.support.v4.view.viewpager.draw(viewpager.java:2153) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1646) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.draw(view.java:6883) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1646) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.drawchild(viewgroup.java:1644) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewgroup.dispatchdraw(viewgroup.java:1373) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.view.draw(view.java:6883) 12-02 15:14:26.929: e/androidruntime(22971): @ android.widget.framelayout.draw(framelayout.java:357) 12-02 15:14:26.929: e/androidruntime(22971): @ com.android.internal.policy.impl.phonewindow$decorview.draw(phonewindow.java:1964) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewroot.draw(viewroot.java:1529) 12-02 15:14:26.929: e/androidruntime(22971): @ android.view.viewroot.performtra
Comments
Post a Comment