Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-959

Event listener that uses node type name filter gets NPE when root node is change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.3.0.Final, 2.2.1.GA
    • 2.2.0.Final
    • JCR
    • None
    • Low

    Description

      Create an event listener that filters by node type name, and then add (or change or remove) a property on the root node. In many cases, the result will be an NPE within JcrObservationManager (on or around line 814 and

      Map<Name, Property> propMap = this.propertiesByLocation.get(parentLocation);
      assert (propMap != null);

      Here, when 'parentLocation' is the root, the 'propMap' result will be null.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: