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

Indexmanager seems to get into inconsistent state when trying to define an index on a nonexistent nodeType

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.0.Final
    • 4.0.0.Final
    • Query
    • None

    Description

      When trying to register an index on a nonexistent nodeType a NPE is triggered from RepositoryIndexManager Line 795 in 4.0 branch.

                          for (String typeAndSubtype : subtypesByName.get(nodeTypeName)) {
      

      That alone is no bug, but after that the IndexManager keeps throwing NPE's when registering new Indexes or even trying to access it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bes82 Bjoern Schmidt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: