Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18743

Helm delete gives NPE when an 'afterDelete' callback is used in plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.8.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Severity:
      Medium

      Description

      Hi,
      We have an issue where Helm delete is throwing a NPE when an 'afterDelete' callback is used in plugin.

      Steps to reproduce:

      • Create an Helm repositories with multiple charts
      • Create an afterDelete user plugin (attached herewith)
      • Install the plugin
      • Delete an Helm chart
      • The log should contain the stack trace below
      [ERROR] (o.a.r.c.e.m.GlobalExceptionMapper:48) - null
      java.lang.NullPointerException: null
      

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              Disham Disha Meswania
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-18743 -
                  SYNCHRONIZED
                  • Last Sync Date: