Program: 78842
Project: 78842
Buggy source:
private void initParamterBindings(){
  bindingList.clear();
  parameterList.clear();
  String errorMessage=null;
  String newFilename=locationEditor.getText().trim();
  if (newFilename.length() == 0) {
    errorMessage=ERROR_MSG_REPORT_REQUIRED;
  }
 else {
    try {
      reportHandle=SessionHandleAdapter.getInstance().getSessionHandle().openDesign(newFilename);
      for (Iterator iter=reportHandle.getAllParameters().iterator(); iter.hasNext(); ) {
        Object obj=iter.next();
        if (obj instanceof ParameterHandle) {
          parameterList.add(obj);
        }
 else         if (obj instanceof ParameterGroupHandle) {
          parameterList.addAll(((ParameterGroupHandle)obj).getParameters().getContents());
        }
      }
      if (newFilename.equals(inputHandle.getReportName())) {
        for (Iterator iter=inputHandle.paramBindingsIterator(); iter.hasNext(); ) {
          ParamBindingHandle handle=(ParamBindingHandle)iter.next();
          bindingList.add(handle.getStructure());
        }
      }
    }
 catch (    DesignFileException e) {
      errorMessage=ERROR_MSG_INVALID_REPORT;
    }
  }
  if (errorMessage != null) {
    messageLine.setText(errorMessage);
    messageLine.setImage(ERROR_ICON);
  }
 else {
    messageLine.setText("String_Node_Str");
    messageLine.setImage(null);
  }
  paramBindingTable.refresh();
  paramBindingTable.getTable().setEnabled(!parameterList.isEmpty());
  updateButtons();
}

Fixed version (ground truth):
private void initParamterBindings(){
  bindingList.clear();
  parameterList.clear();
  String errorMessage=null;
  String newFilename=locationEditor.getText().trim();
  if (newFilename.length() == 0) {
    errorMessage=ERROR_MSG_REPORT_REQUIRED;
  }
 else {
    try {
      reportHandle=SessionHandleAdapter.getInstance().getSessionHandle().openDesign(newFilename);
    }
 catch (    DesignFileException e) {
      try {
        reportHandle=SessionHandleAdapter.getInstance().getSessionHandle().openDesign(URIUtil.resolveAbsolutePath(getBasePath(),newFilename));
      }
 catch (      DesignFileException e1) {
        errorMessage=ERROR_MSG_INVALID_REPORT;
      }
    }
    if (reportHandle != null) {
      for (Iterator iter=reportHandle.getAllParameters().iterator(); iter.hasNext(); ) {
        Object obj=iter.next();
        if (obj instanceof ParameterHandle) {
          parameterList.add(obj);
        }
 else         if (obj instanceof ParameterGroupHandle) {
          parameterList.addAll(((ParameterGroupHandle)obj).getParameters().getContents());
        }
      }
      if (newFilename.equals(inputHandle.getReportName())) {
        for (Iterator iter=inputHandle.paramBindingsIterator(); iter.hasNext(); ) {
          ParamBindingHandle handle=(ParamBindingHandle)iter.next();
          bindingList.add(handle.getStructure());
        }
      }
    }
  }
  if (errorMessage != null) {
    messageLine.setText(errorMessage);
    messageLine.setImage(ERROR_ICON);
  }
 else {
    messageLine.setText("String_Node_Str");
    messageLine.setImage(null);
  }
  paramBindingTable.refresh();
  paramBindingTable.getTable().setEnabled(!parameterList.isEmpty());
  updateButtons();
}