Issue Details (XML | Word | Printable)

Key: DIRSERVER-381
Type: Bug Bug
Status: Closed Closed
Resolution: Invalid
Priority: Major Major
Assignee: Alex Karasulu
Reporter: Nick Faiz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Parser failure on name: Antlr exception trace: line 15:7: unexpected char: '#'

Created: 17/Jun/05 09:58 AM   Updated: 21/Apr/07 11:12 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works test-userbase.ldif 2005-06-17 09:59 AM Nick Faiz 2 kB

Resolution Date: 25/Aug/05 02:48 AM


 Description  « Hide
This probably only occurs under a certain config. (see below), so it is possible that the configuration itself is erroneous.

When running a search on a user, represented in LDIF, below, I hit the following stack trace with the following search filter:

search filter: (member=groupB)

Parser failure on name:
groupB
Antlr exception trace:
line 15:7: unexpected char: '#'
at org.apache.ldap.common.name.antlrTypeLexer.nextToken(antlrTypeLexer.java:147)
at antlr.TokenStreamSelector.nextToken(TokenStreamSelector.java:64)
at antlr.TokenBuffer.fill(TokenBuffer.java:69)
at antlr.TokenBuffer.LA(TokenBuffer.java:80)
at antlr.LLkParser.LA(LLkParser.java:52)
at antlr.Parser.match(Parser.java:212)
at org.apache.ldap.common.name.antlrNameParser.attributeTypeAndValue(antlrNameParser.java:179)

dn: uid=ldapusera,ou=users,ou=system
cn: ldapusera
sn: Surname1
givenname: ldapusera
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
ou: Human Resources
ou: People
l: Atlassian test subject
uid: ldapusera
mail: ldapusera@testingarea.org
userpassword: passa
title: groupA
title: groupB
member: groupA


The search filter successfully works on title, uid, and mail. Perhaps I'm making a mistake by trying to incorporate the member attribute, from RFC 2256 (2.5.4.31), into an inetorgperson entity? All the same, the error message is mysterious ...

This problem is occurring on 0.9.1 main, before the addition of the Spring config. layer (i.e., Im still setting up with a server.properties file).

Cheers,
Nick

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Nick Faiz made changes - 17/Jun/05 09:59 AM
Field Original Value New Value
Attachment test-userbase.ldif [ 12310809 ]
Alex Karasulu made changes - 17/Jun/05 11:46 AM
Summary searchFilter for 2 Parser failure on name: Antlr exception trace: line 15:7: unexpected char: '#' Parser failure on name: Antlr exception trace: line 15:7: unexpected char: '#'
Alex Karasulu made changes - 25/Aug/05 02:44 AM
Status Open [ 1 ] In Progress [ 3 ]
Alex Karasulu made changes - 25/Aug/05 02:48 AM
Resolution Invalid [ 6 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Fix Version/s 0.9.2 [ 12310192 ]
Alex Karasulu made changes - 10/Feb/06 12:34 PM
Key DIREVE-165 DIRSERVER-381
Project Directory Server [ 10516 ] Directory ApacheDS [ 12310260 ]
Fix Version/s 0.9.2 [ 12310192 ]
Affects Version/s 0.9.1 [ 11125 ]
Emmanuel Lecharny made changes - 21/Apr/07 11:12 AM
Status Resolved [ 5 ] Closed [ 6 ]