Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1196

Create Online Schema Project

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0-M14
    • Fix Version/s: None
    • Component/s: studio-schemaeditor
    • Labels:
      None

      Description

      При попытке создать проект из соединения с Tivoli Directory Server выдает ошибку:

      An error occurred when fetching the schema:
       - java.lang.ArrayIndexOutOfBoundsException: 118
       org.apache.directory.studio.schemaeditor.model.io.SchemaConnectorException: java.lang.ArrayIndexOutOfBoundsException: 118
       at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.importSchema(GenericSchemaConnector.java:115)
       at org.apache.directory.studio.schemaeditor.model.Project.fetchOnlineSchema(Project.java:252)
       at org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizard$1.run(NewProjectWizard.java:141)
       at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:140)
       at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 118
       at org.apache.directory.api.ldap.model.schema.parsers.OpenLdapSchemaParser.getQDString(OpenLdapSchemaParser.java:1838)
       at org.apache.directory.api.ldap.model.schema.parsers.OpenLdapSchemaParser.parseAttributeTypeRelaxed(OpenLdapSchemaParser.java:3170)
       at org.apache.directory.api.ldap.model.schema.parsers.OpenLdapSchemaParser.parseAttributeType(OpenLdapSchemaParser.java:2814)
       at org.apache.directory.api.ldap.model.schema.parsers.AttributeTypeDescriptionSchemaParser.parse(AttributeTypeDescriptionSchemaParser.java:81)
       at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.getSchema(GenericSchemaConnector.java:208)
       at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.importSchema(GenericSchemaConnector.java:106)
       ... 4 more
      
       java.lang.ArrayIndexOutOfBoundsException: 118
      
      

      При этом проект создается, но в импортированной схеме есть только описания атрибутов, и нет объектов-классов.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              toxanbi4 Anton Mun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: