Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Crash loop reported by RageShake #2501

Closed
bmarty opened this issue Aug 7, 2018 · 0 comments
Closed

Crash loop reported by RageShake #2501

bmarty opened this issue Aug 7, 2018 · 0 comments
Assignees
Milestone

Comments

@bmarty
Copy link
Member

bmarty commented Aug 7, 2018

Seems to be in the SDK

https://github.com/matrix-org/riot-android-rageshakes/issues/2933

java.lang.RuntimeException: Unable to start activity ComponentInfo{im.vector.alpha/im.vector.activity.VectorHomeActivity}: java.lang.IllegalArgumentException: Comparison method violates its general contract!
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
	at android.app.ActivityThread.-wrap11(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:164)
	at android.app.ActivityThread.main(ActivityThread.java:6494)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
	at java.util.TimSort.mergeHi(TimSort.java:899)
	at java.util.TimSort.mergeAt(TimSort.java:516)
	at java.util.TimSort.mergeCollapse(TimSort.java:441)
	at java.util.TimSort.sort(TimSort.java:245)
	at java.util.Arrays.sort(Arrays.java:1498)
	at java.util.ArrayList.sort(ArrayList.java:1470)
	at java.util.Collections.sort(Collections.java:201)
	at org.matrix.androidsdk.MXSession.roomsWithTag(MXSession.java:1586)
	at im.vector.activity.VectorHomeActivity.refreshUnreadBadges(VectorHomeActivity.java:2206)
	at im.vector.activity.VectorHomeActivity.addUnreadBadges(VectorHomeActivity.java:2145)
	at im.vector.activity.VectorHomeActivity.initViews(VectorHomeActivity.java:1033)
	at im.vector.activity.VectorHomeActivity.initUiAndData(VectorHomeActivity.java:502)
	at im.vector.activity.RiotAppCompatActivity.onCreate(RiotAppCompatActivity.kt:95)
	at android.app.Activity.performCreate(Activity.java:7009)
	at android.app.Activity.performCreate(Activity.java:7000)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants