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

    Details

    • Estimated Difficulty:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rhauch Randall Hauch
                Reporter:
                rhauch Randall Hauch
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: