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 6B47CECF5 for ; Thu, 7 Feb 2013 13:37:15 +0000 (UTC) Received: (qmail 7330 invoked by uid 500); 7 Feb 2013 13:37:15 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 6839 invoked by uid 500); 7 Feb 2013 13:37:14 -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 6776 invoked by uid 99); 7 Feb 2013 13:37:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 13:37:13 +0000 Date: Thu, 7 Feb 2013 13:37:13 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRSTUDIO-871) Error during on-line schema loading: expecting '\n', found '' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSTUDIO-871?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 3573482#comment-13573482 ]=20 Emmanuel Lecharny commented on DIRSTUDIO-871: --------------------------------------------- It's a clear parser bug. The name (unhashed#user#password) is legal, but the parser stops at '#', an= d blows. We will see why the # is not swallowed. Thansk for the bug report ! =20 > Error during on-line schema loading: expecting '\n', found '' > ------------------------------------------------------------------ > > Key: DIRSTUDIO-871 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-871 > Project: Directory Studio > Issue Type: Bug > Components: studio-schemaeditor > Affects Versions: 2.0.0-M4 > Reporter: Petr =C5=A0pa=C4=8Dek > Priority: Minor > Attachments: schema.ldif > > > Hello, > I'm not 100 % sure if the error is caused by bug in schema parser or if t= he schema itself is buggy. > During on-line schema loading following error is thown to the console: > Error reading schema: attributeTypes =3D ( 2.16.840.1.113730.3.1.2110 NAM= E 'unhashed#user#password' DESC 'internal server defined attribute type' SY= NTAX 1.3.6.1.4.1.1466.115.121.1.40 NO-USER-MODIFICATION USAGE directoryOper= ation X-ORIGIN '389-Directory/1.2.11.16' ) > ERR_04229 Parser failure on attribute type description: > =09( 2.16.840.1.113730.3.1.2110 NAME 'unhashed#user#password' DESC 'inter= nal server defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 NO-= USER-MODIFICATION USAGE directoryOperation X-ORIGIN '389-Directory/1.2.11.1= 6' ) > Antlr message: expecting '\n', found '' > org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueEx= ception: ERR_10006 Comparator OID nsUserRDNComponent-oid is not a valid OID= =20 > =09at org.apache.directory.api.ldap.schemaloader.SchemaEntityFactory.getO= id(SchemaEntityFactory.java:122) > =09at org.apache.directory.api.ldap.schemaloader.SchemaEntityFactory.getA= ttributeType(SchemaEntityFactory.java:873) > =09at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManag= er.addAttributeTypes(DefaultSchemaManager.java:794) > =09at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManag= er.addSchemaObjects(DefaultSchemaManager.java:258) > =09at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManag= er.load(DefaultSchemaManager.java:747) > =09at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManag= er.loadDepsFirst(DefaultSchemaManager.java:1172) > =09at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManag= er.loadWithDeps(DefaultSchemaManager.java:1097) > =09at org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManag= er.loadAllEnabled(DefaultSchemaManager.java:987) > =09at org.apache.directory.studio.schemaeditor.model.schemachecker.Schema= Checker$3.run(SchemaChecker.java:274) > =09at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > I will add complete schema to the ticket if I find the right button :-) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira