Program: 36767
Project: 36767
Buggy source:
public T loadP(Class<? extends AbstractConfiguration> t,String file) throws IOException {
  Properties p=new Properties();
  Reader reader=new FileReader(file);
  p.load(reader);
  Constructor<T> c=(Constructor<T>)t.getConstructors()[1];
  Class<?>[] paramTypes=c.getParameterTypes();
  Object[] initargs=new Object[paramTypes.length];
  String seedStr=p.getProperty("String_Node_Str");
  int loadedSeed=Integer.parseInt(seedStr);
  int i=0;
  for (  Field f : getClass().getDeclaredFields()) {
    String val=p.getProperty(f.getName());
    if (val == null) {
      throw new NullPointerException("String_Node_Str" + getClass() + "String_Node_Str"+ f.getName()+ "String_Node_Str");
    }
    Class<?> pt=paramTypes[i];
    if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
      initargs[i]=Integer.parseInt(val);
    }
 else     if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
      initargs[i]=Long.parseLong(val);
    }
 else     if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
      initargs[i]=Boolean.parseBoolean(val);
    }
 else     if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
      initargs[i]=Double.parseDouble(val);
    }
 else     if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
      initargs[i]=val;
    }
 else {
      throw new IllegalStateException("String_Node_Str" + f.getName());
    }
    i++;
  }
  try {
    T obj=c.newInstance(initargs);
    obj.setSeed(loadedSeed);
    return obj;
  }
 catch (  InstantiationException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
catch (  IllegalAccessException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
catch (  IllegalArgumentException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
catch (  InvocationTargetException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
}

Fixed version (ground truth):
public T loadP(Class<? extends AbstractConfiguration> t,String file) throws IOException {
  Properties p=new Properties();
  Reader reader=new FileReader(file);
  p.load(reader);
  String seedStr=p.getProperty("String_Node_Str");
  int loadedSeed=Integer.parseInt(seedStr);
  try {
    Constructor<T> c=(Constructor<T>)t.getConstructor(new Class[]{});
    T obj=c.newInstance();
    for (    Field f : getClass().getDeclaredFields()) {
      f.setAccessible(true);
      String val=p.getProperty(f.getName());
      if (val == null) {
        throw new NullPointerException("String_Node_Str" + getClass() + "String_Node_Str"+ f.getName()+ "String_Node_Str");
      }
      Class<?> pt=f.getType();
      if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
        f.set(obj,Integer.parseInt(val));
      }
 else       if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
        f.set(obj,Long.parseLong(val));
      }
 else       if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
        f.set(obj,Boolean.parseBoolean(val));
      }
 else       if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
        f.set(obj,Double.parseDouble(val));
      }
 else       if (pt.getSimpleName().compareTo("String_Node_Str") == 0) {
        f.set(obj,val);
      }
 else {
        throw new IllegalStateException("String_Node_Str" + f.getName());
      }
    }
    obj.setSeed(loadedSeed);
    return obj;
  }
 catch (  InstantiationException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
catch (  IllegalAccessException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
catch (  IllegalArgumentException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
catch (  InvocationTargetException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
catch (  NoSuchMethodException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
catch (  SecurityException ex) {
    Logger.getLogger(AbstractConfiguration.class.getName()).log(Level.SEVERE,null,ex);
    throw new IOException(t.getCanonicalName() + "String_Node_Str" + ex.getMessage());
  }
}