022-05-25T14:46:10.328+0000 [ERROR] [org.sonarqube.gradle.SonarQubeTask] ECJ: Unable to parse file
2022-05-25T14:46:10.4283236Z java.lang.NullPointerException: Cannot read field “id” because “typeBinding” is null
2022-05-25T14:46:10.4304968Z at org.eclipse.jdt.internal.compiler.codegen.CodeStream.popInvokeTypeBinding(CodeStream.java:4682)
[ERROR] [org.sonarqube.gradle.SonarQubeTask] Unable to parse source file
Unable to parse source file : ‘.java’
ECJ: Unable to parse file.
Could not find ref: $(PR_TARGET_BRANCH) in refs/heads, refs/remotes/upstream or refs/remotes/origin
We have sonarcloud subscription and sonarcube plugin 3.3 version in build.gradle file .
Yes we generate report code on sonarcloud . Project - Java 17 code based
2022-05-26T12:26:26.6370265Z ##[section]Starting: gradlew sonarqube
2022-05-26T12:26:26.6597837Z ==============================================================================
2022-05-26T12:26:26.6598406Z Task : Gradle
2022-05-26T12:26:26.6598687Z Description : Build using a Gradle wrapper script
2022-05-26T12:26:26.6598933Z Version : 3.200.0
2022-05-26T12:26:26.6599207Z Author : Microsoft Corporation
2022-05-26T12:26:26.6599533Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/gradle
2022-05-26T12:26:26.6599933Z ==============================================================================
2022-05-26T12:26:27.8015957Z [command]C:\windows\system32\cmd.exe /D /S /C "C:\agent\_work\9\s\gradlew.bat sonarqube -x clean -x build -x test"
2022-05-26T12:26:29.3134566Z
2022-05-26T12:26:29.3190620Z > Configure project :
2022-05-26T12:26:29.3206339Z Tag Creation will be skipped... (snapshot version)
2022-05-26T12:26:29.4154343Z Directory 'C:\Program Files (x86)\Java\jre1.8.0_321' (Windows Registry) used for java installations does not exist
2022-05-26T12:26:29.4155766Z Directory 'C:\Program Files\Java\jdk1.8.0_333' (Windows Registry) used for java installations does not exist
2022-05-26T12:26:29.4157768Z Directory 'C:\Program Files\Java\jdk1.8.0_333' (Windows Registry) used for java installations does not exist
2022-05-26T12:26:29.4159646Z Directory 'C:\Program Files (x86)\Java\jre1.8.0_321' (Windows Registry) used for java installations does not exist
2022-05-26T12:26:29.4160892Z Directory 'C:\Program Files\Java\jre1.8.0_333' (Windows Registry) used for java installations does not exist
2022-05-26T12:26:29.4161921Z Directory 'C:\Program Files\Java\jdk1.8.0_321' (Windows Registry) used for java installations does not exist
2022-05-26T12:26:29.4162840Z Directory 'C:\Program Files\Java\jre1.8.0_333' (Windows Registry) used for java installations does not exist
2022-05-26T12:26:29.4163846Z Directory 'C:\Program Files\Java\jre1.8.0_321' (Windows Registry) used for java installations does not exist
2022-05-26T12:26:29.5099773Z
2022-05-26T12:26:29.5108410Z > Task :compileJava NO-SOURCE
2022-05-26T12:26:29.5109443Z > Task :processResources NO-SOURCE
2022-05-26T12:26:29.5110353Z > Task :classes UP-TO-DATE
2022-05-26T12:26:29.5111221Z > Task :compileTestJava NO-SOURCE
2022-05-26T12:26:29.8095350Z > Task :kinetix-cloud-core:compileJava UP-TO-DATE
2022-05-26T12:26:29.9065002Z > Task :kinetix-cloud-core:processResources UP-TO-DATE
2022-05-26T12:26:29.9066636Z > Task :kinetix-cloud-core:classes UP-TO-DATE
2022-05-26T12:26:30.0092678Z > Task :kinetix-cloud-core:compileTestJava UP-TO-DATE
2022-05-26T12:26:33.2983114Z > Task :kinetix-kds-client:compileJava UP-TO-DATE
2022-05-26T12:26:33.2983952Z > Task :kinetix-kds-client:processResources NO-SOURCE
2022-05-26T12:26:33.2987303Z > Task :kinetix-kds-client:classes UP-TO-DATE
2022-05-26T12:26:35.2058945Z > Task :kinetix-kds-client:compileTestJava UP-TO-DATE
2022-05-26T12:26:40.4078260Z
2022-05-26T12:26:40.4083419Z > Task :sonarqube
2022-05-26T12:26:40.4090416Z Could not find ref: $(PR_TARGET_BRANCH) in refs/heads, refs/remotes/upstream or refs/remotes/origin
2022-05-26T12:27:03.5152575Z Fallback to file by file analysis for 9 files
2022-05-26T12:27:04.0158996Z ECJ: Unable to parse file
2022-05-26T12:27:04.0175755Z java.lang.NullPointerException: Cannot read field "id" because "typeBinding" is null
2022-05-26T12:27:04.0475287Z at org.eclipse.jdt.internal.compiler.codegen.CodeStream.popInvokeTypeBinding(CodeStream.java:4682)
2022-05-26T12:27:04.0546921Z at org.eclipse.jdt.internal.compiler.codegen.CodeStream.invoke18(CodeStream.java:4718)
2022-05-26T12:27:04.0570076Z at org.eclipse.jdt.internal.compiler.codegen.CodeStream.invoke(CodeStream.java:4830)
2022-05-26T12:27:04.0621899Z at org.eclipse.jdt.internal.compiler.ast.MessageSend.generateCode(MessageSend.java:562)
2022-05-26T12:27:04.0625415Z at org.eclipse.jdt.internal.compiler.ast.SwitchStatement.generateCodeForStringSwitch(SwitchStatement.java:382)
2022-05-26T12:27:04.0637492Z at org.eclipse.jdt.internal.compiler.ast.SwitchStatement.generateCode(SwitchStatement.java:492)
2022-05-26T12:27:04.0650584Z at org.eclipse.jdt.internal.compiler.ast.SwitchExpression.generateCode(SwitchExpression.java:332)
2022-05-26T12:27:04.0651905Z at org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.generateCode(LocalDeclaration.java:162)
2022-05-26T12:27:04.0655736Z at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:354)
2022-05-26T12:27:04.0658204Z at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:291)
2022-05-26T12:27:04.0659419Z at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:761)
2022-05-26T12:27:04.0660489Z at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:831)
2022-05-26T12:27:04.0661599Z at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:412)
2022-05-26T12:27:04.0662765Z at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1246)
2022-05-26T12:27:04.0663813Z at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:712)
2022-05-26T12:27:04.0664804Z at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1245)
2022-05-26T12:27:04.0667176Z at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:868)
2022-05-26T12:27:04.0668268Z at org.sonar.java.model.JParser.parse(JParser.java:158)
2022-05-26T12:27:04.0669151Z at org.sonar.java.model.JParserConfig$FileByFile.parse(JParserConfig.java:268)
2022-05-26T12:27:04.0670476Z at org.sonar.java.model.JParserConfig$Batch.fallbackToFileByFileMode(JParserConfig.java:218)
2022-05-26T12:27:04.0671480Z at org.sonar.java.model.JParserConfig$Batch.parse(JParserConfig.java:197)
2022-05-26T12:27:04.0672464Z at org.sonar.java.JavaFrontend.scanBatch(JavaFrontend.java:237)
2022-05-26T12:27:04.0674235Z at org.sonar.java.JavaFrontend.scanInBatches(JavaFrontend.java:227)
2022-05-26T12:27:04.0675610Z at org.sonar.java.JavaFrontend.scanAsBatch(JavaFrontend.java:194)
2022-05-26T12:27:04.0677123Z at org.sonar.java.JavaFrontend.scan(JavaFrontend.java:169)
2022-05-26T12:27:04.0677930Z at org.sonar.plugins.java.JavaSensor.execute(JavaSensor.java:113)
2022-05-26T12:27:04.0678848Z at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:62)
2022-05-26T12:27:04.0680215Z at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)
2022-05-26T12:27:04.0681345Z at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:48)
2022-05-26T12:27:04.0682398Z at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:66)
2022-05-26T12:27:04.0683452Z at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:48)
2022-05-26T12:27:04.0684688Z at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:64)
2022-05-26T12:27:04.0685662Z at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
2022-05-26T12:27:04.0686581Z at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
2022-05-26T12:27:04.0687525Z at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:446)
2022-05-26T12:27:04.0688557Z at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:442)
2022-05-26T12:27:04.0689557Z at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:439)
2022-05-26T12:27:04.0690568Z at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:400)
2022-05-26T12:27:04.0691555Z at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
2022-05-26T12:27:04.0692471Z at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
2022-05-26T12:27:04.0694274Z at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:128)
2022-05-26T12:27:04.0695255Z at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
2022-05-26T12:27:04.0696215Z at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
2022-05-26T12:27:04.0697152Z at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:58)
2022-05-26T12:27:04.0697982Z at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:52)
2022-05-26T12:27:04.0698914Z at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
2022-05-26T12:27:04.0699879Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-05-26T12:27:04.0700847Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2022-05-26T12:27:04.0701937Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-05-26T12:27:04.0702899Z at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2022-05-26T12:27:04.0703821Z at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
2022-05-26T12:27:04.0704666Z at jdk.proxy5/jdk.proxy5.$Proxy94.execute(Unknown Source)
2022-05-26T12:27:04.0705789Z at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
2022-05-26T12:27:04.0706751Z at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
2022-05-26T12:27:04.0707627Z at org.sonarqube.gradle.SonarQubeTask.run(SonarQubeTask.java:102)
2022-05-26T12:27:04.0708452Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-05-26T12:27:04.0709344Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2022-05-26T12:27:04.0710384Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-05-26T12:27:04.0711341Z at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2022-05-26T12:27:04.0712179Z at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
2022-05-26T12:27:04.0713197Z at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
2022-05-26T12:27:04.0714366Z at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
2022-05-26T12:27:04.0715449Z at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
2022-05-26T12:27:04.0716430Z at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:242)
2022-05-26T12:27:04.0717453Z at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
2022-05-26T12:27:04.0718556Z at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
2022-05-26T12:27:04.0719673Z at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
2022-05-26T12:27:04.0720703Z at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
2022-05-26T12:27:04.0721836Z at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
2022-05-26T12:27:04.0722945Z at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
2022-05-26T12:27:04.0724055Z at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
2022-05-26T12:27:04.0725193Z at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
2022-05-26T12:27:04.0726343Z at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:227)
2022-05-26T12:27:04.0727378Z at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:210)
2022-05-26T12:27:04.0745157Z at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:193)
2022-05-26T12:27:04.0746326Z at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:171)
2022-05-26T12:27:04.0747374Z at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
2022-05-26T12:27:04.0748394Z at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
2022-05-26T12:27:04.0749320Z at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
2022-05-26T12:27:04.0750287Z at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
2022-05-26T12:27:04.0751424Z at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
2022-05-26T12:27:04.0752829Z at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
2022-05-26T12:27:04.0754176Z at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
2022-05-26T12:27:04.0755385Z at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
2022-05-26T12:27:04.0756860Z at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
2022-05-26T12:27:04.0758001Z at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
2022-05-26T12:27:04.0759369Z at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
2022-05-26T12:27:04.0760784Z at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
2022-05-26T12:27:04.0761957Z at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)
2022-05-26T12:27:04.0763365Z at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)
2022-05-26T12:27:04.0764719Z at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)
2022-05-26T12:27:04.0765969Z at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)
2022-05-26T12:27:04.0767316Z at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
2022-05-26T12:27:04.0768483Z at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)
2022-05-26T12:27:04.0769749Z at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
2022-05-26T12:27:04.0771053Z at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
2022-05-26T12:27:04.0772099Z at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
2022-05-26T12:27:04.0773151Z at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
2022-05-26T12:27:04.0774263Z at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)
2022-05-26T12:27:04.0775380Z at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:61)
2022-05-26T12:27:04.0776682Z at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:42)
2022-05-26T12:27:04.0777911Z at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60)
2022-05-26T12:27:04.0779003Z at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27)
2022-05-26T12:27:04.0780184Z at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:180)
2022-05-26T12:27:04.0781360Z at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)
2022-05-26T12:27:04.0783315Z at org.gradle.internal.Either$Right.fold(Either.java:175)
2022-05-26T12:27:04.0784283Z at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
2022-05-26T12:27:04.0785298Z at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)
2022-05-26T12:27:04.0786346Z at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)
2022-05-26T12:27:04.0787470Z at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36)
2022-05-26T12:27:04.0788625Z at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25)
2022-05-26T12:27:04.0789727Z at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
2022-05-26T12:27:04.0790773Z at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
2022-05-26T12:27:04.0791811Z at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:110)
2022-05-26T12:27:04.0792918Z at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)
2022-05-26T12:27:04.0793859Z at java.base/java.util.Optional.orElseGet(Optional.java:364)
2022-05-26T12:27:04.0794992Z at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)
2022-05-26T12:27:04.0796056Z at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
2022-05-26T12:27:04.0797082Z at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)
2022-05-26T12:27:04.0798152Z at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
2022-05-26T12:27:04.0799387Z at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
2022-05-26T12:27:04.0800704Z at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
2022-05-26T12:27:04.0802680Z at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89)
2022-05-26T12:27:04.0803908Z at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)
2022-05-26T12:27:04.0805064Z at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)
2022-05-26T12:27:04.0806077Z at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)
2022-05-26T12:27:04.0807260Z at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)
2022-05-26T12:27:04.0808578Z at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)
2022-05-26T12:27:04.0809951Z at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:249)
2022-05-26T12:27:04.0811287Z at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:86)
2022-05-26T12:27:04.0812385Z at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:54)
2022-05-26T12:27:04.0813636Z at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
2022-05-26T12:27:04.0815059Z at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
2022-05-26T12:27:04.0816732Z at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
2022-05-26T12:27:04.0818428Z at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)
2022-05-26T12:27:04.0820190Z at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)
2022-05-26T12:27:04.0822496Z at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
2022-05-26T12:27:04.0824631Z at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:287)
2022-05-26T12:27:04.0826186Z at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
2022-05-26T12:27:04.0827663Z at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
2022-05-26T12:27:04.0828819Z at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
2022-05-26T12:27:04.0829971Z at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
2022-05-26T12:27:04.0832885Z at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)
2022-05-26T12:27:04.0835433Z at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
2022-05-26T12:27:04.0844895Z at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
2022-05-26T12:27:04.0846223Z at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:144)
2022-05-26T12:27:04.0847524Z at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:133)
2022-05-26T12:27:04.0854980Z at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
2022-05-26T12:27:04.0856948Z at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
2022-05-26T12:27:04.0858265Z at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
2022-05-26T12:27:04.0865501Z at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
2022-05-26T12:27:04.0867414Z at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
2022-05-26T12:27:04.0868807Z at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
2022-05-26T12:27:04.0870152Z at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
2022-05-26T12:27:04.0875827Z at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
2022-05-26T12:27:04.0877359Z at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
2022-05-26T12:27:04.0878778Z at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
2022-05-26T12:27:04.0880297Z at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
2022-05-26T12:27:04.0882386Z at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
2022-05-26T12:27:04.0883688Z at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
2022-05-26T12:27:04.0884957Z at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
2022-05-26T12:27:04.0888611Z at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
2022-05-26T12:27:04.0889883Z at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
2022-05-26T12:27:04.0891330Z at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
2022-05-26T12:27:04.0893138Z at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
2022-05-26T12:27:04.0894854Z at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)
2022-05-26T12:27:04.0896073Z at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:333)
2022-05-26T12:27:04.0905191Z at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:320)
2022-05-26T12:27:04.0907141Z at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:313)
2022-05-26T12:27:04.0908551Z at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:299)
2022-05-26T12:27:04.0913780Z at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:143)
2022-05-26T12:27:04.0915000Z at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:227)
2022-05-26T12:27:04.0916193Z at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:218)
2022-05-26T12:27:04.0917357Z at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:140)
2022-05-26T12:27:04.0923153Z at org.gradle.execution.plan.DefaultPlanExecutor.process(DefaultPlanExecutor.java:72)
2022-05-26T12:27:04.0924722Z at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.executeWithServices(DefaultTaskExecutionGraph.java:144)
2022-05-26T12:27:04.0925919Z at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:129)
2022-05-26T12:27:04.0928749Z at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:42)
2022-05-26T12:27:04.0930462Z at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:51)
2022-05-26T12:27:04.0932950Z at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.java:54)
2022-05-26T12:27:04.0934871Z at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.java:43)
2022-05-26T12:27:04.0936883Z at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
2022-05-26T12:27:04.0938613Z at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
2022-05-26T12:27:04.0940003Z at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
2022-05-26T12:27:04.0941410Z at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
2022-05-26T12:27:04.0942976Z at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
2022-05-26T12:27:04.0944193Z at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
2022-05-26T12:27:04.0945366Z at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
2022-05-26T12:27:04.0946598Z at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
2022-05-26T12:27:04.0947954Z at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor.execute(BuildOperationFiringBuildWorkerExecutor.java:40)
2022-05-26T12:27:04.0949321Z at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$executeTasks$7(DefaultBuildLifecycleController.java:165)
2022-05-26T12:27:04.0950631Z at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:238)
2022-05-26T12:27:04.0952064Z at org.gradle.internal.model.StateTransitionController.lambda$tryTransition$8(StateTransitionController.java:174)
2022-05-26T12:27:04.0953143Z at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
2022-05-26T12:27:04.0954478Z at org.gradle.internal.model.StateTransitionController.tryTransition(StateTransitionController.java:174)
2022-05-26T12:27:04.0955605Z at org.gradle.internal.build.DefaultBuildLifecycleController.executeTasks(DefaultBuildLifecycleController.java:165)
2022-05-26T12:27:04.0956931Z at org.gradle.internal.build.DefaultBuildWorkGraphController$DefaultBuildWorkGraph.runWork(DefaultBuildWorkGraphController.java:142)
2022-05-26T12:27:04.0958164Z at org.gradle.composite.internal.DefaultBuildController.doBuild(DefaultBuildController.java:231)
2022-05-26T12:27:04.0959145Z at org.gradle.internal.Factories$1.create(Factories.java:31)
2022-05-26T12:27:04.0960675Z at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270)
2022-05-26T12:27:04.0962014Z at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:119)
2022-05-26T12:27:04.0964057Z at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:124)
2022-05-26T12:27:04.0966168Z at org.gradle.composite.internal.DefaultBuildController.doRun(DefaultBuildController.java:204)
2022-05-26T12:27:04.0967596Z at org.gradle.composite.internal.DefaultBuildController.access$000(DefaultBuildController.java:51)
2022-05-26T12:27:04.0969071Z at org.gradle.composite.internal.DefaultBuildController$BuildOpRunnable.run(DefaultBuildController.java:264)
2022-05-26T12:27:04.0970252Z at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
2022-05-26T12:27:04.0971857Z at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2022-05-26T12:27:04.0972984Z at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
2022-05-26T12:27:04.0974123Z at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
2022-05-26T12:27:04.0975270Z at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2022-05-26T12:27:04.0976358Z at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2022-05-26T12:27:04.0977324Z at java.base/java.lang.Thread.run(Thread.java:833)
2022-05-26T12:27:04.0977663Z
2022-05-26T12:27:04.0978620Z Unable to parse source file : 'kinetix-cloud-core/src/main/java/com/kinetix/model/generator/ModelGenerator.java'
2022-05-26T12:27:04.0979471Z ECJ: Unable to parse file.
2022-05-26T12:28:05.8001640Z Could not find ref: $(PR_TARGET_BRANCH) in refs/heads, refs/remotes/upstream or refs/remotes/origin
2022-05-26T12:28:27.0770210Z
2022-05-26T12:28:27.0773479Z Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
2022-05-26T12:28:27.0773959Z
2022-05-26T12:28:27.0774754Z You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
2022-05-26T12:28:27.0775354Z
2022-05-26T12:28:27.0779869Z See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
2022-05-26T12:28:27.0780936Z
2022-05-26T12:28:27.0781591Z BUILD SUCCESSFUL in 1m 59s
2022-05-26T12:28:27.0782208Z 6 actionable tasks: 1 executed, 5 up-to-date
2022-05-26T12:28:27.6130113Z ##[section]Finishing: gradlew sonarqube
Ann, No issue with code . We checked locally and worked with java 17 . Issue facing sonar gradle related task and shared logs with you .
This issue comes with java 17 and gradle plugin or something version issue. Can you tell which sonarcube plugin we use with java 17 and which gradle sonarscanner we use .
Looks like comptaibility issue . Now using these task to get report .
After discussion with @gyanendra_singh, it appears that the parser of the Java analyzer experiences trouble when going through some switch expressions. A ticket has been created to investigate further and solve the issue.