欢迎来到Doc100.Net免费学习资源知识分享平台!
您的位置:首页 > 程序异常 >

关于 receiver not registered: android.widget.viewflipper$一@43ad65f8

更新时间: 2014-01-05 02:59:03 责任编辑: Author_N1

 

关于 Receiver not registered: android.widget.ViewFlipper$1@43ad65f8

目前在一个使用了 ViewFlipper 的项目中遇到如下的错误, 该出错信息出现在 system.log 中

 

02-21 10:22:52.111 I/UsageStats( 1657): Unexpected resume of
com.pekall.weatherwidget while already resumed in com.pekall.weatherwidget
02-21 10:22:53.321 E/AndroidRuntime( 1848): FATAL EXCEPTION: main
02-21 10:22:53.321 E/AndroidRuntime( 1848): java.lang.IllegalArgumentException:
Receiver not registered: android.widget.ViewFlipper$1@43ad65f8
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.app.ActivityThread$PackageInfo.forgetReceiverDispatcher(ActivityThread.java:793)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.app.ContextImpl.unregisterReceiver(ContextImpl.java:814)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:331)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.widget.ViewFlipper.onDetachedFromWindow(ViewFlipper.java:104)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.View.dispatchDetachedFromWindow(View.java:6033)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1158)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1156)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1156)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1156)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1156)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.ViewRoot.dispatchDetachedFromWindow(ViewRoot.java:1630)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.ViewRoot.doDie(ViewRoot.java:2671)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.ViewRoot.die(ViewRoot.java:2641)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:218)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.view.Window$LocalWindowManager.removeViewImmediate(Window.java:436)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3704)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3809)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.app.ActivityThread.access$2400(ActivityThread.java:125)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2041)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.os.Handler.dispatchMessage(Handler.java:99)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.os.Looper.loop(Looper.java:123)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
android.app.ActivityThread.main(ActivityThread.java:4647)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
java.lang.reflect.Method.invokeNative(Native Method)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
java.lang.reflect.Method.invoke(Method.java:521)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
02-21 10:22:53.321 E/AndroidRuntime( 1848):     at
dalvik.system.NativeStart.main(Native Method)
02-21 10:22:53.381 W/ActivityManager( 1657):   Force finishing activity
com.pekall.weatherwidget/.clock.ClockConfigureActivity
02-21 10:22:53.691 I/WindowManager( 1657): Setting rotation to 3, animFlags=1
02-21 10:22:53.711 I/ActivityManager( 1657): Config changed: { scale=1.0
imsi=460/0 loc=zh_CN touch=3 keys=1/1/2 nav=1/1 orien=2 layout=18 uiMode=17
seq=6}
02-21 10:22:53.971 W/ActivityManager( 1657): Activity pause timeout for
HistoryRecord{43d44f30 com.pekall.weatherwidget/.clock.ClockConfigureActivity}

 引用自http://iwangpeng.com/viewflipper-receiver-not-registered-error/ 写道

 

参考:

 

  • http://code.google.com/p/android/issues/detail?id=6191
  • http://iwangpeng.com/viewflipper-receiver-not-registered-error/
  • http://stackoverflow.com/questions/3019606/why-does-keyboard-slide-crash-my-app
  • http://stackoverflow.com/questions/4674796/crash-when-rotating-activity-using-viewflipper

 

 

上一篇:上一篇
下一篇:下一篇

 

随机推荐程序问答结果

 

 

如对文章有任何疑问请提交到问题反馈,或者您对内容不满意,请您反馈给我们DOC100.NET论坛发贴求解。
DOC100.NET资源网,机器学习分类整理更新日期::2014-01-05 02:59:03
如需转载,请注明文章出处和来源网址:http://www.doc100.net/bugs/t/16992/
本文WWW.DOC100.NET DOC100.NET版权所有。