Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F39AC926B for ; Thu, 26 Jan 2012 12:53:05 +0000 (UTC) Received: (qmail 84773 invoked by uid 500); 26 Jan 2012 12:53:05 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 84623 invoked by uid 500); 26 Jan 2012 12:53:05 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 84602 invoked by uid 99); 26 Jan 2012 12:53:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2012 12:53:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2012 12:53:02 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EFD00164541 for ; Thu, 26 Jan 2012 12:52:40 +0000 (UTC) Date: Thu, 26 Jan 2012 12:52:40 +0000 (UTC) From: "Pierre-Arnaud Marcelot (Commented) (JIRA)" To: dev@directory.apache.org Message-ID: <1180526420.80982.1327582360983.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1310513186.7008.1305214607426.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DIRSTUDIO-733) Error while reading RootDSE on Sun One directory server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSTUDIO-733?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 3193802#comment-13193802 ]=20 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 'ob= jectclass-oid' string OID: attributetypes: ( objectclass-oid NAME 'objectclass' DESC 'Standard Attribu= t 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. =20 > 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 RootD= SE on Sun One directory server : > Une erreur est survenue lors de l'ouverture de la connexion > - L'attribut existe d=C3=A9j=C3=A0 ! > java.lang.NullPointerException > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnabl= e.initFlags(SearchRunnable.java:754) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnabl= e.searchAndUpdateModel(SearchRunnable.java:350) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeRoo= tDSERunnable.loadRootDSE(InitializeRootDSERunnable.java:180) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAtt= ributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:217) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAtt= ributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:195) > at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionL= istener.openBrowserConnection(BrowserConnectionListener.java:118) > at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionL= istener.connectionOpened(BrowserConnectionListener.java:65) > at org.apache.directory.studio.connection.core.jobs.OpenConnection= sRunnable.runNotification(OpenConnectionsRunnable.java:132) > at org.apache.directory.studio.connection.core.jobs.StudioConnecti= onJob.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=C3=A9j=C3=A0 ! > at org.apache.directory.studio.ldapbrowser.core.model.impl.Abstrac= tEntry.addAttribute(AbstractEntry.java:178) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnabl= e.initFlags(SearchRunnable.java:705) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnabl= e.searchAndUpdateModel(SearchRunnable.java:350) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeRoo= tDSERunnable.loadRootDSE(InitializeRootDSERunnable.java:186) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAtt= ributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:217) > at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAtt= ributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:195) > at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionL= istener.openBrowserConnection(BrowserConnectionListener.java:118) > at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionL= istener.connectionOpened(BrowserConnectionListener.java:65) > at org.apache.directory.studio.connection.core.jobs.OpenConnection= sRunnable.runNotification(OpenConnectionsRunnable.java:132) > at org.apache.directory.studio.connection.core.jobs.StudioConnecti= onJob.run(StudioConnectionJob.java:120) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) > L'attribut existe d=C3=A9j=C3=A0 ! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira