From dev-return-12576-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Sat Jul 15 14:12:21 2006 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 17223 invoked from network); 15 Jul 2006 14:12:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jul 2006 14:12:21 -0000 Received: (qmail 2253 invoked by uid 500); 15 Jul 2006 14:12:20 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 2038 invoked by uid 500); 15 Jul 2006 14:12:20 -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 2027 invoked by uid 99); 15 Jul 2006 14:12:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jul 2006 07:12:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jul 2006 07:12:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BA2D041000C for ; Sat, 15 Jul 2006 14:10:15 +0000 (GMT) Message-ID: <8309327.1152972615760.JavaMail.jira@brutus> Date: Sat, 15 Jul 2006 07:10:15 -0700 (PDT) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-673) Can't query schema in optimizations branch/1.1 Trunk In-Reply-To: <3871589.1152943813937.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-673?page=comments#action_12421308 ] Alex Karasulu commented on DIRSERVER-673: ----------------------------------------- I'll try to get to this one in a couple days. Thanks for the confirmation. This is a serious issue. Some of the optimization work we've been doing must have broken this. > Can't query schema in optimizations branch/1.1 Trunk > ---------------------------------------------------- > > Key: DIRSERVER-673 > URL: http://issues.apache.org/jira/browse/DIRSERVER-673 > Project: Directory ApacheDS > Issue Type: Bug > Components: ldap > Affects Versions: 1.1.0, 1.0-RC4 > Environment: N/A > Reporter: Norbert Reilly > Assigned To: Alex Karasulu > Priority: Critical > > In both these codebases LdapName has been retired and LdapDN is used instead. I tested out behaviour in the optimizations branch at Alex K's suggestion, after observing the following exception against the 1.1 trunk when trying to swap to the "Schema" panel in JXplorer after successfully binding as the normal "admin" user: > 2006-07-12 18:19:59,437 30172 [LeaderFollowerThreadPool-1] > (com.cap.pch.PartitionLoaderService:307) ERROR - exception in > search('2.5.4.3=schema,2.5.4.11=system') > java.lang.IllegalArgumentException: Argument 'an_obj1' is null > at org.apache.directory.shared.ldap.util.BigIntegerComparator.compare(BigIntegerComparator.java:63) > at org.apache.directory.server.core.partition.impl.btree.IndexComparator$1.compare(IndexComparator.java:42) > at java.util.TreeMap.compare(TreeMap.java:1085) > at java.util.TreeMap.getEntry(TreeMap.java:345) > at java.util.TreeMap.containsKey(TreeMap.java:203) > at java.util.TreeSet.contains(TreeSet.java:195) > at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.has(JdbmTable.java:467) > at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.hasValue(JdbmIndex.java:387) > at org.apache.directory.server.core.partition.impl.btree.LeafEvaluator.evalPresence(LeafEvaluator.java:235) > at org.apache.directory.server.core.partition.impl.btree.LeafEvaluator.evaluate(LeafEvaluator.java:124) > at org.apache.directory.server.core.partition.impl.btree.ExpressionEvaluator.evaluate(ExpressionEvaluator.java:100) > at org.apache.directory.server.core.partition.impl.btree.ExpressionEnumerator$2.assertCandidate(ExpressionEnumerator.java:254) > at org.apache.directory.server.core.partition.impl.btree.IndexAssertionEnumeration.prefetch(IndexAssertionEnumeration.java:158) > at org.apache.directory.server.core.partition.impl.btree.IndexAssertionEnumeration.(IndexAssertionEnumeration.java:63) > at org.apache.directory.server.core.partition.impl.btree.ExpressionEnumerator.enumConj(ExpressionEnumerator.java:267) > at org.apache.directory.server.core.partition.impl.btree.ExpressionEnumerator.enumerate(ExpressionEnumerator.java:131) > at org.apache.directory.server.core.partition.impl.btree.DefaultSearchEngine.search(DefaultSearchEngine.java:133) > at org.apache.directory.server.core.partition.impl.btree.BTreeDirectoryPartition.search(BTreeDirectoryPartition.java:257) > at org.apache.directory.server.core.partition.DefaultDirectoryPartitionNexus.search(DefaultDirectoryPartitionNexus.java:677) > at org.apache.directory.server.core.interceptor.InterceptorChain$1.search(InterceptorChain.java:133) > at org.apache.directory.server.core.interceptor.InterceptorChain$2.search(InterceptorChain.java:1257) > at org.apache.directory.server.core.subtree.SubentryService.search(SubentryService.java:200) > at org.apache.directory.server.core.interceptor.InterceptorChain$2.search(InterceptorChain.java:1257) > at org.apache.directory.server.core.schema.SchemaService.search(SchemaService.java:170) > at org.apache.directory.server.core.interceptor.InterceptorChain$2.search(InterceptorChain.java:1257) > at org.apache.directory.server.core.authn.AuthenticationService.search(AuthenticationService.java:390) > at org.apache.directory.server.core.interceptor.InterceptorChain$2.search(InterceptorChain.java:1257) > at org.apache.directory.server.core.normalization.NormalizationService.search(NormalizationService.java:226) > at org.apache.directory.server.core.interceptor.InterceptorChain$2.search(InterceptorChain.java:1257) > at com.ca.jch.PartitionLoaderService.search(PartitionLoaderService.java:718) > at org.apache.directory.server.core.interceptor.InterceptorChain.search(InterceptorChain.java:822) > at org.apache.directory.server.core.partition.DirectoryPartitionNexusProxy.search(DirectoryPartitionNexusProxy.java:478) > at org.apache.directory.server.core.partition.DirectoryPartitionNexusProxy.search(DirectoryPartitionNexusProxy.java:423) > at org.apache.directory.server.core.jndi.ServerDirContext.search(ServerDirContext.java:527) > at org.apache.directory.server.ldap.support.SearchHandler.messageReceived(SearchHandler.java:266) > at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:128) > at org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler.messageReceived(LdapProtocolProvider.java:431) > at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:189) > at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:494) > at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52) > at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:761) > at org.apache.mina.filter.LoggingFilter.messageReceived(LoggingFilter.java:87) > at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:494) > at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52) > at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:761) > at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:91) > at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:494) > at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52) > at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:761) > at org.apache.mina.filter.thread.ThreadPoolFilter.processEvent(ThreadPoolFilter.java:238) > at org.apache.mina.filter.thread.ThreadPoolFilter$ProcessEventsRunnable.run(ThreadPoolFilter.java:300) > at org.apache.mina.filter.thread.LeaderFollowersThreadPool$Worker.run(LeaderFollowersThreadPool.java:319) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira