directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-1581) attribute type with trailing space in the description prevents apacheds from restarting
Date Tue, 16 Nov 2010 16:54:16 GMT

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

Emmanuel Lecharny updated DIRSERVER-1581:
-----------------------------------------

    Affects Version/s: 1.5.7
        Fix Version/s: 2.0.0-RC1

> attribute type with trailing space in the description prevents apacheds from restarting
> ---------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1581
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1581
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.7
>         Environment: Windows XP, JDK 1.6
>            Reporter: Antoine Levy-Lambert
>            Assignee: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> I had one attribute type with a trailing space in the description
> attributetype ( 1.3.6.1.4.1.8104.1.1.37 NAME 'versionNumber' DESC
> 'versionNumber ' EQUALITY caseIgnoreMatch SUBSTR
> caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)
> using directory 1.5.7 this translates in the following ldif :
> dn: m-oid=1.3.6.1.4.1.8104.1.1.37, ou=attributeTypes, cn=lea, ou=schema
> objectclass: metaAttributeType
> objectclass: metaTop
> objectclass: top
> m-oid: 1.3.6.1.4.1.8104.1.1.37
> m-name: versionNumber
> m-description:: dmVyc2lvbk51bWJlciA=
> m-equality: caseIgnoreMatch
> m-substr: caseIgnoreSubstringsMatch
> m-syntax: 1.3.6.1.4.1.1466.115.121.1.15
> m-length: 0
> m-singleValue: TRUE
> I managed to get this LDIF imported into the directory server
> Afterwards, I shutdown (hit Ctrl-C in fact) my directory server.
> When restarting, I get the following exception :
> [11:22:19] ERROR
> [org.apache.directory.shared.ldap.entry.DefaultEntryAttribute] -
> ERR_04131 The value is expected to be a String
> org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException:
> ERR_04131 The value is expected to be a String
>    at org.apache.directory.shared.ldap.entry.DefaultEntryAttribute.getString(DefaultEntryAttribute.java:500)
>    at org.apache.directory.shared.ldap.schema.loader.ldif.SchemaEntityFactory.setSchemaObjectProperties(SchemaEntityFactory.java:1080)
>    at org.apache.directory.shared.ldap.schema.loader.ldif.SchemaEntityFactory.getAttributeType(SchemaEntityFactory.java:985)
>    at org.apache.directory.shared.ldap.schema.manager.impl.DefaultSchemaManager.addAttributeTypes(DefaultSchemaManager.java:731)
>    at org.apache.directory.shared.ldap.schema.manager.impl.DefaultSchemaManager.addSchemaObjects(DefaultSchemaManager.java:238)
>    at org.apache.directory.shared.ldap.schema.manager.impl.DefaultSchemaManager.load(DefaultSchemaManager.java:684)
>    at org.apache.directory.shared.ldap.schema.manager.impl.DefaultSchemaManager.loadDepsFirst(DefaultSchemaManager.java:1138)
>    at org.apache.directory.shared.ldap.schema.manager.impl.DefaultSchemaManager.loadWithDeps(DefaultSchemaManager.java:1037)
>    at org.apache.directory.shared.ldap.schema.manager.impl.DefaultSchemaManager.loadAllEnabled(DefaultSchemaManager.java:928)
>    at org.apache.directory.server.ApacheDsService.initSchemaLdifPartition(ApacheDsService.java:222)
>    at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:154)
>    at org.apache.directory.server.UberjarMain.main(UberjarMain.java:58)
> [11:22:19] ERROR [org.apache.directory.server.UberjarMain] - Failed to
> start the service.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message