directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleks M (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSTUDIO-812) Error while performing search
Date Wed, 16 May 2012 14:51:02 GMT
Aleks M created DIRSTUDIO-812:
---------------------------------

             Summary: Error while performing search
                 Key: DIRSTUDIO-812
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-812
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 2.0.0-M3
         Environment: Windows 7 SP1 64-bit
            Reporter: Aleks M


I've come across a a directory where they have alot of objects named with #, e.g.
12345678911#38SA

Sometimes the LDAP search fails in Studio while it works in other tools.
If I search for something like this:
(workforceID=200511230101)
I should get two DNs back, Studio failes after retrieving the first one named 200511230101,
the other is named 200511230101#38SA and Studio gives me this error:

Error while performing search
 - expecting EOF, found '38'
org.apache.directory.shared.ldap.model.exception.LdapInvalidDnException: expecting EOF, found
'38'
	at org.apache.directory.shared.ldap.model.name.ComplexDnParser.parseDn(ComplexDnParser.java:56)
	at org.apache.directory.shared.ldap.model.name.Dn.parseInternal(Dn.java:1321)
	at org.apache.directory.shared.ldap.model.name.Dn.<init>(Dn.java:282)
	at org.apache.directory.shared.ldap.model.name.Dn.<init>(Dn.java:208)
	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:46)
	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:329)
	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.run(SearchRunnable.java:192)
	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:109)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: line 1:16: expecting EOF, found '38'
	at antlr.Parser.match(Parser.java:211)
	at org.apache.directory.shared.ldap.model.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:338)
	at org.apache.directory.shared.ldap.model.name.ComplexDnParser.parseDn(ComplexDnParser.java:52)
	... 8 more

expecting EOF, found '38'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message