Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-3820

NPE in provisioning groups UI (corner case / race condition)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.7.10
    • Fix Version/s: Meridian-2016.1.0, 18.0.1
    • Component/s: Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: Sun
    • Bugzilla Id:
      3777

      Description

      Why on earth you would be doing this:

      Troubleshooting problems with a model import XML file generated from a script.

      Steps to reproduce:

      1. Create fhosts.xml in OPENNMS_HOME/etc/imports/pending
      2. Import fhosts provisioning group in web UI -> Admin -> Manage Provisioning Groups
      3. See that import did not go as expected
      4. Click "Delete nodes" button for fhosts provisioning group in web UI
      5. Delete OPENNMS_HOME/etc/imports/fhosts.xml
      6. Get distracted by a colleague
      7. Click "Delete Group" button for fhosts provisioning group in web UI

      Expected result:

      Provisioning groups UI refreshes minus the fhosts group

      Actual result:

      NPE trace in web UI.

      We should catch it and say something nicer, like "No such provisioning group 'fhosts' exists".

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: