当前位置: 代码迷 >> Android >> Touch Email icon on homescreen, fore close.该如何处理
  详细解决方案

Touch Email icon on homescreen, fore close.该如何处理

热度:541   发布时间:2016-05-01 14:18:38.0
Touch Email icon on homescreen, fore close.
1. 操作步骤:
--在Email帐号设置中, 选择ringtone; 按home 键; N个没什么印象的操作; 在homescreen中按Email icon时, 抛出如何异常(之后没有再出现):

I/ActivityManager( 127): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.email/.activity.Welcome bnds=[83,240][157,319] } from pid 228
E/Cursor ( 5443): Invalid statement in fillWindow()
W/dalvikvm( 890): threadid=1: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime( 890): FATAL EXCEPTION: main
E/AndroidRuntime( 890): android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
E/AndroidRuntime( 890): at android.database.AbstractCursor.checkPosition(AbstractCursor.java:580)
E/AndroidRuntime( 890): at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:214)
E/AndroidRuntime( 890): at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:41)
E/AndroidRuntime( 890): at android.database.CursorWrapper.getString(CursorWrapper.java:135)
E/AndroidRuntime( 890): at com.android.internal.database.SortCursor.getString(SortCursor.java:205)
E/AndroidRuntime( 890): at android.widget.SimpleCursorAdapter.bindView(SimpleCursorAdapter.java:130)
E/AndroidRuntime( 890): at android.widget.CursorAdapter.getView(CursorAdapter.java:186)
E/AndroidRuntime( 890): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)
E/AndroidRuntime( 890): at android.widget.AbsListView.obtainView(AbsListView.java:1409)
E/AndroidRuntime( 890): at android.widget.ListView.measureHeightOfChildren(ListView.java:1216)
E/AndroidRuntime( 890): at android.widget.ListView.onMeasure(ListView.java:1127)
E/AndroidRuntime( 890): at android.view.View.measure(View.java:8313)
E/AndroidRuntime( 890): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
E/AndroidRuntime( 890): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1017)
E/AndroidRuntime( 890): at android.widget.LinearLayout.measureVertical(LinearLayout.java:386)
E/AndroidRuntime( 890): at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
E/AndroidRuntime( 890): at android.view.View.measure(View.java:8313)
E/AndroidRuntime( 890): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
E/AndroidRuntime( 890): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1017)
E/AndroidRuntime( 890): at android.widget.LinearLayout.measureVertical(LinearLayout.java:386)
E/AndroidRuntime( 890): at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
E/AndroidRuntime( 890): at com.android.internal.widget.WeightedLinearLayout.onMeasure(WeightedLinearLayout.java:60)
E/AndroidRuntime( 890): at android.view.View.measure(View.java:8313)
E/AndroidRuntime( 890): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
E/AndroidRuntime( 890): at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
E/AndroidRuntime( 890): at android.view.View.measure(View.java:8313)
E/AndroidRuntime( 890): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
E/AndroidRuntime( 890): at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
E/AndroidRuntime( 890): at android.view.View.measure(View.java:8313)
E/AndroidRuntime( 890): at android.view.ViewRoot.performTraversals(ViewRoot.java:841)
E/AndroidRuntime( 890): at android.view.ViewRoot.handleMessage(ViewRoot.java:1862)
E/AndroidRuntime( 890): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 890): at android.os.Looper.loop(Looper.java:130)
  相关解决方案