Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2250

ERR_13724_INVALID_VALUE Invalid value for some Chinese characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0.AM25
    • None
    • ldap
    • None

    Description

      example:  chinese character   (UTF-8 value \ue81b can't be used as the Directory String value. But it is OK for version 2.0.0.M24

      The error message is following

      Error while executing LDIF

      • [LDAP: error code 80 - OTHER: failed for MessageType : MODIFY_REQUES
        java.lang.Exception: [LDAP: error code 80 - OTHER: failed for MessageType : MODIFY_REQUEST
        Message ID : 25474
        Modify Request
        Object : 'ou=000030,cn=orgs,dc=citics,dc=com'
        Modification[0]
        Operation : replace
        Modification
        description: **org.apache.directory.api.ldap.model.message.ModifyRequestImpl@c7661fbb: ERR_13247_INVALID_VALUE_CANT_NORMALIZE Invalid upValue, it cant be normalized:
        java.lang.IllegalArgumentException: ERR_13247_INVALID_VALUE_CANT_NORMALIZE Invalid upValue, it cant be normalized
        at org.apache.directory.api.ldap.model.entry.Value.<init>(Value.java:275)
        at org.apache.directory.api.ldap.model.entry.DefaultAttribute.<init>(DefaultAttribute.java:423)
        at org.apache.directory.server.core.api.entry.ServerEntryUtils.toServerModification(ServerEntryUtils.java:464)
        at org.apache.directory.server.core.api.entry.ServerEntryUtils.toServerModification(ServerEntryUtils.java:510)
        at org.apache.directory.server.core.api.interceptor.context.ModifyOperationContext.<init>(ModifyOperationContext.java:115)
        at org.apache.directory.server.core.shared.DefaultCoreSession.modify(DefaultCoreSession.java:1028)
        at org.apache.directory.server.core.shared.DefaultCoreSession.modify(DefaultCoreSession.java:1018)
        at org.apache.directory.server.ldap.handlers.request.ModifyRequestHandler.handle(ModifyRequestHandler.java:56)
        at org.apache.directory.server.ldap.handlers.request.ModifyRequestHandler.handle(ModifyRequestHandler.java:39)
        at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:207)
        at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
        at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:243)
        at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:223)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:1019)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1141)
        at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:87)
        at org.apache.mina.core.session.IoEvent.run(IoEvent.java:88)
        at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:541)
        at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:493)
        at java.lang.Thread.run(Thread.java:748)
        ]
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkResponse(DirectoryApiConnectionWrapper.java:1374)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$9(DirectoryApiConnectionWrapper.java:1342)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$4.run(DirectoryApiConnectionWrapper.java:736)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1269)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1205)
        at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.modifyEntry(DirectoryApiConnectionWrapper.java:758)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdifRecord(ImportLdifRunnable.java:515)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdif(ImportLdifRunnable.java:272)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.executeLdif(ExecuteLdifRunnable.java:157)
        at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:123)
        at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:59)
        at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:116)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

      [LDAP: error code 80 - OTHER: failed for MessageType : MODIFY_REQUEST
      Message ID : 25474
      Modify Request
      Object : 'ou=000030,cn=orgs,dc=citics,dc=com'
      Modification[0]
      Operation : replace
      Modification
      description: 稽核审计部org.apache.directory.api.ldap.model.message.ModifyRequestImpl@c7661fbb: ERR_13247_INVALID_VALUE_CANT_NORMALIZE Invalid upValue, it cant be normalized:
      java.lang.IllegalArgumentException: ERR_13247_INVALID_VALUE_CANT_NORMALIZE Invalid upValue, it cant be normalized
      at org.apache.directory.api.ldap.model.entry.Value.<init>(Value.java:275)
      at org.apache.directory.api.ldap.model.entry.DefaultAttribute.<init>(DefaultAttribute.java:423)
      at org.apache.directory.server.core.api.entry.ServerEntryUtils.toServerModification(ServerEntryUtils.java:464)
      at org.apache.directory.server.core.api.entry.ServerEntryUtils.toServerModification(ServerEntryUtils.java:510)
      at org.apache.directory.server.core.api.interceptor.context.ModifyOperationContext.<init>(ModifyOperationContext.java:115)
      at org.apache.directory.server.core.shared.DefaultCoreSession.modify(DefaultCoreSession.java:1028)
      at org.apache.directory.server.core.shared.DefaultCoreSession.modify(DefaultCoreSession.java:1018)
      at org.apache.directory.server.ldap.handlers.request.ModifyRequestHandler.handle(ModifyRequestHandler.java:56)
      at org.apache.directory.server.ldap.handlers.request.ModifyRequestHandler.handle(ModifyRequestHandler.java:39)
      at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:207)
      at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
      at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:243)
      at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:223)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:1019)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1141)
      at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:87)
      at org.apache.mina.core.session.IoEvent.run(IoEvent.java:88)
      at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:541)
      at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:493)
      at java.lang.Thread.run(Thread.java:748)
      ]

      Attachments

        1. error-test.ldif
          0.2 kB
          li

        Activity

          People

            Unassigned Unassigned
            jingwen.li li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: