Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 529 invoked from network); 15 Jun 2007 06:38:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jun 2007 06:38:48 -0000 Received: (qmail 81624 invoked by uid 500); 15 Jun 2007 06:38:51 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 81578 invoked by uid 500); 15 Jun 2007 06:38:51 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 81564 invoked by uid 99); 15 Jun 2007 06:38:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 23:38:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 23:38:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 76F587141E2 for ; Thu, 14 Jun 2007 23:38:26 -0700 (PDT) Message-ID: <16817788.1181889506484.JavaMail.jira@brutus> Date: Thu, 14 Jun 2007 23:38:26 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-970) Hot Partition Fails With ArrayIndexOutOfBoundsException In-Reply-To: <20316362.1181883694574.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRSERVER-970. ----------------------------------------- Resolution: Duplicate Was fixed in DIRESERVER-902 Switch to a more recent build of the shared-ldap library > Hot Partition Fails With ArrayIndexOutOfBoundsException > ------------------------------------------------------- > > Key: DIRSERVER-970 > URL: https://issues.apache.org/jira/browse/DIRSERVER-970 > Project: Directory ApacheDS > Issue Type: Bug > Reporter: Ole Ersoy > Attachments: IndependentHotPartitionTest.java > > > After building the ApacheDS trunk on my machine, I started getting strange results when running tests. So I cleaned out the Maven repository completely, rebuilt ADS, and started from scratch. Now when I try to run the attached test (Needs a running server), I get this: > java.lang.ArrayIndexOutOfBoundsException: 0 > at org.apache.directory.shared.ldap.schema.AbstractSchemaObject.toString(AbstractSchemaObject.java:320) > at java.lang.String.valueOf(String.java:2827) > at java.lang.StringBuilder.append(StringBuilder.java:115) > at org.apache.directory.server.schema.registries.DefaultSyntaxRegistry.register(DefaultSyntaxRegistry.java:110) > at org.apache.directory.server.core.schema.PartitionSchemaLoader.loadSyntaxes(PartitionSchemaLoader.java:654) > at org.apache.directory.server.core.schema.PartitionSchemaLoader.load(PartitionSchemaLoader.java:348) > at org.apache.directory.server.schema.registries.AbstractSchemaLoader.loadDepsFirst(AbstractSchemaLoader.java:103) > at org.apache.directory.server.core.schema.PartitionSchemaLoader.loadWithDependencies(PartitionSchemaLoader.java:320) > at org.apache.directory.server.core.schema.PartitionSchemaLoader.loadEnabled(PartitionSchemaLoader.java:222) > at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:914) > at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:254) > at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118) > at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) > at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) > at javax.naming.InitialContext.init(InitialContext.java:223) > at javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:134) > at org.apache.tuscany.das.ldap.learning.test.IndependentHotPartitionTest.createDASPartition(IndependentHotPartitionTest.java:80) > at org.apache.tuscany.das.ldap.learning.test.IndependentHotPartitionTest.testCreateDASPartition(IndependentHotPartitionTest.java:30) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.