跑monkey时遇到 com.android.dialer的这种 IllegalState

[DESCRIPTION]


在跑monkey时,可能会遇到如下com.android.dialer的JAVA exception:
// CRASH: com.android.dialer (pid 5398)
// Short Msg: java.lang.IllegalStateException
// Long Msg: java.lang.IllegalStateException: The content of the adapter
has changed but ListView did not receive a notification. Make sure the
content of your adapter is not modified from a background thread, but only
from the UI thread. Make sure your adapter calls notifyDataSetChanged()
when its content changes. [in ListView(16908298, class
com.android.contacts.common.list.PinnedHeaderListView) with Adapter(class
android.widget.HeaderViewListAdapter)]
// java.lang.IllegalStateException: The content of the adapter has changed
but ListView did not receive a notification. Make sure the content of your
adapter is not modified from a background thread, but only from the UI
thread. Make sure your adapter calls notifyDataSetChanged() when its
content changes. [in ListView(16908298, class
com.android.contacts.common.list.PinnedHeaderListView) with Adapter(class
android.widget.HeaderViewListAdapter)]
// at android.widget.ListView.layoutChildren(ListView.java:1565)
// at
com.android.contacts.common.list.AutoScrollListView.layoutChildren(AutoScr
ollListView.java:65)
// at android.widget.AbsListView.onTouchModeChanged(AbsListView.java:3559)
// at
android.view.ViewTreeObserver.dispatchOnTouchModeChanged(ViewTreeObserver.
java:879)
// at
android.view.ViewRootImpl.ensureTouchModeLocally(ViewRootImpl.java:3690)
// at android.view.ViewRootImpl.ensureTouchMode(ViewRootImpl.java:3671)
// at
android.view.ViewRootImpl$EarlyPostImeInputStage.processPointerEvent(ViewR
ootImpl.java:4180)
// at
android.view.ViewRootImpl$EarlyPostImeInputStage.onProcess(ViewRootImpl.ja
va:4148)
// at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3799)
// at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6114)
// at
android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6094)
// at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6048)
// at
android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootIm
pl.java:6244)
// at
android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java
:185)
// at android.os.MessageQueue.nativePollOnce(Native Method)
// at android.os.MessageQueue.next(MessageQueue.java:138)
// at android.os.Looper.loop(Looper.java:150)
// at android.app.ActivityThread.main(ActivityThread.java:5315)
// at java.lang.reflect.Method.invokeNative(Native Method)
// at java.lang.reflect.Method.invoke(Method.java:515)
// at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java
:825)
// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
// at dalvik.system.NativeStart.main(Native Method)


[SOLUTION]


对比callstack,若和上面一致则可申请patch解决:
KK1.MP1->请申请ALPS01580492
KK1.MP3 ->请申请ALPS01583720

 

 

此资料( 跑monkey时遇到 com.android.dialer的这种 IllegalState)转载于 一牛网
资料需要自己去下载,有需要的可以去论坛上面自己下载

posted @ 2016-04-08 14:47  16rd  阅读(561)  评论(0编辑  收藏  举报