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

Go to other site button only visible to site members and only displays sites that have been visited

    Details

      Description

      Description

      The compass button to "Go to other site" is only visible to users that are site members and only displays sites that the user has previously visited.

      Steps to reproduce

      1) Create a site
      2) Create a user
      3) As the new user, open the product menu and note the compass navigation symbol ("Go to other site") doesn't appear.
      4) Make the user a member of the default site.
      5) As the user, refresh the page and note the compass button appears but only the default site is available for navigation through it.
      6) As the user, access the direct URL for the other site.
      7) Check which sites are available for navigation through the compass button. Both sites should be available.
      8) Remove the user's site membership and refresh the page.

      Results of Testing

      Expected Result: the user can see the compass button and navigate to all permissable sites
      Actual Results: the user cannot see the compass button even though the sites displayed in it are not directly related to site membership.

      Errors/Logs

      No errors

      Master

      Reproduced in older build (1c9414674fa2b30b4dfde08aabf5094d85372905). Unable to test in recent commit because the build failed (e0782914a8e35b08102aa3f6f756cd9f8d7c24f2):

           [exec] FAILURE: Build failed with an exception.
           [exec]
           [exec] * What went wrong:
           [exec] Execution failed for task ':apps:opensocial:opensocial-portlet:deploy'.
           [exec] > The following error occurred while executing this line:
           [exec]   : The following error occurred while executing this line:
           [exec]   C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1407: The following error occurred while executing this line:
           [exec]   : The following error occurred while executing this line:
           [exec]   C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:2424: The following error occurred while executing this line:
           [exec]   : The following error occurred while executing this line:
           [exec]   C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:643: The following error occurred while executing this line:
           [exec]   C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec]   C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile 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:opensocial:opensocial-portlet:deploy'.
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
           [exec]     at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
           [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:88)
           [exec]     at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
           [exec]     at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
           [exec]     at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
           [exec]     at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
           [exec]     at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
           [exec]     at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
           [exec]     at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
           [exec]     at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
           [exec]     at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
           [exec]     at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
           [exec]     at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
           [exec]     at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
           [exec]     at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)
           [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: C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:2841: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1407: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:2424: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:643: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.Target.execute(Target.java:435)
           [exec]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
           [exec]     at org.gradle.api.tasks.ant.AntTarget.executeAntTarget(AntTarget.java:38)
           [exec]     at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
           [exec]     at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:141)
           [exec]     at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
           [exec]     at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
           [exec]     at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:632)
           [exec]     at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:615)
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
           [exec]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
           [exec]     ... 20 more
           [exec] Caused by: : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1407: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:2424: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:643: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at embedded_script_in_C__Liferay_GitRepositories_liferay_portal_ee_tools_sdk_build_common_dot_xml.run(embedded_script_in_C__Liferay_GitRepositories_liferay_portal_ee_tools_sdk_build_common_dot_xml:27)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
           [exec]     ... 34 more
           [exec] Caused by: C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1407: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:2424: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:643: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
           [exec]     ... 45 more
           [exec] Caused by: : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:2424: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:643: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at embedded_script_in_C__Liferay_GitRepositories_liferay_portal_ee_tools_sdk_build_common_dot_xml.run(embedded_script_in_C__Liferay_GitRepositories_liferay_portal_ee_tools_sdk_build_common_dot_xml:27)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
           [exec]     ... 60 more
           [exec] Caused by: C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:2424: The following error occurred while executing this line:
           [exec] : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:643: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at net.sf.antcontrib.logic.IfTask$ElseIf.execute(IfTask.java:144)
           [exec]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:211)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
           [exec]     ... 71 more
           [exec] Caused by: : The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:643: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at embedded_script_in_C__Liferay_GitRepositories_liferay_portal_ee_tools_sdk_build_common_dot_xml.run(embedded_script_in_C__Liferay_GitRepositories_liferay_portal_ee_tools_sdk_build_common_dot_xml:27)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
           [exec]     ... 87 more
           [exec] Caused by: C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:643: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
           [exec]     ... 98 more
           [exec] Caused by: C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:1059: The following error occurred while executing this line:
           [exec] C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:399)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
           [exec]     ... 113 more
           [exec] Caused by: C:\Liferay\GitRepositories\liferay-portal-ee\tools\sdk\build-common.xml:922: Compile failed; see the compiler error output for details.
           [exec]     at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1181)
           [exec]     at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:936)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
           [exec]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec]     at org.apache.tools.ant.Task.perform(Task.java:348)
           [exec]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
           [exec]     ... 128 more
           [exec]
           [exec]
           [exec] BUILD FAILED
           [exec]
           [exec] Total time: 14 mins 27.987 secs
           [exec]
           [exec] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
      
      BUILD FAILED
      C:\Liferay\GitRepositories\liferay-portal-ee\build.xml:9: The following error occurred while executing this line:
      C:\Liferay\GitRepositories\liferay-portal-ee\build.xml:327: The following error occurred while executing this line:
      C:\Liferay\GitRepositories\liferay-portal-ee\build-common.xml:711: exec returned: 1
      
      Total time: 26 minutes 56 seconds
      

      Branch

      Reproduced on older build (8ad28d14c7d2f5a79425fcbb320ba4658f377f8a).

      Recent build didn't start up (09c99d782db7f2d35d9ff6f938f83f4a65e769bc):

      20-Apr-2017 14:57:20.723 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
       org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: com/liferay/registry/dependency/ServiceDependencyListener
      	at java.lang.Class.getDeclaredFields0(Native Method)
      	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
      	at java.lang.Class.getDeclaredFields(Class.java:1916)
      	at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
      	at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:256)
      	at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:86)
      	at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:63)
      	at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:334)
      	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:783)
      	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
      	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      	... 10 more
      Caused by: java.lang.ClassNotFoundException: com.liferay.registry.dependency.ServiceDependencyListener
      	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308)
      	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
      	... 24 more
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 30 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP17
                7.0.3 CE GA4
                7.0.0 DXP SP4
                7.0.X EE
                7.1.X
                Master