Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-703

DSML Export fails to export when the size limit is hit

    Details

      Description

      DSML Export fails to export when the size limit is hit

      I got this error when trying to export the ou=schema naming context with a '1000' size limit.
      Exporting as LDIF with the same settings does not complain at all.

      %%%%%%%%%%%%%%%%%%%%%
      Error while exporting DSML

      • [LDAP: error code 4 - Sizelimit Exceeded]
        javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'ou=schema'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3093)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
        at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129)
        at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198)
        at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171)
        at org.apache.directory.studio.connection.core.io.jndi.StudioNamingEnumeration.hasMore(StudioNamingEnumeration.java:139)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.processAsDsmlResponse(ExportDsmlJob.java:260)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ExportDsmlJob.processAsDsmlResponse(ExportDsmlJob.java:230)
        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)
        [LDAP: error code 4 - Sizelimit Exceeded]
      1. DIRSTUDIO-703.patch
        5 kB
        Pierre-Arnaud Marcelot
      2. Screen shot 2010-10-08 at 15.40.53.png
        27 kB
        Pierre-Arnaud Marcelot

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development