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

ElementValidationException error on portal startup

    Details

      Description

      LPS-134117 added additional json schema validation which likely caused this.

      Steps to Reproduce
      1. Start portal with a clean database

      Expected
      No ElementValidationException errors when out-of-the-box elements are being imported.

      Actual
      Error:

      java.lang.RuntimeException: com.liferay.search.experiences.blueprints.exception.ElementValidationException: There were (1) validation errors
      	at com.liferay.search.experiences.blueprints.resources.internal.util.ImportHelper._importElement(ImportHelper.java:86) ~[?:?]
      	at com.liferay.search.experiences.blueprints.resources.internal.util.ImportHelper._processElementResources(ImportHelper.java:137) ~[?:?]
      	at com.liferay.search.experiences.blueprints.resources.internal.util.ImportHelper.importDefaultResources(ImportHelper.java:50) ~[?:?]
      	at com.liferay.search.experiences.blueprints.resources.internal.instance.lifecycle.AddDefaultBlueprintsPortalInstanceLifecycleListener.portalInstanceRegistered(AddDefaultBlueprintsPortalInstanceLifecycleListener.java:61) ~[?:?]
      	at com.liferay.portal.instance.lifecycle.internal.PortalInstanceLifecycleListenerManagerImpl.registerCompany(PortalInstanceLifecycleListenerManagerImpl.java:158) ~[bundleFile:?]
      	at com.liferay.portal.instance.lifecycle.internal.PortalInstanceLifecycleListenerManagerImpl.lambda$addPortalInstanceLifecycleListener$0(PortalInstanceLifecycleListenerManagerImpl.java:105) ~[bundleFile:?]
      	at com.liferay.portal.service.impl.CompanyLocalServiceImpl.forEachCompany(CompanyLocalServiceImpl.java:474) ~[portal-impl.jar:?]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
      	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
      	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
      	at com.sun.proxy.$Proxy45.forEachCompany(Unknown Source) ~[?:?]
      	at com.liferay.portal.instance.lifecycle.internal.PortalInstanceLifecycleListenerManagerImpl.addPortalInstanceLifecycleListener(PortalInstanceLifecycleListenerManagerImpl.java:104) ~[bundleFile:?]
      	at sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source) ~[?:?]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
      	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) ~[?:?]
      	at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) ~[?:?]
      	at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) ~[?:?]
      

        Attachments

          Activity

            People

            Assignee:
            joshua.chong Joshua Chong
            Reporter:
            kevin.tan Kevin Tan
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Kevin Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              23 weeks, 4 days ago
              Development End Date:
              Development Start Date:

                Packages

                Version Package
                7.4.2 CE GA3 DXP 7,4
                7.4.13 DXP GA1
                Master