Java Exception when sorting column in search screen
search cancel

Java Exception when sorting column in search screen


Article ID: 135873


Updated On:


CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite


When sorting results in the CA Identity Manager (IM) User Console search results screen on the "E-mail Address" the following exception:

08:09:53,648 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/iam/im].[jsp]] (http- JBWEB000236: Servlet.service() for servlet jsp threw exception: java.lang.IllegalArgumentException: Comparison method violates its general contract!


Release : 14.x

Component : IdentityMinder(Identity Manager)


If the email address attribute doesn’t have a valid character value in the source repository (For example LDAP via CA directory) sorting on the column gives the Java exception.

This issue can be reproduced if the email address includes a space.  For example:

'email [email protected]' 


Changing or deleting the LDAP entries with only a space value for the email address resolves the problem.