directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "a-giza (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSTUDIO-591) Error readind objects with # in DN
Date Wed, 18 Nov 2009 15:54:39 GMT
Error readind objects with # in DN 
-----------------------------------

                 Key: DIRSTUDIO-591
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-591
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.5.0
         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
            Reporter: a-giza
            Priority: Minor


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




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message