Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP SP3

      Description

      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.<init>(Unknown Source)
      at java.lang.String.<init>(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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Pierre-Arnaud Marcelot
            Reporter:
            Aleks M
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development