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] Commented: (DIRSERVER-1134) ClassCastException in ExpressionEnumerator
Date Thu, 13 Mar 2008 16:16:24 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578359#action_12578359
] 

Emmanuel Lecharny commented on DIRSERVER-1134:
----------------------------------------------

Good catch !!!

As we currently don't support Approximate searches, this kind of search default to a simple
equality search. The problem is that the ApproximateNode does not inherit from the EqualityNode.
This must be changed.

> ClassCastException in ExpressionEnumerator
> ------------------------------------------
>
>                 Key: DIRSERVER-1134
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1134
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.1, 1.0.2
>            Reporter: Kiran Ayyagari
>             Fix For: 1.5.2, 1.0.3
>
>
> In ExpressionEnumerator.java the below code will fail if executed with a ClassCastException
>  if ( node instanceof ApproximateNode )
>      {
>        list = enumEquality( ( EqualityNode ) node ); // line 135 This cast will always
throw a ClassCastException
>      } 

-- 
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