Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 93872 invoked from network); 25 Oct 2008 12:50:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2008 12:50:06 -0000 Received: (qmail 77942 invoked by uid 500); 25 Oct 2008 12:50:09 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 77886 invoked by uid 500); 25 Oct 2008 12:50:08 -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 77875 invoked by uid 99); 25 Oct 2008 12:50:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2008 05:50:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2008 12:49:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B167234C233 for ; Sat, 25 Oct 2008 05:49:44 -0700 (PDT) Message-ID: <796162872.1224938984306.JavaMail.jira@brutus> Date: Sat, 25 Oct 2008 05:49:44 -0700 (PDT) From: "Aleks M (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRSTUDIO-417) DSML export MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org DSML export ----------- Key: DIRSTUDIO-417 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-417 Project: Directory Studio Issue Type: Improvement Affects Versions: 1.3.0 Environment: Windows XP SP3 Reporter: Aleks M It seems I can't export the same amount of data to DSML like I can to LDIF or CSV. When exporting to CSV/LDIF there is a counter that tells me how many entries are exported, when exporting to DSML there is none. I just did an export of 29048 entries with 4 attributes to an LDIF file and when I tried to do the same export to DSML I got the following error: !ENTRY org.eclipse.core.jobs 4 2 2008-10-25 09:56:22.640 !MESSAGE An internal error occurred during: "DSML Export". !STACK 0 java.lang.OutOfMemoryError: Java heap space at java.nio.CharBuffer.wrap(Unknown Source) at java.nio.CharBuffer.wrap(Unknown Source) at java.lang.StringCoding$StringDecoder.decode(Unknown Source) at java.lang.StringCoding.decode(Unknown Source) at java.lang.String.(Unknown Source) at java.lang.String.(Unknown Source) at com.sun.jndi.ldap.BerDecoder.parseStringWithTag(Unknown Source) at com.sun.jndi.ldap.LdapClient.parseAttributeValue(Unknown Source) at com.sun.jndi.ldap.LdapClient.parseAttribute(Unknown Source) at com.sun.jndi.ldap.LdapClient.getSearchReply(Unknown Source) at com.sun.jndi.ldap.LdapClient.getSearchReply(Unknown Source) at com.sun.jndi.ldap.LdapCtx.getSearchReply(Unknown Source) at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(Unknown Source) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(Unknown Source) at org.apache.directory.studio.connection.core.io.jndi.StudioNamingEnumeration.hasMore(StudioNamingEnumeration.java:125) at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.processAsDsmlRequest(ExportDsmlJob.java:399) at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.executeAsyncJob(ExportDsmlJob.java:187) at org.apache.directory.studio.ldapbrowser.core.jobs.AbstractEclipseJob.run(AbstractEclipseJob.java:101) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Another error I got while exporting to DSML a couple of days ago, this was a small container with maybe 30 objects: !ENTRY org.apache.directory.studio.connection.core 4 4 2008-10-23 14:03:18.515 !MESSAGE Error while exporting DSML !STACK 0 java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(Unknown Source) at org.apache.directory.shared.ldap.ldif.LdifUtils.isLDIFSafe(LdifUtils.java:127) at org.apache.directory.studio.dsmlv2.ParserUtils.needsBase64Encoding(ParserUtils.java:130) at org.apache.directory.studio.dsmlv2.reponse.SearchResultEntryDsml.toDsml(SearchResultEntryDsml.java:92) at org.apache.directory.studio.dsmlv2.reponse.SearchResponseDsml.toDsml(SearchResponseDsml.java:98) at org.apache.directory.studio.dsmlv2.reponse.BatchResponseDsml.toDsml(BatchResponseDsml.java:124) at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.processAsDsmlResponse(ExportDsmlJob.java:233) at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.executeAsyncJob(ExportDsmlJob.java:184) at org.apache.directory.studio.ldapbrowser.core.jobs.AbstractEclipseJob.run(AbstractEclipseJob.java:101) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1 org.apache.directory.studio.connection.core 4 4 2008-10-23 14:03:18.515 !MESSAGE String index out of range: 0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.