You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "M. Krainer (JIRA)" <ji...@apache.org> on 2013/04/04 09:45:16 UTC

[jira] [Created] (DIRSTUDIO-896) Exception: unexpected token: /

M. Krainer created DIRSTUDIO-896:
------------------------------------

             Summary: Exception: unexpected token: /
                 Key: DIRSTUDIO-896
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-896
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-ldapbrowser
    Affects Versions: 2.0.0-M6
            Reporter: M. Krainer


dirstudio cannot handle cn that contains a slash:

Fehler beim Lesen des Eintrages
 - unexpected token: /
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException: unexpected token: /
	at org.apache.directory.api.ldap.model.name.ComplexDnParser.parseDn(ComplexDnParser.java:58)
	at org.apache.directory.api.ldap.model.name.Dn.parseInternal(Dn.java:1374)
	at org.apache.directory.api.ldap.model.name.Dn.<init>(Dn.java:285)
	at org.apache.directory.api.ldap.model.name.Dn.<init>(Dn.java:211)
	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.InitializeChildrenRunnable.executeSearch(InitializeChildrenRunnable.java:359)
	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.initializeChildren(InitializeChildrenRunnable.java:210)
	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeChildrenRunnable.run(InitializeChildrenRunnable.java:169)
	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:15: unexpected token: /
	at org.apache.directory.api.ldap.model.name.AntlrDnParser.special(AntlrDnParser.java:1308)
	at org.apache.directory.api.ldap.model.name.AntlrDnParser.pair(AntlrDnParser.java:998)
	at org.apache.directory.api.ldap.model.name.AntlrDnParser.string(AntlrDnParser.java:878)
	at org.apache.directory.api.ldap.model.name.AntlrDnParser.attributeValue(AntlrDnParser.java:574)
	at org.apache.directory.api.ldap.model.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:428)
	at org.apache.directory.api.ldap.model.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:236)
	at org.apache.directory.api.ldap.model.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:301)
	at org.apache.directory.api.ldap.model.name.ComplexDnParser.parseDn(ComplexDnParser.java:54)
	... 10 more

unexpected token: /

--
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