Program: 66450
Project: 66450
Buggy source:
/** 
 * Create a table which can translate between java types and Attunity Connect data types.
 * @return java.util.Hashtable
 */
protected Hashtable buildFieldTypes(){
  Hashtable fieldTypeMapping;
  fieldTypeMapping=new Hashtable();
  fieldTypeMapping.put(Boolean.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Integer.class,new FieldTypeDefinition("String_Node_Str",10));
  fieldTypeMapping.put(Long.class,new FieldTypeDefinition("String_Node_Str",19));
  fieldTypeMapping.put(Float.class,new FieldTypeDefinition("String_Node_Str",19,4));
  fieldTypeMapping.put(Double.class,new FieldTypeDefinition("String_Node_Str",19,4));
  fieldTypeMapping.put(Short.class,new FieldTypeDefinition("String_Node_Str",5));
  fieldTypeMapping.put(Byte.class,new FieldTypeDefinition("String_Node_Str",3));
  fieldTypeMapping.put(java.math.BigInteger.class,new FieldTypeDefinition("String_Node_Str",38));
  fieldTypeMapping.put(java.math.BigDecimal.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Number.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(String.class,new FieldTypeDefinition("String_Node_Str",255));
  fieldTypeMapping.put(Character.class,new FieldTypeDefinition("String_Node_Str",1));
  fieldTypeMapping.put(Byte[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Character[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(byte[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(char[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Blob.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Clob.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Date.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Time.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Timestamp.class,new FieldTypeDefinition("String_Node_Str",false));
  return fieldTypeMapping;
}

Fixed version (ground truth):
/** 
 * Create a table which can translate between java types and Attunity Connect data types.
 * @return java.util.Hashtable
 */
protected Hashtable buildFieldTypes(){
  Hashtable fieldTypeMapping;
  fieldTypeMapping=new Hashtable();
  fieldTypeMapping.put(Boolean.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Integer.class,new FieldTypeDefinition("String_Node_Str",10));
  fieldTypeMapping.put(Long.class,new FieldTypeDefinition("String_Node_Str",19));
  fieldTypeMapping.put(Float.class,new FieldTypeDefinition("String_Node_Str",19,4));
  fieldTypeMapping.put(Double.class,new FieldTypeDefinition("String_Node_Str",19,4));
  fieldTypeMapping.put(Short.class,new FieldTypeDefinition("String_Node_Str",5));
  fieldTypeMapping.put(Byte.class,new FieldTypeDefinition("String_Node_Str",3));
  fieldTypeMapping.put(java.math.BigInteger.class,new FieldTypeDefinition("String_Node_Str",38));
  fieldTypeMapping.put(java.math.BigDecimal.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Number.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(String.class,new FieldTypeDefinition("String_Node_Str",DEFAULT_VARCHAR_SIZE));
  fieldTypeMapping.put(Character.class,new FieldTypeDefinition("String_Node_Str",1));
  fieldTypeMapping.put(Byte[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(Character[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(byte[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(char[].class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Blob.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Clob.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Date.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Time.class,new FieldTypeDefinition("String_Node_Str",false));
  fieldTypeMapping.put(java.sql.Timestamp.class,new FieldTypeDefinition("String_Node_Str",false));
  return fieldTypeMapping;
}