Skip to content

Instantly share code, notes, and snippets.

@VladFrost
Created March 15, 2019 14:54
Show Gist options
  • Save VladFrost/7a80f904715c1ab5376b5eef4fa85063 to your computer and use it in GitHub Desktop.
Save VladFrost/7a80f904715c1ab5376b5eef4fa85063 to your computer and use it in GitHub Desktop.
E:\Jenkins_slave\workspace\SBM 1.6.18 SonarQube Scanner>java -Duser.country=RU -Duser.language=ru -Xmx4g -jar "../SBM 1.6.18 SonarQube Scanner@script/tools/bsl-language-server-0.5.0-dev.jar" --analyze --srcDir sbm/src --reporter json
Analyzing files... 0% [> ] 0/6707 (0:00:00 / ?)
Analyzing files... 0% [> ] 8/6707 (0:00:01 / 0:14:36)
Analyzing files... 0% [> ] 13/6707 (0:00:02 / 0:18:05)
...
Analyzing files... 57% [============> ] 3861/6707 (0:03:38 / 0:02:41)
Analyzing files... 57% [============> ] 3883/6707 (0:03:39 / 0:02:39)
Analyzing files... 58% [============> ] 3891/6707 (0:03:40 / 0:02:39)
Analyzing files... 58% [============> ] 3901/6707 (0:03:41 / 0:02:39)
Analyzing files... 58% [============> ] 3908/6707 (0:03:42 / 0:02:39)
Exception in thread "main" java.lang.NullPointerException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source)
at java.util.concurrent.ForkJoinTask.reportException(Unknown Source)
at java.util.concurrent.ForkJoinTask.invoke(Unknown Source)
at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.collect(Unknown Source)
at org.github._1c_syntax.bsl.languageserver.cli.AnalyzeCommand.execute(AnalyzeCommand.java:94)
at org.github._1c_syntax.bsl.languageserver.BSLLSPLauncher.main(BSLLSPLauncher.java:62)
Caused by: java.lang.NullPointerException
at org.github._1c_syntax.bsl.languageserver.diagnostics.UsingCancelParameterDiagnostic.orCancel(UsingCancelParameterDiagnostic.java:98)
at org.github._1c_syntax.bsl.languageserver.diagnostics.UsingCancelParameterDiagnostic.rightPartIsValid(UsingCancelParameterDiagnostic.java:87)
at org.github._1c_syntax.bsl.languageserver.diagnostics.UsingCancelParameterDiagnostic.lambda$visitSub$2(UsingCancelParameterDiagnostic.java:75)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at org.github._1c_syntax.bsl.languageserver.diagnostics.UsingCancelParameterDiagnostic.visitSub(UsingCancelParameterDiagnostic.java:73)
at org.github._1c_syntax.bsl.languageserver.diagnostics.UsingCancelParameterDiagnostic.visitSub(UsingCancelParameterDiagnostic.java:37)
at org.github._1c_syntax.bsl.parser.BSLParser$SubContext.accept(BSLParser.java:2602)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.github._1c_syntax.bsl.parser.BSLParserBaseVisitor.visitSubs(BSLParserBaseVisitor.java:286)
at org.github._1c_syntax.bsl.parser.BSLParser$SubsContext.accept(BSLParser.java:2536)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)
at org.github._1c_syntax.bsl.parser.BSLParserBaseVisitor.visitFile(BSLParserBaseVisitor.java:41)
at org.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic.getDiagnostics(AbstractVisitorDiagnostic.java:40)
at org.github._1c_syntax.bsl.languageserver.providers.DiagnosticProvider.lambda$computeDiagnostics$0(DiagnosticProvider.java:55)
at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
at java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
at java.util.stream.AbstractTask.compute(Unknown Source)
at java.util.concurrent.CountedCompleter.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool.helpComplete(Unknown Source)
at java.util.concurrent.ForkJoinPool.awaitJoin(Unknown Source)
at java.util.concurrent.ForkJoinTask.doInvoke(Unknown Source)
at java.util.concurrent.ForkJoinTask.invoke(Unknown Source)
at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.collect(Unknown Source)
at org.github._1c_syntax.bsl.languageserver.providers.DiagnosticProvider.computeDiagnostics(DiagnosticProvider.java:56)
at org.github._1c_syntax.bsl.languageserver.cli.AnalyzeCommand.getFileContextFromFile(AnalyzeCommand.java:107)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.stream.ReferencePipeline$11$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
at java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
at java.util.stream.AbstractTask.compute(Unknown Source)
at java.util.concurrent.CountedCompleter.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment