Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-3896

NullPointerException on update_all_content after moving down, then deleting a Boolean

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • r2.12.05
    • r2.15.01
    • None
    • None
    • WinXP SP3
      Fx 3.6
      IE 7
      IE 8
      Sun JDK 1.6.0_18
      Hippo CMS version 2.12.05
      (Hippo Repository 2.12.05)

    Description

      STEPS:
      ------

      • Create Namespace (mynamespace/http://www.ns.net/0.1)
      • Create Document Type (mydoctype)
      • Insert Text (MyText/mytext)
      • Insert Boolean
      • Insert Text (YourText/yourtext)
      • Save&Done
      • Update All Content
      • Create Root Folder (myfolder)
      • Create Document (mydocument < mydoctype)
      • Save&Done
      • Publish mydocument
      • Edit mydoctype
      • Move Boolean Down
      • Delete Boolean
      • Insert Boolean

      Note the following messages in the Tomcat Console:

      ERROR [org.hippoecm.frontend.plugin.config.impl.JcrClusterConfig$PluginList.add():171] /hippo:namespaces/mynamespace/mydoctype/editor:templates/default/boolean
      ERROR [org.hippoecm.editor.type.JcrTypeDescriptor.addField():199] failed to resolve path null relative to node /hippo:namespaces/mynamespace/mydoctype/hipposysedit:nodetype/hipposysedit:nodetype[2]: empty path

      • Insert Boolean

      Note the following message in the Hippo CMS screen:

      Path mynamespace:boolean already exists, not adding field

      • Save&Done
      • Update All Content

      Note the operation is successful

      The attached file 'error' is a copy of the messages found in the Tomcat Console at the end the Update All Content (NullPointerException).

      Attachments

        Activity

          People

            Unassigned Unassigned
            spelissier Sylvain Pélissier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: