Program: 20263
Project: 20263
Buggy source:
public void init(Session s){
  m_sInitScript="String_Node_Str" + s.DB.getName();
  m_version=new PreparedSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadString.INSTANCE);
  m_dummy=new StaticSentence(s,"String_Node_Str");
  final ThumbNailBuilder tnb=new ThumbNailBuilder(32,32,"String_Node_Str");
  peopleread=new SerializerRead(){
    public Object readValues(    DataRead dr) throws BasicException {
      return new AppUser(dr.getString(1),dr.getString(2),dr.getString(3),dr.getString(4),dr.getString(5),new ImageIcon(tnb.getThumbNail(ImageUtils.readImage(dr.getBytes(6)))));
    }
  }
;
  m_peoplevisible=new StaticSentence(s,"String_Node_Str" + s.DB.TRUE(),null,peopleread);
  m_peoplebycard=new PreparedSentence(s,"String_Node_Str" + s.DB.TRUE(),SerializerWriteString.INSTANCE,peopleread);
  m_resourcebytes=new PreparedSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadBytes.INSTANCE);
  Datas[] resourcedata=new Datas[]{Datas.STRING,Datas.STRING,Datas.INT,Datas.BYTES};
  m_resourcebytesinsert=new PreparedSentence(s,"String_Node_Str",new SerializerWriteBasic(resourcedata));
  m_resourcebytesupdate=new PreparedSentence(s,"String_Node_Str",new SerializerWriteBasicExt(resourcedata,new int[]{1,2,3,1}));
  m_rolepermissions=new PreparedSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadBytes.INSTANCE);
  m_changepassword=new StaticSentence(s,"String_Node_Str",new SerializerWriteBasic(new Datas[]{Datas.STRING,Datas.STRING}));
  m_activecash=new StaticSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,new SerializerReadBasic(new Datas[]{Datas.STRING,Datas.INT,Datas.TIMESTAMP,Datas.TIMESTAMP}));
  m_insertcash=new StaticSentence(s,"String_Node_Str" + "String_Node_Str",new SerializerWriteBasic(new Datas[]{Datas.STRING,Datas.STRING,Datas.INT,Datas.TIMESTAMP,Datas.TIMESTAMP}));
  m_locationfind=new StaticSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadString.INSTANCE);
  resetResourcesCache();
}

Fixed version (ground truth):
public void init(Session s){
  m_sInitScript="String_Node_Str" + s.DB.getName();
  m_version=new PreparedSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadString.INSTANCE);
  m_dummy=new StaticSentence(s,"String_Node_Str");
  final ThumbNailBuilder tnb=new ThumbNailBuilder(32,32,"String_Node_Str");
  peopleread=new SerializerRead(){
    public Object readValues(    DataRead dr) throws BasicException {
      return new AppUser(dr.getString(1),dr.getString(2),dr.getString(3),dr.getString(4),dr.getString(5),new ImageIcon(tnb.getThumbNail(ImageUtils.readImage(dr.getBytes(6)))));
    }
  }
;
  m_peoplevisible=new StaticSentence(s,"String_Node_Str" + s.DB.TRUE(),null,peopleread);
  m_peoplebycard=new PreparedSentence(s,"String_Node_Str" + s.DB.TRUE(),SerializerWriteString.INSTANCE,peopleread);
  m_resourcebytes=new PreparedSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadBytes.INSTANCE);
  Datas[] resourcedata=new Datas[]{Datas.STRING,Datas.STRING,Datas.INT,Datas.BYTES};
  m_resourcebytesinsert=new PreparedSentence(s,"String_Node_Str",new SerializerWriteBasic(resourcedata));
  m_resourcebytesupdate=new PreparedSentence(s,"String_Node_Str",new SerializerWriteBasicExt(resourcedata,new int[]{1,2,3,1}));
  m_rolepermissions=new PreparedSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadBytes.INSTANCE);
  m_changepassword=new StaticSentence(s,"String_Node_Str",new SerializerWriteBasic(new Datas[]{Datas.STRING,Datas.STRING}));
  m_sequencecash=new StaticSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadInteger.INSTANCE);
  m_activecash=new StaticSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,new SerializerReadBasic(new Datas[]{Datas.STRING,Datas.INT,Datas.TIMESTAMP,Datas.TIMESTAMP}));
  m_insertcash=new StaticSentence(s,"String_Node_Str" + "String_Node_Str",new SerializerWriteBasic(new Datas[]{Datas.STRING,Datas.STRING,Datas.INT,Datas.TIMESTAMP,Datas.TIMESTAMP}));
  m_locationfind=new StaticSentence(s,"String_Node_Str",SerializerWriteString.INSTANCE,SerializerReadString.INSTANCE);
  resetResourcesCache();
}