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

NullPointerException: Cannot invoke "org.antlr.v4.runtime.tree.TerminalNode.getText()" because the return value of "com... #3040

Closed
sentry-io bot opened this issue Apr 17, 2023 · 0 comments · Fixed by #3041
Assignees
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 17, 2023

Sentry Issue: BSL-LANGUAGE-SERVER-29

NullPointerException: Cannot invoke "org.antlr.v4.runtime.tree.TerminalNode.getText()" because the return value of "com.github._1c_syntax.bsl.parser.BSLParser$ParamContext.IDENTIFIER()" is null
    at com.github._1c_syntax.bsl.languageserver.diagnostics.UnusedParametersDiagnostic.lambda$visitSubCodeBlock$0(UnusedParametersDiagnostic.java:67)
    at com.github._1c_syntax.bsl.languageserver.diagnostics.UnusedParametersDiagnostic.visitSubCodeBlock(UnusedParametersDiagnostic.java:68)
    at com.github._1c_syntax.bsl.languageserver.diagnostics.UnusedParametersDiagnostic.visitSubCodeBlock(UnusedParametersDiagnostic.java:41)
    at com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic.getDiagnostics_aroundBody0(AbstractVisitorDiagnostic.java:46)
    at com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic$AjcClosure1.run(AbstractVisitorDiagnostic.java:1)
...
(71 additional frame(s) were not displayed)
asosnoviy added a commit that referenced this issue Apr 17, 2023
@asosnoviy asosnoviy mentioned this issue Apr 17, 2023
5 tasks
asosnoviy added a commit that referenced this issue Apr 17, 2023
@asosnoviy asosnoviy self-assigned this Apr 17, 2023
asosnoviy added a commit that referenced this issue Apr 17, 2023
@nixel2007 nixel2007 added this to the 0.21.0 milestone Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants