You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Ken Hu (Jira)" <ji...@apache.org> on 2023/10/03 19:43:00 UTC

[jira] [Created] (TINKERPOP-2999) 3.7.0 Remote Console Sends Incomplete Queries

Ken Hu created TINKERPOP-2999:
---------------------------------

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


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)