frc1678 / scout-viewer-2016-android

Android app to view the data from the Citrus Circuits 2016 Scouting System.
0 stars 1 forks source link

Unable to start activity ComponentInfoorg.citruscircuits.scout_viewer_2016_android/org.citruscircuits.scout_viewer_2016_android.team_details.TeamDetailsActivity: java.lang.IllegalArgumentException: Wrong state class, expecting View State but ... #76

Closed evan-long closed 8 years ago

evan-long commented 8 years ago

Comment:

java.lang.RuntimeException: Unable to start activity ComponentInfoorg.citruscircuits.scout_viewer_2016_android/org.citruscircuits.scout_viewer_2016_android.team_details.TeamDetailsActivity: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This views id is id/teamDetailsHeaderListView. Make sure other views do not use the same id.
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2345)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2405)
    at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4018)
    at android.app.ActivityThread.access$900(ActivityThread.java:155)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5376)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
Caused by: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This views id is id/teamDetailsHeaderListView. Make sure other views do not use the same id.
    at android.view.View.onRestoreInstanceState(View.java:13693)
    at android.view.View.dispatchRestoreInstanceState(View.java:13669)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2890)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
    at android.view.View.restoreHierarchyState(View.java:13647)
    at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2033)
    at android.app.Activity.onRestoreInstanceState(Activity.java:1036)
    at android.app.Activity.performRestoreInstanceState(Activity.java:991)
    at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1161)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2318)
    ... 11 more

Caused by: 
java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This views id is id/teamDetailsHeaderListView. Make sure other views do not use the same id.
    at android.view.View.onRestoreInstanceState(View.java:13693)
    at android.view.View.dispatchRestoreInstanceState(View.java:13669)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2890)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
    at android.view.View.restoreHierarchyState(View.java:13647)
    at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2033)
    at android.app.Activity.onRestoreInstanceState(Activity.java:1036)
    at android.app.Activity.performRestoreInstanceState(Activity.java:991)
    at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1161)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2318)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2405)
    at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4018)
    at android.app.ActivityThread.access$900(ActivityThread.java:155)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5376)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)

Number: 2

URL: https://instabug.com/applications/ivanovich-smirnov-inc/beta/issues/2

Type: crash

Status: New

Email: smirnov.ivanovich1@gmail.com

Reported At: 2016-04-22 00:50:39 UTC

Location: ,

Device: LGE LG-V410 / SDK Level 21

Memory: 547.0/0.0 MB

Storage: 10413.0/11522.0 GB

Connectivity: Carrier: AT&T, WiFi: Not Connected

Battery: 9, Charging through USB cable

App Version: 1.0 (1)

Duration: 00:25:55

User Data:

Console Log:

vityThread.access$900(ActivityThread.java:155)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.os.Handler.dispatchMessage(Handler.java:102)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.os.Looper.loop(Looper.java:135)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.app.ActivityThread.main(ActivityThread.java:5376)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at java.lang.reflect.Method.invoke(Native Method)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at java.lang.reflect.Method.invoke(Method.java:372)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620): Caused by: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This views id is id/teamDetailsHeaderListView. Make sure other views do not use the same id.
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.view.View.onRestoreInstanceState(View.java:13693)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.view.View.dispatchRestoreInstanceState(View.java:13669)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2890)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2896)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.view.View.restoreHierarchyState(View.java:13647)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2033)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.app.Activity.onRestoreInstanceState(Activity.java:1036)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.app.Activity.performRestoreInstanceState(Activity.java:991)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1161)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2318)
04-21 17:50:39.683 E/INSTABUG - Instabug(12620):    ... 11 more

Instabug Log:

User Steps:

04-21 17:04:44     org.citruscircuits.scout_viewer_2016_android.MainActivity was resumed.
04-21 17:04:39     org.citruscircuits.scout_viewer_2016_android.MainActivity was paused 
04-21 17:04:39     org.citruscircuits.scout_viewer_2016_android.team_details.TeamDetailsActivity was resumed.
04-21 17:04:39     org.citruscircuits.scout_viewer_2016_android.team_details.TeamDetailsActivity was paused 

Current View: org.citruscircuits.scout_viewer_2016_android.team_details.TeamDetailsActivity

Locale: en_US

Orientation: portrait

Screen Size: 800x1280

Density: mdpi