Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FE4B17EF2 for ; Fri, 6 Feb 2015 12:50:35 +0000 (UTC) Received: (qmail 47025 invoked by uid 500); 6 Feb 2015 12:50:34 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 46914 invoked by uid 500); 6 Feb 2015 12:50:34 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 46653 invoked by uid 99); 6 Feb 2015 12:50:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2015 12:50:34 +0000 Date: Fri, 6 Feb 2015 12:50:34 +0000 (UTC) From: "Jordi Fatjo (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DIRAPI-221) ERR_02002_FAILURE_ON_UNDERLYING_CURSOR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRAPI-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jordi Fatjo updated DIRAPI-221: ------------------------------- Attachment: DIRAPI-221-code > 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)