You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Otto Fowler (JIRA)" <ji...@apache.org> on 2017/08/06 02:42:00 UTC
[jira] [Created] (METRON-1089) STELLAR Shell: Handle
NoViableAltException with better information
Otto Fowler created METRON-1089:
-----------------------------------
Summary: STELLAR Shell: Handle NoViableAltException with better information
Key: METRON-1089
URL: https://issues.apache.org/jira/browse/METRON-1089
Project: Metron
Issue Type: Improvement
Reporter: Otto Fowler
Assignee: Otto Fowler
Antlr's NoViableAltException is thrown when Antlr cannot figure out what to do when building the expression tree. This happens when the grammar is improperly posed.
For example:
> TO_UPPER(IN)
Where IN is a reserved phrase, but is not posed correctly.
This is basically an invalid syntax exception. But buried in the cause of a ParseException, it really is not helpful.
The shell should find the ParseException cause, and if it is this exception, output a better message
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)