Radu Cotescu created SLING-4219:
-----------------------------------

             Summary: [Sightly] Unrecognised operators in exceptions are not 
properly handled
                 Key: SLING-4219
                 URL: https://issues.apache.org/jira/browse/SLING-4219
             Project: Sling
          Issue Type: Bug
          Components: Scripting
            Reporter: Radu Cotescu
            Priority: Minor
             Fix For: Scripting Sightly Engine 1.0.0


The 
{{org.apache.sling.scripting.sightly.impl.compiler.frontend.SightlyParserErrorListener}}
 handles ANTLR parsing errors, in order to provide more detailed and easier to 
understand error reporting for Sightly scripts.

For the cases when ANTLR doesn't provide a {{RecognitionException}}, although 
the listener still throws an error, the error is because the 
{{SightlyParsingException}} is instantiated with a {{null}} cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to