Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugly检测到线上崩溃 #43

Closed
imgod1 opened this issue Jul 17, 2017 · 1 comment
Closed

bugly检测到线上崩溃 #43

imgod1 opened this issue Jul 17, 2017 · 1 comment

Comments

@imgod1
Copy link

imgod1 commented Jul 17, 2017

场景为:
badgeview 版本1.1.1
主界面下方使用RadioGroup含有固定个数的RadioBtn,然后通过badgeview给radiobtn设置红点
自己手机没有遇到这样的崩溃事件
崩溃机型:OPPO R9 Plustm A
Cpu架构:arm64-v8a

具体日志为:
java.lang.RuntimeException:Unable to start activity ComponentInfo{com.tsou.yezonghui/com.tsou.yezonghui.activity.MainHolderActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.CompoundButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/btn1. Make sure other views do not use the same id.

2 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2430)
3 ......
4 Caused by:
5 java.lang.IllegalArgumentException:Wrong state class, expecting View State but received class android.widget.CompoundButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/btn1. Make sure other views do not use the same id.
6 android.view.View.onRestoreInstanceState(View.java:13851)
7 android.view.View.dispatchRestoreInstanceState(View.java:13827)
8 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2904)
9 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
10 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
11 android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2910)
12 android.view.View.restoreHierarchyState(View.java:13805)
13 com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2035)
14 android.app.Activity.onRestoreInstanceState(Activity.java:1054)
15 com.tsou.yezonghui.activity.k.onRestoreInstanceState(Unknown Source)
16 android.app.Activity.performRestoreInstanceState(Activity.java:1009)
17 android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1165)
18 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2403)
19 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2503)
20 android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4099)
21 android.app.ActivityThread.access$1000(ActivityThread.java:160)
22 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1414)
23 android.os.Handler.dispatchMessage(Handler.java:102)
24 android.os.Looper.loop(Looper.java:179)
25 android.app.ActivityThread.main(ActivityThread.java:5491)
26 java.lang.reflect.Method.invoke(Native Method)
27 java.lang.reflect.Method.invoke(Method.java:372)
28 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:961)
29 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)

@imgod1 imgod1 mentioned this issue Jul 21, 2017
@qstumn
Copy link
Owner

qstumn commented Sep 23, 2017

@qstumn qstumn closed this as completed Sep 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants