Program: 58311
Project: 58311
Buggy source:
private void evaluateUserSelection(){
  boolean foundNode=false;
  if (selectedInput == inputType.EYETRACKER_ONLY || selectedInput == inputType.EYETRACKER_SIMULATED) {
    float[] translation=new float[2];
    float[] scalation=new float[2];
    translation[0]=remoteElementHyperbolic.getTransform().getTranslation().x();
    translation[1]=remoteElementHyperbolic.getTransform().getTranslation().y();
    scalation[0]=remoteElementHyperbolic.getTransform().getScale().x();
    scalation[1]=remoteElementHyperbolic.getTransform().getScale().y();
    if (translation != null && scalation != null) {
      foundNode=this.directHyperbolicView.setEyeTrackerAction(eyeTracker.getFixedCoordinate(),translation,scalation);
    }
    eyeTracker.resetFixedCoordinate();
    if (foundNode) {
      eyeTracker.pauseEyeTracker();
    }
  }
  if (selectedInput == inputType.MOUSE_ONLY) {
    if (glMouseListener.getPickedPoint() != null) {
      if (manualPickFlag == true) {
        mousePoint=glMouseListener.getPickedPoint();
        int[] mousePosition=new int[2];
        mousePosition[0]=(int)mousePoint.getX();
        mousePosition[1]=(int)mousePoint.getY();
        float[] translation=new float[2];
        float[] scalation=new float[2];
        translation[0]=remoteElementHyperbolic.getTransform().getTranslation().x();
        translation[1]=remoteElementHyperbolic.getTransform().getTranslation().y();
        scalation[0]=remoteElementHyperbolic.getTransform().getScale().x();
        scalation[1]=remoteElementHyperbolic.getTransform().getScale().y();
        this.directHyperbolicView.setEyeTrackerAction(mousePosition,translation,scalation);
      }
    }
  }
}

Fixed version (ground truth):
private void evaluateUserSelection(){
  boolean foundNode=false;
  if (selectedInput == inputType.EYETRACKER_ONLY || selectedInput == inputType.EYETRACKER_SIMULATED) {
    float[] translation=new float[2];
    float[] scalation=new float[2];
    translation[0]=remoteElementHyperbolic.getTransform().getTranslation().x();
    translation[1]=remoteElementHyperbolic.getTransform().getTranslation().y();
    scalation[0]=remoteElementHyperbolic.getTransform().getScale().x();
    scalation[1]=remoteElementHyperbolic.getTransform().getScale().y();
    if (translation != null && scalation != null) {
      foundNode=this.directHyperbolicView.setEyeTrackerAction(eyeTracker.getFixedCoordinate(),translation,scalation,false);
    }
    eyeTracker.resetFixedCoordinate();
    if (foundNode) {
      eyeTracker.pauseEyeTracker();
    }
  }
  if (selectedInput == inputType.MOUSE_ONLY) {
    if (glMouseListener.getPickedPoint() != null) {
      if (manualPickFlag == true) {
        mousePoint=glMouseListener.getPickedPoint();
        int[] mousePosition=new int[2];
        mousePosition[0]=(int)mousePoint.getX();
        mousePosition[1]=(int)mousePoint.getY();
        float[] translation=new float[2];
        float[] scalation=new float[2];
        translation[0]=remoteElementHyperbolic.getTransform().getTranslation().x();
        translation[1]=remoteElementHyperbolic.getTransform().getTranslation().y();
        scalation[0]=remoteElementHyperbolic.getTransform().getScale().x();
        scalation[1]=remoteElementHyperbolic.getTransform().getScale().y();
        this.directHyperbolicView.setEyeTrackerAction(mousePosition,translation,scalation,true);
      }
    }
  }
}