[ 
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.<init>(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

        

Reply via email to