Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Kuali JIRA by Jonathan Keller, 1 year ago
java.util.Collections$EmptyMap cannot be cast to java.lang.Comparable
via Kuali JIRA by Jonathan Keller, 2 years ago
java.util.Collections$EmptyMap cannot be cast to java.lang.Comparable
via Oracle Community by 807606, 1 year ago
golfSoftwarePackage.Stroke cannot be cast to java.lang.Comparable
via Stack Overflow by Paul Verest
, 2 years ago
jdk.nashorn.internal.objects.NativeArray cannot be cast to java.lang.Comparable
via Stack Overflow by user2996028
, 2 years ago
java.util.ArrayList cannot be cast to java.lang.Comparable
java.lang.ClassCastException: java.util.Collections$EmptyMap cannot be cast to java.lang.Comparable	at java.util.Collections.sort(Collections.java:121)	at org.kuali.rice.core.api.cache.CacheKeyUtils.key(CacheKeyUtils.java:71)	at $Proxy107.principalHasRole(Unknown Source)	at org.kuali.kfs.fp.identity.CashReceiptInitiatorDerivedRoleTypeServiceImpl.hasRoleMembership(CashReceiptInitiatorDerivedRoleTypeServiceImpl.java:82)	at org.kuali.kfs.fp.identity.CashReceiptInitiatorDerivedRoleTypeServiceImpl.principalMemberOfSysUsers(CashReceiptInitiatorDerivedRoleTypeServiceImpl.java:59)	at org.kuali.kfs.fp.identity.CashReceiptInitiatorDerivedRoleTypeServiceImpl.hasDerivedRole(CashReceiptInitiatorDerivedRoleTypeServiceImpl.java:44)	at org.kuali.rice.kim.impl.role.RoleServiceImpl.principalHasRole(RoleServiceImpl.java:1106)	at org.kuali.rice.kim.impl.role.RoleServiceImpl.principalHasRole(RoleServiceImpl.java:498)	at org.kuali.rice.kim.impl.permission.PermissionServiceImpl.isAuthorizedByTemplate(PermissionServiceImpl.java:172)	at org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase.canInitiate(DocumentAuthorizerBase.java:143)	at org.kuali.rice.krad.service.impl.DocumentServiceImpl.getNewDocument(DocumentServiceImpl.java:506)	at org.kuali.rice.krad.service.impl.DocumentServiceImpl.getNewDocument(DocumentServiceImpl.java:469)	at org.kuali.kfs.sys.service.IsDebitTestUtils.getDocument(IsDebitTestUtils.java:110)	at org.kuali.kfs.fp.document.validation.impl.CashReceiptDocumentRuleTest.testIsDebit_liability_zeroAmount(CashReceiptDocumentRuleTest.java:191)