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

Ken Hu updated TINKERPOP-2999:
------------------------------
    Description: 
As reported by user "pdsway" on gremlin-users.

In remote console mode the 3.7.0 Gremlin Console will send incomplete queries 
to the server causing a parsing error.

This is caused by the upgrade to Groovy 4. That version of Groovy uses the 
newer antlr4 parser which throws errors later in execution. So even if the 
parser says the the line is COMPLETE, it could still be incomplete. We need to 
add the same try catch to the remote console's execution to make the handling 
the same as groovysh.

  was:
In remote console mode the 3.7.0 Gremlin Console will send incomplete queries 
to the server causing a parsing error.

This is caused by the upgrade to Groovy 4. That version of Groovy uses the 
newer antlr4 parser which throws errors later in execution. So even if the 
parser says the the line is COMPLETE, it could still be incomplete. We need to 
add the same try catch to the remote console's execution to make the handling 
the same as groovysh.


> 3.7.0 Remote Console Sends Incomplete Queries
> ---------------------------------------------
>
>                 Key: TINKERPOP-2999
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2999
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 3.7.0
>            Reporter: Ken Hu
>            Priority: Critical
>
> As reported by user "pdsway" on gremlin-users.
> In remote console mode the 3.7.0 Gremlin Console will send incomplete queries 
> to the server causing a parsing error.
> This is caused by the upgrade to Groovy 4. That version of Groovy uses the 
> newer antlr4 parser which throws errors later in execution. So even if the 
> parser says the the line is COMPLETE, it could still be incomplete. We need 
> to add the same try catch to the remote console's execution to make the 
> handling the same as groovysh.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to