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

Portal compile fails on JDK8 at polls-web

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 Beta 8
    • Fix Version/s: 7.0.0 Beta 8
    • Component/s: Polls
    • Labels:
      None
    • Fix Priority:
      5

      Description

      Reproduced on:
      JDK 1.8.0_74. Portal master GIT ID: e251cb2396bcbe7c20bc8d465bfbcd3dac6db175.

      Not Reproducible on:
      JDK 1.7.0_80. Portal master GIT ID: e251cb2396bcbe7c20bc8d465bfbcd3dac6db175.

      Steps to Reproduce:

      1. ant all

      Output:

      [exec] :apps:product-navigation:product-navigation-simulation-theme-contributor:buildCSS
           [exec] /Users/vicnate5/Liferay/liferay-portal-master/modules/apps/polls/polls-web/docroot/WEB-INF/src/com/liferay/polls/web/util/PollsUtil.java:58: error: cannot access PublicCloneable
           [exec] 			defaultCategoryDataset.addValue(
           [exec] 			                      ^
           [exec]   class file for org.jfree.util.PublicCloneable not found
           [exec] 1 error
           [exec] :apps:product-navigation:product-navigation-simulation-web:copyLibs
           [exec] :apps:product-navigation:product-navigation-simulation-web:classes
           [exec] :apps:product-navigation:product-navigation-simulation-web:jar
           [exec] :apps:polls:polls-web:compileJava FAILED
           [exec] Using native Sass compiler
           [exec] Parsed /META-INF/resources/product_navigation_control_menu.scss in 910ms
           [exec] Using native Sass compiler
           [exec] WARNING: The box-sizing mixin is deprecated and will be removed in the next major version release. This property can now be used un-prefixed.
           [exec] 	on line 410 of build/portal-common-css/bourbon/_bourbon-deprecated-upcoming.scss
           [exec] 	from line 34 of src/main/resources/META-INF/resources/css/simulation_panel/_simulation_panel.scss
           [exec]
           [exec] Parsed /META-INF/resources/product_navigation_product_menu.scss in 621ms
           [exec] Parsed /META-INF/resources/css/simulation_panel.scss in 512ms
           [exec]
           [exec] FAILURE: Build failed with an exception.
           [exec]
           [exec] * What went wrong:
           [exec] Execution failed for task ':apps:polls:polls-web: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 task ':apps:polls:polls-web:compileJava'.
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
           [exec] 	at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
           [exec] 	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
           [exec] 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
           [exec] 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
           [exec] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
           [exec] 	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
           [exec] Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
           [exec] 	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:47)
           [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:101)
           [exec] 	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
           [exec] 	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
           [exec] 	at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
           [exec] 	at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
           [exec] 	at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)
           [exec] 	at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:139)
           [exec] 	at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
           [exec] 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
           [exec] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
           [exec] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
           [exec] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:231)
           [exec] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
           [exec] 	... 14 more
           [exec]
           [exec]
           [exec] BUILD FAILED
           [exec]
           [exec] Total time: 3 mins 34.446 secs
           [exec]
      
      BUILD FAILED
      /Users/vicnate5/Liferay/liferay-portal-master/build.xml:69: The following error occurred while executing this line:
      /Users/vicnate5/Liferay/liferay-portal-master/build.xml:363: The following error occurred while executing this line:
      /Users/vicnate5/Liferay/liferay-portal-master/build-common.xml:875: exec returned: 1
      

        Attachments

          Activity

            People

            • Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 34 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 Beta 8