directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-366) search on specific object class results in java.lang.NoSuchMethodError
Date Sat, 21 Apr 2007 11:14:17 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny closed DIRSERVER-366.
---------------------------------------


Closing all issues created in 2005 and before which are marked resolved

> search on specific object class results in java.lang.NoSuchMethodError
> ----------------------------------------------------------------------
>
>                 Key: DIRSERVER-366
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-366
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Nick Faiz
>         Assigned To: Alex Karasulu
>            Priority: Blocker
>
> If I specify the objectClass of an entry via ldapsearch a NoSuchMethodError is thrown:
> Jul 14, 2005 10:50:52 AM org.apache.asn1.ber.digester.BERDigesterLoggingMonitor ruleFailed
> SEVERE: Error while triggering rule org.apache.ldap.common.berlib.asn1.decoder.search.EqualityMatchRule@886ad0
with digester org.apache.asn1.ber.digester.BERDigester@c736e4: Rule.finish() threw error
> java.lang.NoSuchMethodError: org.apache.ldap.common.filter.SimpleNode.printToBuffer(Ljava/lang/StringBuffer;)V
>         at org.apache.ldap.common.berlib.asn1.decoder.search.EqualityMatchRule.finish(EqualityMatchRule.java:159)
>         at org.apache.asn1.ber.digester.BERDigester.fireFinishEvent(BERDigester.java:1136)
>         at org.apache.asn1.ber.digester.BERDigester$DigesterCallback.decodeOccurred(BERDigester.java:200)
>         at org.apache.asn1.ber.BERDecoder.fireDecodeOccurred(BERDecoder.java:399)
>         at org.apache.asn1.ber.BERDecoder.decodeValue(BERDecoder.java:226)
>         at org.apache.asn1.ber.BERDecoder.decode(BERDecoder.java:159)
>         at org.apache.asn1.ber.digester.BERDigester.decode(BERDigester.java:145)
>         at org.apache.ldap.common.berlib.asn1.SnickersDecoder.decode(SnickersDecoder.java:98)
>         at org.apache.ldap.common.message.MessageDecoder.decode(MessageDecoder.java:141)
>         at org.apache.asn1.codec.mina.Asn1CodecDecoder.decode(Asn1CodecDecoder.java:41)
>         at org.apache.mina.protocol.io.IoAdapter$SessionHandlerAdapter.dataRead(IoAdapter.java:136)
>         at org.apache.mina.io.AbstractIoFilterChain$2.dataRead(AbstractIoFilterChain.java:150)
>         at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(AbstractIoFilterChain.java:366)
>         at org.apache.mina.io.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:51)
>         at org.apache.mina.io.AbstractIoFilterChain$Entry$1.dataRead(AbstractIoFilterChain.java:525)
>         at org.apache.mina.io.AbstractIoFilterChain$1.dataRead(AbstractIoFilterChain.java:100)
>         at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(AbstractIoFilterChain.java:366)
>         at org.apache.mina.io.AbstractIoFilterChain.dataRead(AbstractIoFilterChain.java:357)
>         at org.apache.mina.io.IoSessionManagerFilterChain$1.dataRead(IoSessionManagerFilterChain.java:78)
>         at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(AbstractIoFilterChain.java:366)
>         at org.apache.mina.io.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:51)
>         at org.apache.mina.io.AbstractIoFilterChain$Entry$1.dataRead(AbstractIoFilterChain.java:525)
>         at org.apache.mina.io.filter.IoThreadPoolFilter.processEvent(IoThreadPoolFilter.java:95)
>         at org.apache.mina.util.BaseThreadPool$Worker.processEvents(BaseThreadPool.java:341)
>         at org.apache.mina.util.BaseThreadPool$Worker.run(BaseThreadPool.java:280)
> Searching on a wildcard, however, works.
> ldapsearch -D 'uid=admin,ou=system' -h localhost -p 10389 -x -w secret -b 'ou=groups,ou=system'
'(objectClass=*)'
> Runs successfully and outputs: 
> # groups, system
> dn: ou=groups,ou=system
> ou: groups
> objectClass: organizationalUnit
> objectClass: top
> # groupA, groups, system
> dn: uid=groupA,ou=groups,ou=system
> ou: Teams
> ou: Human Resources
> cn: groupA
> objectclass: group
> objectclass: top
> uid: groupA
> l: groupA
> (etc.)
> The stacktrace above was caused by ldapsearch -D 'uid=admin,ou=system' -h localhost -p
10389 -x -w secret -b 'ou=groups,ou=system' '(objectClass=group)'
> Cheers,
> Nick

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message