Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4964

NPE during event subscription lookup

    XMLWordPrintable

Details

    Description

      The iteration over the cached event subscriptions isn't null save as event name can be null.

      public class EventSubscriptionManager extends AbstractManager {
      
        // ...
      
        public List<EventSubscriptionEntity> findEventSubscriptionsByNameAndExecution(String type, String eventName, String executionId, boolean lockResult) {
      
          // ...
      
            for (EventSubscriptionEntity subscription : eventSubscriptions) {
              if(subscription.getEventName().equals(eventName) && subscription.getEventType().equals(type)) {
                result.add(subscription);
              }
            }
      

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              roman.smirnov Roman Smirnov
              sebastian.menski Sebastian Menski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce