Details

      Description

      Several methods were removed between Gradle 3.5.1 and 4.10.2

      Checkout 94afd16d974045ab7e42f77515c56e63cb40239f on 7.0.x
      gw -b releng.gradle lockDependencyVersion '-PdependencyName=com.liferay.portal.kernel' '-PdependencyVersion=2.89.0'
      
      P:/project/lfee70x/portal/modules (15:33:31)
      > ../gradlew -b releng.gradle lockDependencyVersion '-PdependencyName=com.liferay.portal.kernel' '-PdependencyVersion=2.89.0' --stacktrace
      Configuration on demand is an incubating feature.
      > Task :lockDependencyVersion FAILED
      
      FAILURE: Build failed with an exception.
      
      * Where:
      Build file 'P:\project\lfee70x\portal\modules\releng.gradle' line: 1164
      
      * What went wrong:
      Execution failed for task ':lockDependencyVersion'.
      > No signature of method: org.gradle.initialization.DefaultGradleLauncherFactory$NestedBuildFactoryImpl.nestedInstance() is applicable for argument types: (org.gradle.api.internal.StartParameterInternal) values: [StartParameter{taskRequests=[DefaultTaskExecutionRequest{args=[:apps:collaboration:announcements:announcements-web:classes, :apps:collaboration:announcements:announcements-web:testClasses, :apps:collaboration:announcements:announcements-web:testIntegrationClasses, :apps:collaboration:announcements:announcements-web:compileJSP, :apps:collaboration:announcements:announcements-web:formatSource],projectPath='null'}], excludedTaskNames=[], currentDir=P:\project\lfee70x\portal\modules, searchUpwards=true, projectProperties={}, systemPropertiesArgs={}, gradleUserHomeDir=P:\project\lfee70x\portal\.gradle, gradleHome=P:\project\lfee70x\portal\.gradle\wrapper\dists\gradle-4.10.2.LIFERAY-PATCHED-1-bin\4kcjyf9rw4d5c65u9ojcgaxwa\gradle-4.10.2, logLevel=LIFECYCLE, showStacktrace=ALWAYS, buildFile=null, initScripts=[], dryRun=false, rerunTasks=false, recompileScripts=false, offline=false, refreshDependencies=false, parallelProjectExecution=false, configureOnDemand=true, maxWorkerCount=8, buildCacheEnabled=false, interactive=true, writeDependencyLocks=false}]
        Possible solutions: nestedInstance(org.gradle.api.internal.BuildDefinition, org.gradle.internal.build.NestedBuildState)
      
      * Try:
      Run with --info or --debug option to get more log output. Run with --scan to get full insights.
      
      * Exception is:
      org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':lockDependencyVersion'.
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
              at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
              at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
              at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
              at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
              at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
              at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
              at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
              at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
              at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
              at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
              at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
              at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
              at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
              at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
              at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
              at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
              at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
              at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
              at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
              at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
              at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:74)
              at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:143)
              at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:40)
              at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:40)
              at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:24)
              at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:46)
              at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:49)
              at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:40)
              at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:33)
              at org.gradle.initialization.DefaultGradleLauncher$ExecuteTasks.run(DefaultGradleLauncher.java:355)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
              at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
              at org.gradle.initialization.DefaultGradleLauncher.runTasks(DefaultGradleLauncher.java:219)
              at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
              at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:124)
              at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:77)
              at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:74)
              at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:154)
              at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:38)
              at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:96)
              at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:74)
              at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
              at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
              at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
              at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.run(RunAsBuildOperationBuildActionRunner.java:50)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
              at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
              at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:45)
              at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)
              at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:47)
              at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:44)
              at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:79)
              at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:44)
              at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
              at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)
              at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)
              at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)
              at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)
              at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:62)
              at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:34)
              at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
              at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
              at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
              at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
              at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
              at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
              at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)
              at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)
              at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:46)
              at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)
              at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:52)
              at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:207)
              at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:402)
              at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:375)
              at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:37)
              at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:23)
              at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:368)
              at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:298)
              at org.gradle.launcher.Main.doAction(Main.java:36)
              at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
              at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)
              at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
              at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
              at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:31)
              at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
              at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
      Caused by: groovy.lang.MissingMethodException: No signature of method: org.gradle.initialization.DefaultGradleLauncherFactory$NestedBuildFactoryImpl.nestedInstance() is applicable for argument types: (org.gradle.api.internal.StartParameterInternal) values: [StartParameter{taskRequests=[DefaultTaskExecutionRequest{args=[:apps:collaboration:announcements:announcements-web:classes, :apps:collaboration:announcements:announcements-web:testClasses, :apps:collaboration:announcements:announcements-web:testIntegrationClasses, :apps:collaboration:announcements:announcements-web:compileJSP, :apps:collaboration:announcements:announcements-web:formatSource],projectPath='null'}], excludedTaskNames=[], currentDir=P:\project\lfee70x\portal\modules, searchUpwards=true, projectProperties={}, systemPropertiesArgs={}, gradleUserHomeDir=P:\project\lfee70x\portal\.gradle, gradleHome=P:\project\lfee70x\portal\.gradle\wrapper\dists\gradle-4.10.2.LIFERAY-PATCHED-1-bin\4kcjyf9rw4d5c65u9ojcgaxwa\gradle-4.10.2, logLevel=LIFECYCLE, showStacktrace=ALWAYS, buildFile=null, initScripts=[], dryRun=false, rerunTasks=false, recompileScripts=false, offline=false, refreshDependencies=false, parallelProjectExecution=false, configureOnDemand=true, maxWorkerCount=8, buildCacheEnabled=false, interactive=true, writeDependencyLocks=false}]
      Possible solutions: nestedInstance(org.gradle.api.internal.BuildDefinition, org.gradle.internal.build.NestedBuildState)
              at releng_blrgbje312r4i1fvc5gdt5i4y._executeGradle(P:\project\lfee70x\portal\modules\releng.gradle:1164)
              at releng_blrgbje312r4i1fvc5gdt5i4y$_run_closure5$_closure37$_closure38.doCall(P:\project\lfee70x\portal\modules\releng.gradle:237)
              at releng_blrgbje312r4i1fvc5gdt5i4y$_run_closure5$_closure37.doCall(P:\project\lfee70x\portal\modules\releng.gradle:210)
              at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:739)
              at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:712)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
              at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
              at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
              ... 100 more
      
      
      * Get more help at https://help.gradle.org
      
      BUILD FAILED in 17s
      1 actionable task: 1 executed
      

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              peter.shin Peter Shin
              Recent user:
              Lester Pi
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: