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

Florent Guillaume resolved CMIS-456.
------------------------------------

    Resolution: Fixed

Fixed at r1188212
http://svn.apache.org/viewvc?rev=1188212&view=rev
                
> query parser fails when run in "no fulltext parse" mode
> -------------------------------------------------------
>
>                 Key: CMIS-456
>                 URL: https://issues.apache.org/jira/browse/CMIS-456
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.5.0
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>             Fix For: OpenCMIS 0.6.0
>
>
> When running the parser and calling:
> {code:java}
> walker = QueryUtil.getWalker(statement);
> walker.setDoFullTextParse(false);
> walker.query(...);
> {code}
> There is an error in the parser:
> {noformat}
> message: Line 0:0 mismatched tree node: EOF expecting <UP>
> Caused by: Exception: org.antlr.runtime.MismatchedTreeNodeException. message: 
> null
>       at 
> org.antlr.runtime.tree.TreeParser.recoverFromMismatchedToken(TreeParser.java:134)
>       at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:115)
>       at 
> org.apache.chemistry.opencmis.server.support.query.CmisQueryWalker.where_clause(CmisQueryWalker.java:1638)
>       at 
> org.apache.chemistry.opencmis.server.support.query.CmisQueryWalker.query(CmisQueryWalker.java:276)
>       at example.Example.buildQuery(Example.java:31)
>       ... 34 more
> {noformat}
> This is due to incorrect tree rewriting done in the "no fulltext parse" mode.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to