Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rubberduck v2.1.1.2450-pre : VBAModuleParser;SLL mode exception Symbole [ #3535

Closed
thetopic opened this issue Nov 3, 2017 · 2 comments

Comments

Projects
None yet
4 participants
@thetopic
Copy link

commented Nov 3, 2017

To access the result of my query I use RecordSet![FieldName] and he doesn't seem to like it.

2017-11-03 09:33:47.5284;WARN-2.1.6516.16818;Rubberduck.Parsing.VBA.VBAModuleParser;SLL mode failed while parsing the exported version of module Form_******************************* at symbol [ at L141C34. Retrying using LL.;
2017-11-03 09:33:47.5294;DEBUG-2.1.6516.16818;Rubberduck.Parsing.VBA.VBAModuleParser;SLL mode exception;Rubberduck.Parsing.Symbols.ParsingExceptions.MainParseSyntaxErrorException: mismatched input '[' expecting {<EOF>, ':', '!', '.', '&', AND, EQV, IMP, IS, LIKE, MOD, OR, REM, XOR, '/', '\', '=', GEQ, '>', LEQ, '(', '<', '-', '*', NEQ, '+', '^', NEWLINE, ''', WS, LINE_CONTINUATION} ---> Antlr4.Runtime.InputMismatchException: Une exception de type 'Antlr4.Runtime.InputMismatchException' a été levée.
   à Antlr4.Runtime.DefaultErrorStrategy.Sync(Parser recognizer)
   à Rubberduck.Parsing.Grammar.VBAParser.lExpression(Int32 _p) dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 17792
   --- Fin de la trace de la pile d'exception interne ---
   à Rubberduck.Parsing.Symbols.ParsingExceptions.MainParseExceptionErrorListener.SyntaxError(IRecognizer recognizer, IToken offendingSymbol, Int32 line, Int32 charPositionInLine, String msg, RecognitionException e) dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Symbols\ParsingExceptions\MainParseExceptionErrorListener.cs:ligne 15
   à Antlr4.Runtime.ProxyErrorListener`1.SyntaxError(IRecognizer recognizer, Symbol offendingSymbol, Int32 line, Int32 charPositionInLine, String msg, RecognitionException e)
   à Antlr4.Runtime.Parser.NotifyErrorListeners(IToken offendingToken, String msg, RecognitionException e)
   à Antlr4.Runtime.DefaultErrorStrategy.NotifyErrorListeners(Parser recognizer, String message, RecognitionException e)
   à Antlr4.Runtime.DefaultErrorStrategy.ReportInputMismatch(Parser recognizer, InputMismatchException e)
   à Antlr4.Runtime.DefaultErrorStrategy.ReportError(Parser recognizer, RecognitionException e)
   à Rubberduck.Parsing.Grammar.VBAParser.lExpression(Int32 _p) dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 17944
   à Rubberduck.Parsing.Grammar.VBAParser.expression(Int32 _p) dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 16810
   à Rubberduck.Parsing.Grammar.VBAParser.letStmt() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 8842
   à Rubberduck.Parsing.Grammar.VBAParser.mainBlockStmt() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 1893
   à Rubberduck.Parsing.Grammar.VBAParser.blockStmt() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 1633
   à Rubberduck.Parsing.Grammar.VBAParser.block() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 1548
   à Rubberduck.Parsing.Grammar.VBAParser.caseClause() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 11325
   à Rubberduck.Parsing.Grammar.VBAParser.selectCaseStmt() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 11129
   à Rubberduck.Parsing.Grammar.VBAParser.mainBlockStmt() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 1963
   à Rubberduck.Parsing.Grammar.VBAParser.blockStmt() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 1633
   à Rubberduck.Parsing.Grammar.VBAParser.block() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 1548
   à Rubberduck.Parsing.Grammar.VBAParser.subStmt() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 11796
   à Rubberduck.Parsing.Grammar.VBAParser.moduleBodyElement() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 1484
   à Rubberduck.Parsing.Grammar.VBAParser.moduleBody() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 1388
   à Rubberduck.Parsing.Grammar.VBAParser.module() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 364
   à Rubberduck.Parsing.Grammar.VBAParser.startRule() dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\Grammar\VBAParser.cs:ligne 267
   à Rubberduck.Parsing.VBA.VBAModuleParser.Parse(String moduleName, CommonTokenStream moduleTokens, IParseTreeListener[] listeners, BaseErrorListener errorListener) dans C:\Source\Repos\Rubberduck\Rubberduck.Parsing\VBA\VBAModuleParser.cs:ligne 25
Token: [ at L141C34
Component: Form_******************************* (exported version)
ParseType: Main parse

@MDoerner

This comment has been minimized.

Copy link
Contributor

commented Nov 3, 2017

Is there also a non-SSL parser error? If there is, it should came right after an ERROR level log entry about the same issue.

The SLL error only means that the faster but less powerful parsing strategy failed. In this case, we retry using the more powerful LL strategy.

@Vogel612 Vogel612 added the support label Nov 3, 2017

@Vogel612 Vogel612 added the stale label Nov 25, 2017

@bclothier

This comment has been minimized.

Copy link
Contributor

commented Jul 17, 2018

Closing the issue since it's apparently resolved - I cannot reproduce this.

@bclothier bclothier closed this Jul 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.