Page 1 of 1

Fehler: Fehler während der Ausführung von Sonarscanner: kann nicht "com.sonar.slr.api.astnode.getTokenValue () aufrufen"

Posted: 01 Jul 2025, 09:45
by Anonymous
Ich benutze: < /p>
Sonarscanner 5.0.1.3006
Java 17.0.6 Oracle Corporation (64-Bit)
Info: Windows Server 2010 10.0 Amd64 < /p>
Wenn wir versuchen, das Projekt zu lösen. Problem. < /p>
Hier sind die Protokolle: < /p>
16:09:57
Analyze BSL 63% [================> ] 7232/11442 (0:03:35 / 0:02:05)
16:09:57 16:09:57.633 DEBUG: 'InformationRegisters/СведенияРеглОтчетАлкоПрил12Раздел1/Forms/ФормаЗаписи/Ext/Form/Module.bsl' generated metadata with charset 'UTF-8'
16:09:57 16:09:57.641 INFO: ------------------------------------------------------------------------
16:09:57 16:09:57.642 INFO: EXECUTION FAILURE
16:09:57 16:09:57.642 INFO: ------------------------------------------------------------------------
16:09:57 16:09:57.642 INFO: Total time: 6:21.516s
16:09:58 16:09:58.054 DEBUG: 'CommonModules/ВМТП_ОбменERP/Ext/Module.bsl' generated metadata with charset 'UTF-8'
16:09:58 16:09:58.055 INFO: Final Memory: 601M/2010M
16:09:58 16:09:58.055 INFO: ------------------------------------------------------------------------
16:09:58 16:09:58.055 ERROR: Error during SonarScanner execution
16:09:58 java.lang.NullPointerException: Cannot invoke "com.sonar.sslr.api.AstNode.getTokenValue()" because the return value of "com.sonar.sslr.api.AstNode.getFirstChild(com.sonar.sslr.api.AstNodeType[])" is null
16:09:58 at org.silverbulleters.sonar.plugins.bsl.checks.overall.NestedFunctionCallsCheck.isCheckedCallByArgsAndName(Unknown Source)
16:09:58 at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
...
...
[Pipeline] }
16:10:08 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Smoke testing)
Stage "Smoke testing" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (TDD)
Stage "TDD" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (BDD)
Stage "BDD" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Distribution build)
Stage "Distribution build" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] node
16:10:09 Running on vld_ci_agent01 in C:/jenkins/workspace/VMTP_AVTO_VISITS/VMTP_AVTO_PROD@2
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
< /code>
Ich benutze: < /p>
Sonarscanner 5.0.1.3006
Java 17.0.6 Oracle Corporation (64-Bit)
Info: Windows Server 2010 10.0 Amd64 < /p>
Wenn wir versuchen, das Projekt in JKINs zu führen. Bitte helfen Sie uns, das Problem zu lösen.