directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSTUDIO-733) Error while reading RootDSE on Sun One directory server
Date Thu, 26 Jan 2012 12:52:40 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193802#comment-13193802
] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-733:
--------------------------------------------------

After some debugging, I found out that the cause of this issue was that the server was not
correctly exporting its schema in the subSchemaSubEntry.
More specifically, the 'objectClass' attribute type is assigned a bogus 'objectclass-oid'
string OID:
attributetypes: ( objectclass-oid NAME 'objectclass' DESC 'Standard Attribut
 e' SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )

This was causing some issue in Studio's code because we relied on that OID for some matching.
                
>  Error while reading RootDSE on Sun One directory server
> --------------------------------------------------------
>
>                 Key: DIRSTUDIO-733
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-733
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: Windows 7 SP1 x64
>            Reporter: Mathieu Roullet
>            Assignee: Pierre-Arnaud Marcelot
>             Fix For: 2.0.0-M2, 2.0.0
>
>
> I have the following error when Apache Directory Studio try to read RootDSE on Sun One
directory server :
> Une erreur est survenue lors de l'ouverture de la connexion
> - L'attribut existe déjà !
>  java.lang.NullPointerException
>        at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.initFlags(SearchRunnable.java:754)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:350)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeRootDSERunnable.loadRootDSE(InitializeRootDSERunnable.java:180)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:217)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:195)
>        at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionListener.openBrowserConnection(BrowserConnectionListener.java:118)
>        at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionListener.connectionOpened(BrowserConnectionListener.java:65)
>        at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.runNotification(OpenConnectionsRunnable.java:132)
>        at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:120)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> java.lang.NullPointerException
>  java.lang.IllegalArgumentException: L'attribut existe déjà !
>        at org.apache.directory.studio.ldapbrowser.core.model.impl.AbstractEntry.addAttribute(AbstractEntry.java:178)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.initFlags(SearchRunnable.java:705)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:350)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeRootDSERunnable.loadRootDSE(InitializeRootDSERunnable.java:186)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:217)
>        at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:195)
>        at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionListener.openBrowserConnection(BrowserConnectionListener.java:118)
>        at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionListener.connectionOpened(BrowserConnectionListener.java:65)
>        at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.runNotification(OpenConnectionsRunnable.java:132)
>        at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:120)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>  L'attribut existe déjà !

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