Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2021.8
    • Fix Version/s: 2021.9
    • Component/s: Core
    • Release Notes Summary:
      The merge of document property definition is fixed.
    • Backlog priority:
      1,000
    • Sprint:
      nxplatform #45

      Description

      Steps to reproduce:

      1. deploy this contribution
        <component name="my.component.name">
          <require>org.nuxeo.ecm.core.CoreExtensions</require>
          <extension target="org.nuxeo.ecm.core.schema.TypeService"
              point="schema">
            <property schema="dublincore" name="created" secured="false" />
            <property schema="dublincore" name="modified" secured="false" />
            <property schema="dublincore" name="creator" secured="false" />
            <property schema="dublincore" name="contributors" secured="false" />
            <property schema="dublincore" name="lastContributor" secured="false" />
          </extension>
        </component>
        
      2. start Nuxeo
      3. observe the logs with this error
        ERROR [ComponentManager] Component service:org.nuxeo.ecm.core.schema.TypeService notification of application started failed: defaultObj
        java.lang.NullPointerException: defaultObj
        	at java.util.Objects.requireNonNull(Objects.java:246) ~[?:?]
        	at java.util.Objects.requireNonNullElse(Objects.java:301) ~[?:?]
        	at org.nuxeo.ecm.core.schema.PropertyDescriptor.merge(PropertyDescriptor.java:118) ~[nuxeo-core-schema-2021.8.6.jar:?]
        	at org.nuxeo.runtime.model.DescriptorRegistry.merge(DescriptorRegistry.java:92) ~[nuxeo-runtime-2021.2.52.jar:?]
        

      It's a regression since the cleanup from NXP-29261

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.