Program: 73487
Project: 73487
Buggy source:
/** 
 * Create new variables, initialize the actors and request a refiring at the current time of the executive director. This overrides the base class to throw an exception if there is no executive director.
 * @exception IllegalActionException If the superclass throwsit or if there is no executive director.
 */
public void initialize() throws IllegalActionException {
  _currentlyExecutingStack=new Stack<DoubleTimedEvent>();
  _realTimeInputEventQueue=new PriorityQueue<RealTimeEvent>();
  _realTimeOutputEventQueue=new PriorityQueue<RealTimeEvent>();
  _lastConsumedTag=new HashMap<NamedObj,Tag>();
  _pureEventDeadlines=new HashMap<NamedObj,Time>();
  _pureEventDelays=new HashMap<NamedObj,Time>();
  _pureEventSourcePorts=new HashMap<NamedObj,IOPort>();
  _physicalTimeExecutionStarted=null;
  _schedulerFinishTime=new Time(this,Double.NEGATIVE_INFINITY);
  _inputEventInterruptOccurred=false;
  _scheduleNewEvent=false;
  _timedInterruptWakeUpTimes=new LinkedList<Time>();
  _eventTimedInterruptTimes=new HashMap<PtidesEvent,Time>();
  _futureExecutionFireAtTimes=new LinkedList<Time>();
  _ignoredExecutionFireAtTimes=new LinkedList<Time>();
  _futurePlatformFireAtTimes=new LinkedList<Time>();
  _ignoredPlatformFireAtTimes=new LinkedList<Time>();
  _lastExecutingActor=null;
  _executionTimeClock=null;
  _platformTimeClock=null;
  super.initialize();
  (((Actor)getContainer()).getExecutiveDirector()).fireAtCurrentTime((Actor)getContainer());
  _setIcon(_getIdleIcon(),true);
  if (_executionTimeClock == null) {
    _executionTimeClock=new RealTimeClock(((DoubleToken)initializeExecutionTimeSynchronizationError.getToken()).doubleValue());
  }
  if (_platformTimeClock == null) {
    _platformTimeClock=new RealTimeClock(((DoubleToken)initializePlatformTimeSynchronizationError.getToken()).doubleValue());
  }
}

Fixed version (ground truth):
/** 
 * Create new variables, initialize the actors and request a refiring at the current time of the executive director. This overrides the base class to throw an exception if there is no executive director.
 * @exception IllegalActionException If the superclass throwsit or if there is no executive director.
 */
public void initialize() throws IllegalActionException {
  _currentlyExecutingStack=new Stack<DoubleTimedEvent>();
  _realTimeInputEventQueue=new PriorityQueue<RealTimeEvent>();
  _realTimeOutputEventQueue=new PriorityQueue<RealTimeEvent>();
  _lastConsumedTag=new HashMap<NamedObj,Tag>();
  _pureEventDeadlines=new HashMap<NamedObj,Time>();
  _pureEventDelays=new HashMap<NamedObj,Time>();
  _pureEventSourcePorts=new HashMap<NamedObj,IOPort>();
  _physicalTimeExecutionStarted=null;
  _schedulerFinishTime=new Time(this,Double.NEGATIVE_INFINITY);
  _inputEventInterruptOccurred=false;
  _scheduleNewEvent=false;
  _timedInterruptTimes=new LinkedList<TimedEvent>();
  _eventsWithTimedInterrupt=new HashSet<PtidesEvent>();
  _futureExecutionFireAtTimes=new LinkedList<Time>();
  _ignoredExecutionFireAtTimes=new LinkedList<Time>();
  _futurePlatformFireAtTimes=new LinkedList<Time>();
  _ignoredPlatformFireAtTimes=new LinkedList<Time>();
  _lastExecutingActor=null;
  _executionTimeClock=null;
  _platformTimeClock=null;
  super.initialize();
  (((Actor)getContainer()).getExecutiveDirector()).fireAtCurrentTime((Actor)getContainer());
  _setIcon(_getIdleIcon(),true);
  if (_executionTimeClock == null) {
    _executionTimeClock=new RealTimeClock(((DoubleToken)initializeExecutionTimeSynchronizationError.getToken()).doubleValue());
  }
  if (_platformTimeClock == null) {
    _platformTimeClock=new RealTimeClock(((DoubleToken)initializePlatformTimeSynchronizationError.getToken()).doubleValue());
  }
}