[
https://issues.apache.org/jira/browse/DIRAPI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRAPI-221.
--------------------------------------
Resolution: Not A Problem
Not an issue, IMO. This is just a wrong usage of the API.
> ERR_02002_FAILURE_ON_UNDERLYING_CURSOR
> --------------------------------------
>
> Key: DIRAPI-221
> URL: https://issues.apache.org/jira/browse/DIRAPI-221
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 1.0.0-M28
> Environment: MacOS, NetBeans, Java jdk1.8
> Reporter: Jordi Fatjo
> Priority: Minor
> Attachments: DIRAPI-221-code
>
>
> Hi Directory!
> I don't know if this way is correct for this question.
> When searching a person, cursor throws this exception:
> ERR_02002_FAILURE_ON_UNDERLYING_CURSOR
> When I try to iterate the cursor, first time all go fine, I catch entry and I
> can print it. But, the iterator entry second time (and it not must), in the
> second iteration, when I try to obtain entry throws the exception.
> I try with for, with while (cursor.next), with iterator... always the
> application try iterate two times, and in the second fails.
> Do I do something wrong?
> I attached the code
> Thanks
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)