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

Unable to build portlet-configuration-icon module

    Details

    • Fix Priority:
      5

      Description

      Steps to reproduce issue:

      • Compile portal source

      Expected result: Portal compiles successfully
      Actual result: Portal is unable to compile successfully. Errors are thrown when trying to compile the portlet configuration icon module:

           [exec] D:\public\master-portal\modules\addons\portlet-configuration-icon\portlet-configuration-icon-close\src\main\java\com\liferay\portlet\configuration\icon\close\ClosePortletConfigurationIcon.java:44: error: cannot find symbol
           [exec] 			portletDisplay.getId()).concat("_'); return false;");
           [exec] 			^
           [exec]   symbol:   variable portletDisplay
           [exec]   location: class ClosePortletConfigurationIcon
           [exec] D:\public\master-portal\modules\addons\portlet-configuration-icon\portlet-configuration-icon-close\src\main\java\com\liferay\portlet\configuration\icon\close\ClosePortletConfigurationIcon.java:49: error: cannot find symbol
           [exec] 		return portletDisplay.getURLClose();
           [exec] 		       ^
           [exec]   symbol:   variable portletDisplay
           [exec]   location: class ClosePortletConfigurationIcon
           [exec] D:\public\master-portal\modules\addons\portlet-configuration-icon\portlet-configuration-icon-close\src\main\java\com\liferay\portlet\configuration\icon\close\ClosePortletConfigurationIcon.java:54: error: cannot find symbol
           [exec] 		return portletDisplay.isShowCloseIcon();
           [exec] 		       ^
           [exec]   symbol:   variable portletDisplay
           [exec]   location: class ClosePortletConfigurationIcon
           [exec] 3 errors
           [exec] :addons:portlet-configuration-icon:portlet-configuration-icon-edit:compileJava
           [exec] :addons:portlet-configuration-icon:portlet-configuration-icon-close:compileJava FAILED
           [exec] :addons:portlet-configuration-icon:portlet-configuration-icon-edit:compileJava FAILED
           [exec] D:\public\master-portal\modules\addons\portlet-configuration-icon\portlet-configuration-icon-edit\src\main\java\com\liferay\portlet\configuration\icon\edit\EditPortletConfigurationIcon.java:37: error: cannot find symbol
           [exec] 		return portletDisplay.getURLEdit();
           [exec] 		       ^
           [exec]   symbol:   variable portletDisplay
           [exec]   location: class EditPortletConfigurationIcon
           [exec] D:\public\master-portal\modules\addons\portlet-configuration-icon\portlet-configuration-icon-edit\src\main\java\com\liferay\portlet\configuration\icon\edit\EditPortletConfigurationIcon.java:42: error: cannot find symbol
           [exec] 		return portletDisplay.isShowEditIcon();
           [exec] 		       ^
           [exec]   symbol:   variable portletDisplay
           [exec]   location: class EditPortletConfigurationIcon
           [exec] 2 errors
           [exec] [Unused Private-Package instructions, no such package(s) on the class path: [com.ochafik.*, com.sun.jna]]
           [exec] [Export com.liferay.journal.lar,  has 1,  private references [com.liferay.journal.exportimport.content.processor], , Export com.liferay.journal.service.impl,  has 1,  private references [com.liferay.journal.service.base], ]
           [exec] 
           [exec] FAILURE: Build completed with 2 failures.
           [exec] 
           [exec] 1: Task failed with an exception.
           [exec] -----------
           [exec] * What went wrong:
           [exec] Execution failed for task ':addons:portlet-configuration-icon:portlet-configuration-icon-close: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 ':addons:portlet-configuration-icon:portlet-configuration-icon-close: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] 
           [exec] 2: Task failed with an exception.
           [exec] -----------
           [exec] * What went wrong:
           [exec] Execution failed for task ':addons:portlet-configuration-icon:portlet-configuration-icon-edit: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 ':addons:portlet-configuration-icon:portlet-configuration-icon-edit: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] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [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 sun.reflect.GeneratedMethodAccessor496.invoke(Unknown Source)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:606)
           [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] 	... 17 more
           [exec] 
           [exec] ==============================================================================
           [exec] 
           [exec] BUILD FAILED
           [exec] 
           [exec] Total time: 5 mins 8.863 secs
           [exec] 

      Reproduced on:
      Tomcat 7.0.62 + MySQL 5.6
      Portal Master GIT ID: 45b13c7449477cae5d32eadcf87871b8f494ab2c

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony.chu Anthony Chu
                Reporter:
                anthony.chu Anthony Chu
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 37 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 Beta 3