You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2012/11/22 18:28:58 UTC

[jira] [Updated] (DIRSTUDIO-812) Error while performing search

     [ https://issues.apache.org/jira/browse/DIRSTUDIO-812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSTUDIO-812:
---------------------------------------------

    Component/s: studio-ldapbrowser
    
> Error while performing search
> -----------------------------
>
>                 Key: DIRSTUDIO-812
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-812
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 2.0.0-M3
>         Environment: Windows 7 SP1 64-bit
>            Reporter: Aleks M
>             Fix For: 2.0.0-M4, 2.0.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira