With an OOTB View User task, from the search results screen, a first sort by clicking on one column (e.g.: User Id) properly displays the pages
but a second sort on another column (e.g.: last name) fails with:
java.util.NoSuchElementException at com.netegrity.llsdk6.imsimpl.paging.SearchResults.providerSort.
ODSEE does not support pagedResultsControl and to work around or to fix this issue, you need to turn off the paging.
To determine whether or not paging is used, IM depends on the maxrows and maxpage settings in directory.xml.
When the Ldap Ops object sets the result controls prior to a search, it checks the JNDIPagingContext which has been constructed earlier.
If either page size is present or maximum rows are present, LdapOps states it is doing a paged search.
User store is ODSEE (Oracle Directory Server Enterprise Edition)
Change your directory.xml to something like the element below:
<DirectorySearch maxpagesize="0" maxrows="0" minsortrules="1"/>