Program: 66684
Project: 66684
Buggy source:
@SuppressWarnings("String_Node_Str") protected boolean hasDefault(int object_id,String methodName,int sequence,String overload) throws SQLException {
  Connection conn=null;
  PreparedStatement stmt=null;
  ResultSet rs=null;
  final int objectIdIdx=1;
  final int objectNameIdx=2;
  final int seqIdx=3;
  int hasDefaultInt=0;
  try {
    Iterator<ViewRow> rowIter;
    if (overload == null || overload.equals("String_Node_Str")) {
      rowIter=m_viewCache.getRows(Util.ALL_ARGUMENTS,new String[]{"String_Node_Str"},new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"},new Object[]{new Integer(object_id),methodName,new Integer(sequence),null},new String[0]);
    }
 else {
      rowIter=m_viewCache.getRows(Util.ALL_ARGUMENTS,new String[]{"String_Node_Str"},new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"},new Object[]{new Integer(object_id),methodName,new Integer(sequence),overload},new String[0]);
    }
    if (rowIter.hasNext()) {
      SingleColumnViewRow row=(SingleColumnViewRow)rowIter.next();
      String defaulted=row.getValue();
      hasDefaultInt="String_Node_Str".equalsIgnoreCase(defaulted) ? 1 : 0;
    }
 else {
      throw new SQLException("String_Node_Str");
    }
  }
 catch (  Exception se) {
    try {
      final int oidIdx=1;
      final int methodNameIdx=2;
      final int sequenceIdx=3;
      final int overloadIdx=4;
      String sqljutl="String_Node_Str" + object_id + "String_Node_Str"+ "String_Node_Str"+ methodName.toUpperCase()+ "String_Node_Str"+ sequence+ "String_Node_Str"+ ((overload == null || overload.equals("String_Node_Str")) ? "String_Node_Str" : overload)+ "String_Node_Str";
      Iterator<ViewRow> rowIter=m_viewCache.getRows(Util.DUAL,new String[]{sqljutl},new String[0],new Object[0],new String[0]);
      if (rowIter.hasNext()) {
        SingleColumnViewRow row=(SingleColumnViewRow)rowIter.next();
        if (row.getValue() != null) {
          hasDefaultInt=Integer.parseInt(row.getValue());
        }
      }
    }
 catch (    Exception e8) {
      e8.printStackTrace();
      System.err.println("String_Node_Str");
    }
  }
 finally {
    try {
      if (stmt != null) {
        stmt.close();
      }
    }
 catch (    SQLException e) {
    }
    try {
      if (rs != null) {
        rs.close();
      }
    }
 catch (    SQLException e) {
    }
  }
  if (hasDefaultInt == 1) {
    return true;
  }
  return false;
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") protected boolean hasDefault(int object_id,String methodName,int sequence,String overload) throws SQLException {
  Connection conn=null;
  PreparedStatement stmt=null;
  ResultSet rs=null;
  final int objectIdIdx=1;
  final int objectNameIdx=2;
  final int seqIdx=3;
  int hasDefaultInt=0;
  try {
    Iterator<ViewRow> rowIter;
    if (overload == null || overload.equals("String_Node_Str")) {
      rowIter=m_viewCache.getRows(Util.ALL_ARGUMENTS,new String[]{"String_Node_Str"},new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"},new Object[]{Integer.valueOf(object_id),methodName,Integer.valueOf(sequence),null},new String[0]);
    }
 else {
      rowIter=m_viewCache.getRows(Util.ALL_ARGUMENTS,new String[]{"String_Node_Str"},new String[]{"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"},new Object[]{Integer.valueOf(object_id),methodName,Integer.valueOf(sequence),overload},new String[0]);
    }
    if (rowIter.hasNext()) {
      SingleColumnViewRow row=(SingleColumnViewRow)rowIter.next();
      String defaulted=row.getValue();
      hasDefaultInt="String_Node_Str".equalsIgnoreCase(defaulted) ? 1 : 0;
    }
 else {
      throw new SQLException("String_Node_Str");
    }
  }
 catch (  Exception se) {
    try {
      final int oidIdx=1;
      final int methodNameIdx=2;
      final int sequenceIdx=3;
      final int overloadIdx=4;
      String sqljutl="String_Node_Str" + object_id + "String_Node_Str"+ "String_Node_Str"+ methodName.toUpperCase()+ "String_Node_Str"+ sequence+ "String_Node_Str"+ ((overload == null || overload.equals("String_Node_Str")) ? "String_Node_Str" : overload)+ "String_Node_Str";
      Iterator<ViewRow> rowIter=m_viewCache.getRows(Util.DUAL,new String[]{sqljutl},new String[0],new Object[0],new String[0]);
      if (rowIter.hasNext()) {
        SingleColumnViewRow row=(SingleColumnViewRow)rowIter.next();
        if (row.getValue() != null) {
          hasDefaultInt=Integer.parseInt(row.getValue());
        }
      }
    }
 catch (    Exception e8) {
      e8.printStackTrace();
      System.err.println("String_Node_Str");
    }
  }
 finally {
    try {
      if (stmt != null) {
        stmt.close();
      }
    }
 catch (    SQLException e) {
    }
    try {
      if (rs != null) {
        rs.close();
      }
    }
 catch (    SQLException e) {
    }
  }
  if (hasDefaultInt == 1) {
    return true;
  }
  return false;
}