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] [Resolved] (DIRSERVER-1732) ERR_04131 The value is expected to be a String
Date Tue, 02 Oct 2012 21:23:08 GMT

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

Emmanuel Lecharny resolved DIRSERVER-1732.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M8

Sorry for the long delay...

Fixed with http://svn.apache.org/viewvc?rev=1393189&view=rev

When an Human Readable Attribute contains a base 64 encoded value, then it is read as a binary
value. It has to be transformed into a String value, something that was not done.
                
> ERR_04131 The value is expected to be a String
> ----------------------------------------------
>
>                 Key: DIRSERVER-1732
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1732
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0-M6
>         Environment: ApacheDS 2.0.0-M6
> Ubuntu 11.10 64-bit
> java version "1.6.0_23"
> OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
> OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
> Linux rudi.dev 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64
x86_64 GNU/Linux
>            Reporter: Rudi Wijaya
>             Fix For: 2.0.0-M8
>
>         Attachments: m-oid=2.25.31030703689307962575270284666844839901.12.ldif, var-lib-apacheds-2.0.0-M6.tar.xz
>
>
> The server simply crashes, cannot start with the following errors.
> It doesn't mean exactly what value, and from where, which is "expected to be a String".
> It would be helpful to mention where, which value, and from what file it is failing.
> Probably it's a data corruption with one file or just a few files.
> INFO   | jvm 1    | 2012/06/07 13:22:17 | [13:22:17] ERROR [org.apache.directory.shared.ldap.model.entry.DefaultAttribute]
- ERR_04131 The value is expected to be a String
> INFO   | jvm 1    | 2012/06/07 13:22:17 | [13:22:17] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper]
- Failed to start the service.
> INFO   | jvm 1    | 2012/06/07 13:22:17 | org.apache.directory.shared.ldap.model.exception.LdapInvalidAttributeValueException:
ERR_04131 The value is expected to be a String
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.model.entry.DefaultAttribute.getString(DefaultAttribute.java:529)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.schemaloader.SchemaEntityFactory.setSchemaObjectProperties(SchemaEntityFactory.java:1072)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.schemaloader.SchemaEntityFactory.getAttributeType(SchemaEntityFactory.java:977)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.schemamanager.impl.DefaultSchemaManager.addAttributeTypes(DefaultSchemaManager.java:791)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.schemamanager.impl.DefaultSchemaManager.addSchemaObjects(DefaultSchemaManager.java:258)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.schemamanager.impl.DefaultSchemaManager.load(DefaultSchemaManager.java:744)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.schemamanager.impl.DefaultSchemaManager.loadDepsFirst(DefaultSchemaManager.java:1169)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.schemamanager.impl.DefaultSchemaManager.loadWithDeps(DefaultSchemaManager.java:1094)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.shared.ldap.schemamanager.impl.DefaultSchemaManager.loadAllEnabled(DefaultSchemaManager.java:984)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.server.ApacheDsService.initSchemaManager(ApacheDsService.java:229)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:164)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
> INFO   | jvm 1    | 2012/06/07 13:22:17 |       at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
> STATUS | wrapper  | 2012/06/07 13:22:19 | <-- Wrapper Stopped

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

Mime
View raw message