Java Exception when sorting column in search screen
search cancel

Java Exception when sorting column in search screen

book

Article ID: 135873

calendar_today

Updated On:

Products

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

Issue/Introduction

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-10.0.14.23:8080-1) JBWEB000236: Servlet.service() for servlet jsp threw exception: java.lang.IllegalArgumentException: Comparison method violates its general contract!



Environment

Release : 14.x

Component : IdentityMinder(Identity Manager)

Cause

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]' 

Resolution

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