Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:
      WinXP SP3

      java version "1.6.0_14"
      Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
      Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

      Eclipse Galileo Build id: 20090920-1017

      Description

      An error occurs when reading objects with # in DN. The DN looks like this: cn=#ACL_AD-Projects_Author,ou=Notes_Group,o=Contacts,c=DE

      The error occurs since version 1.5. Versions before 1.5 have no problems with this kind of DN's.

      The detailed error Message is:

      eclipse.buildId=M20090917-0800
      java.version=1.6.0_14
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
      Framework arguments: -product org.eclipse.epp.package.jee.product
      Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

      Error
      Wed Nov 18 16:34:39 CET 2009
      Fehler beim Lesen des Eintrages

      • unexpected token: AC

      Error
      Wed Nov 18 16:34:39 CET 2009
      javax.naming.InvalidNameException: unexpected token: AC [Root exception is line 1:5: unexpected token: AC]
      at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
      at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
      at org.apache.directory.shared.ldap.name.LdapDN.<init>(LdapDN.java:205)
      at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
      at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
      at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.executeSearch(InitializeChildrenRunnable.java:361)
      at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.initializeChildren(InitializeChildrenRunnable.java:212)
      at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.run(InitializeChildrenRunnable.java:171)
      at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: line 1:5: unexpected token: AC
      at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
      at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
      ... 9 more

      javax.naming.InvalidNameException: unexpected token: AC [Root exception is line 1:5: unexpected token: AC]
      at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
      at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
      at org.apache.directory.shared.ldap.name.LdapDN.<init>(LdapDN.java:205)
      at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
      at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
      at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.executeSearch(InitializeChildrenRunnable.java:361)
      at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.initializeChildren(InitializeChildrenRunnable.java:212)
      at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.run(InitializeChildrenRunnable.java:171)
      at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: line 1:5: unexpected token: AC
      at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
      at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
      at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
      ... 9 more

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Stefan Seelmann
              Reporter:
              a-giza
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development