[
https://issues.apache.org/jira/browse/DIRSTUDIO-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664495#comment-16664495
]
Anton Mun commented on DIRSTUDIO-1196:
--------------------------------------
When I try to create a project from a connection to the Tivoli Directory
Server, I get this error. In this case, the project is created, but in the
imported schema there are only attribute descriptions, and there are no
objectClesses.
> Create Online Schema Project
> ----------------------------
>
> Key: DIRSTUDIO-1196
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1196
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-schemaeditor
> Affects Versions: 2.0.0-M14
> Reporter: Anton Mun
> Priority: Major
>
> При попытке создать проект из соединения с Tivoli Directory Server выдает
> ошибку:
> {code:java}
> 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
> {code}
> При этом проект создается, но в импортированной схеме есть только описания
> атрибутов, и нет объектов-классов.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)