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

NPE during event subscription lookup

XMLWordPrintable

      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);
              }
            }
      

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: