Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20193

Fix potential NPE ActionService#getAction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10-HF12, 8.2
    • Fix Version/s: 7.10-HF15, 8.10
    • Component/s: Actions & Filters
    • Tags:
    • Backlog priority:
      400
    • Team:
      AT
    • Sprint:
      nxAT Sprint 8.4.2
    • Story Points:
      1

      Description

      HF12 introduces a potential NullPointerException when calling ActionService#getAction(String actionId, ActionContext context, boolean hideUnavailableAction) where actionId does not correspond to an action.

      action.setFiltered(true) should be put into the block where action != null is checked

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.