jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Daglian (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-385) ClassCastExeption when executing union queries
Date Mon, 03 Apr 2006 12:10:43 GMT
ClassCastExeption when executing union queries

         Key: JCR-385
         URL: http://issues.apache.org/jira/browse/JCR-385
     Project: Jackrabbit
        Type: Bug

  Components: query  
    Reporter: Michael Daglian

The XPathQueryBuilder throws a ClassCastException on line 322 in release 0.9 when executing
syntactically valid union queries. An example query would be "//element(*, nt:file) or //element(*,
mix:lockable)". It appears that in the invocation of the visit method the SimpleNode id indicates
a type of JJTROOTDESCENDANTS at a certain point but the data is actually an OrQueryNode and
hence the cast to a PathQueryNode fails.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message