JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-218  -  Calling fireNotification() from a task does not send notifications to local listeners
Posted Feb 05, 2014 - updated Mar 28, 2016
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Node
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Reproducability
    Always
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 4.0.x
Issue description
When invoking AbstractTask.fireNotifcation(), with at least one local listener registered, no notification is sent to that local listener
Steps to reproduce this issue
See sample provided in this forum topic

#2
Comment posted by
 lolo4j
Feb 05, 22:22
The constructor for the class TaskExecutionDispatcher is missing a call to loadListeners(), which loads local listeners via SPI and registers them. Since no listener is registered, no notifications are sent locally.
#6
Comment posted by
 lolo4j
Feb 06, 21:25