Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M2
    • Component/s: Core Infrastructure
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Startup master bundle
      2. Login to localhost:8080

      Expected result:
      No console errors will get thrown.

      Actual result:
      The following console error is thrown (but it doesn't kill portal):

      22:18:16,172 WARN  [localhost-startStop-1][JSONWebServiceActionsManagerImpl:353] Something went wrong attempting to register service method {contextName=null,contextPath=,actionObject=com.liferay.portal.service.impl.PermissionServiceImpl@77d50813,actionClass=class com.liferay.portal.service.impl.PermissionServiceImpl,actionMethod=public void com.liferay.portal.service.impl.PermissionServiceImpl.afterPropertiesSet(),path=/permission/after-properties-set,method=POST} due to java.lang.NoSuchMethodException: com.sun.proxy.$Proxy19.afterPropertiesSet()
      22:18:23,349 ERROR [localhost-startStop-1][LayoutTypePortletImpl:1332] Unable to fire portlet layout listener event
      java.lang.NullPointerException
              at com.liferay.portal.model.impl.PortletImpl.getPortletLayoutListenerInstance(PortletImpl.java:1352)
              at com.liferay.portal.model.impl.LayoutTypePortletImpl.addPortletId(LayoutTypePortletImpl.java:1323)
              at com.liferay.portal.model.impl.LayoutTypePortletImpl.addPortletId(LayoutTypePortletImpl.java:176)
              at com.liferay.portal.events.BaseDefaultLayoutPrototypesAction.addPortletId(BaseDefaultLayoutPrototypesAction.java:87)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.addPrivateSite(AddDefaultLayoutSetPrototypesAction.java:118)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.doRun(AddDefaultLayoutSetPrototypesAction.java:295)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.run(AddDefaultLayoutSetPrototypesAction.java:45)
              at com.liferay.portal.events.AddDefaultDataAction.run(AddDefaultDataAction.java:45)
              at com.liferay.portal.kernel.events.SimpleAction.processLifecycleEvent(SimpleAction.java:26)
              at com.liferay.portal.events.EventsProcessorUtil._process(EventsProcessorUtil.java:129)
              at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:74)
              at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:494)
              at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:93)
              at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:760)
              at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:332)
              at javax.servlet.GenericServlet.init(GenericServlet.java:160)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      22:18:23,369 ERROR [localhost-startStop-1][PortalInstances:500] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchResourceActionException: 116#ADD_TO_PAGE
      com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchResourceActionException: 116#ADD_TO_PAGE
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.run(AddDefaultLayoutSetPrototypesAction.java:48)
              at com.liferay.portal.events.AddDefaultDataAction.run(AddDefaultDataAction.java:45)
              at com.liferay.portal.kernel.events.SimpleAction.processLifecycleEvent(SimpleAction.java:26)
              at com.liferay.portal.events.EventsProcessorUtil._process(EventsProcessorUtil.java:129)
              at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:74)
              at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:494)
              at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:93)
              at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:760)
              at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:332)
              at javax.servlet.GenericServlet.init(GenericServlet.java:160)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.NoSuchResourceActionException: 116#ADD_TO_PAGE
              at com.liferay.portal.service.impl.ResourceActionLocalServiceImpl.getResourceAction(ResourceActionLocalServiceImpl.java:192)
              at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
              at com.sun.proxy.$Proxy22.getResourceAction(Unknown Source)
              at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.doUpdateResourcePermission(ResourcePermissionLocalServiceImpl.java:1169)
              at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.updateResourcePermission(ResourcePermissionLocalServiceImpl.java:1290)
              at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.setOwnerResourcePermissions(ResourcePermissionLocalServiceImpl.java:1019)
              at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:53)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
              at com.sun.proxy.$Proxy20.setOwnerResourcePermissions(Unknown Source)
              at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:820)
              at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:862)
              at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:292)
              at sun.reflect.GeneratedMethodAccessor629.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:53)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
              at com.sun.proxy.$Proxy16.addResources(Unknown Source)
              at com.liferay.portal.service.ResourceLocalServiceUtil.addResources(ResourceLocalServiceUtil.java:192)
              at com.liferay.portal.util.PortalImpl.addDefaultResource(PortalImpl.java:7688)
              at com.liferay.portal.util.PortalImpl.addDefaultResource(PortalImpl.java:7632)
              at com.liferay.portal.util.PortalImpl.addPortletDefaultResource(PortalImpl.java:677)
              at com.liferay.portal.util.PortalUtil.addPortletDefaultResource(PortalUtil.java:209)
              at com.liferay.portal.events.BaseDefaultLayoutPrototypesAction.addResourcePermissions(BaseDefaultLayoutPrototypesAction.java:103)
              at com.liferay.portal.events.BaseDefaultLayoutPrototypesAction.addPortletId(BaseDefaultLayoutPrototypesAction.java:92)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.addPrivateSite(AddDefaultLayoutSetPrototypesAction.java:118)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.doRun(AddDefaultLayoutSetPrototypesAction.java:295)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.run(AddDefaultLayoutSetPrototypesAction.java:45)
              ... 25 more
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 42 weeks, 5 days ago