Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-84250

Fail to compile when building 7.1.x bundle

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.1.X
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      5

      Description

      Steps to repruduce:

      1. Update to latest 7.0.x-private.
      2. Try to build the bundle.

      Actual Result:

       [exec] BUILD FAILED
           [exec]
           [exec] Total time: 4 mins 54.589 secs
           [exec]
           [exec] FAILURE: Build failed with an exception.
           [exec]
           [exec] * What went wrong:
           [exec] Execution failed for task ':apps:portal-security:portal-security-lda                                                                                                                                                             p-impl:compileJava'.
           [exec] > Compilation failed; see the compiler error output for details.
           [exec]
           [exec] * Try:
           [exec] Run with --info or --debug option to get more log output.
           [exec]
           [exec] * Exception is:
           [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for ta                                                                                                                                                             sk ':apps:portal-security:portal-security-ldap-impl:compileJava'.
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExe                                                                                                                                                             cuter.executeActions(ExecuteActionsTaskExecuter.java:84)
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExe                                                                                                                                                             cuter.execute(ExecuteActionsTaskExecuter.java:55)
           [exec]     at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecu                                                                                                                                                             ter.execute(SkipUpToDateTaskExecuter.java:62)
           [exec]     at org.gradle.api.internal.tasks.execution.ValidatingTaskExecute                                                                                                                                                             r.execute(ValidatingTaskExecuter.java:58)
           [exec]     at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesT                                                                                                                                                             askExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
           [exec]     at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactSt                                                                                                                                                             ateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
           [exec]     at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActions                                                                                                                                                             Executer.execute(SkipTaskWithNoActionsExecuter.java:51)
           [exec]     at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecute                                                                                                                                                             r.execute(SkipOnlyIfTaskExecuter.java:54)
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTask                                                                                                                                                             Executer.execute(ExecuteAtMostOnceTaskExecuter.java:43)
           [exec]     at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExe                                                                                                                                                             cuter.execute(CatchExceptionTaskExecuter.java:34)
           [exec]     at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$Event                                                                                                                                                             FiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
           [exec]     at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$Event                                                                                                                                                             FiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
           [exec]     at org.gradle.internal.Transformers$4.transform(Transformers.jav                                                                                                                                                             a:169)
           [exec]     at org.gradle.internal.progress.DefaultBuildOperationExecutor.ru                                                                                                                                                             n(DefaultBuildOperationExecutor.java:106)
           [exec]     at org.gradle.internal.progress.DefaultBuildOperationExecutor.ru                                                                                                                                                             n(DefaultBuildOperationExecutor.java:61)
           [exec]     at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$Event                                                                                                                                                             FiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
           [exec]     at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$Event                                                                                                                                                             FiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
           [exec]     at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskE                                                                                                                                                             xecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
           [exec]     at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskE                                                                                                                                                             xecutorWorker.run(AbstractTaskPlanExecutor.java:58)
           [exec]     at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordF                                                                                                                                                             ailures.onExecute(ExecutorPolicy.java:54)
           [exec]     at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(St                                                                                                                                                             oppableExecutorImpl.java:40)
           [exec] Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedEx                                                                                                                                                             ception: Compilation failed; see the compiler error output for details.
           [exec]     at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute                                                                                                                                                             (JdkJavaCompiler.java:48)
           [exec]     at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute                                                                                                                                                             (JdkJavaCompiler.java:33)
           [exec]     at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler                                                                                                                                                             .delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
           [exec]     at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler                                                                                                                                                             .execute(NormalizingJavaCompiler.java:53)
           [exec]     at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler                                                                                                                                                             .execute(NormalizingJavaCompiler.java:38)
           [exec]     at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSup                                                                                                                                                             port.execute(CleaningJavaCompilerSupport.java:35)
           [exec]     at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSup                                                                                                                                                             port.execute(CleaningJavaCompilerSupport.java:25)
           [exec]     at org.gradle.api.tasks.compile.JavaCompile.performCompilation(J                                                                                                                                                             avaCompile.java:206)
           [exec]     at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.                                                                                                                                                             java:187)
           [exec]     at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.                                                                                                                                                             java:130)
           [exec]     at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java                                                                                                                                                             :73)
           [exec]     at org.gradle.api.internal.project.taskfactory.DefaultTaskClassI                                                                                                                                                             nfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163)
           [exec]     at org.gradle.api.internal.project.taskfactory.DefaultTaskClassI                                                                                                                                                             nfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
           [exec]     at org.gradle.api.internal.project.taskfactory.DefaultTaskClassI                                                                                                                                                             nfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExe                                                                                                                                                             cuter.executeAction(ExecuteActionsTaskExecuter.java:95)
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExe                                                                                                                                                             cuter.executeActions(ExecuteActionsTaskExecuter.java:76)
           [exec]     ... 20 more
           [exec]
           [exec]
      
      BUILD FAILED
      /home/liferay/project/portal-ce/build.xml:117: The following error occurred whil                                                                                                                                                             e executing this line:
      /home/liferay/project/portal-ce/build.xml:414: The following error occurred whil                                                                                                                                                             e executing this line:
      /home/liferay/project/portal-ce/build-common.xml:845: /home/liferay/project/port                                                                                                                                                             al-ce/build-common.xml:847: exec returned: 1
      
      

        Attachments

          Activity

            People

            • Assignee:
              marta.medio Marta Medio
              Reporter:
              felix.zhang Felix Zhang
              Participants of an Issue:
              Recent user:
              Marta Medio
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 9 weeks, 3 days ago

                Packages

                Version Package