Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9128

Unable to start application with a hierarchical reference table defines in WEB-INF/param/content-types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.1.2, 4.2.0
    • None
    • None
    • None
    • 4.2 M2

      There is a NPE on a very strange line of code
      ContentType parentCType = _contentTypesHelper._cTypeEP.getExtension(parentCTypeName);

      Caused by: java.lang.NullPointerException
      at $1org.ametys.cms.contenttype.DefaultContentType._configureParentContentType(DefaultContentType.java:416)
      at $1org.ametys.cms.contenttype.DefaultContentType.configure(DefaultContentType.java:312)
      at $1org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202)
      at $1org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:359)
      at $1org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378)
      at $1org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206)
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: