Program: 183142
Project: 183142
Buggy source:
static void initPredefined(RenderScript rs){
  USER_U8.mEntries=new Entry[1];
  USER_U8.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.USER,false,8,null);
  USER_U8.init(rs);
  USER_I8.mEntries=new Entry[1];
  USER_I8.mEntries[0]=new Entry(DataType.SIGNED,DataKind.USER,false,8,null);
  USER_I8.init(rs);
  USER_U16.mEntries=new Entry[1];
  USER_U16.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.USER,false,16,null);
  USER_U16.init(rs);
  USER_I16.mEntries=new Entry[1];
  USER_I16.mEntries[0]=new Entry(DataType.SIGNED,DataKind.USER,false,16,null);
  USER_I16.init(rs);
  USER_U32.mEntries=new Entry[1];
  USER_U32.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.USER,false,32,null);
  USER_U32.init(rs);
  USER_I32.mEntries=new Entry[1];
  USER_I32.mEntries[0]=new Entry(DataType.SIGNED,DataKind.USER,false,32,null);
  USER_I32.init(rs);
  USER_FLOAT.mEntries=new Entry[1];
  USER_FLOAT.mEntries[0]=new Entry(DataType.FLOAT,DataKind.USER,false,32,null);
  USER_FLOAT.init(rs);
  A_8.mEntries=new Entry[1];
  A_8.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.ALPHA,true,8,"String_Node_Str");
  A_8.init(rs);
  RGB_565.mEntries=new Entry[3];
  RGB_565.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.RED,true,5,"String_Node_Str");
  RGB_565.mEntries[1]=new Entry(DataType.UNSIGNED,DataKind.GREEN,true,6,"String_Node_Str");
  RGB_565.mEntries[2]=new Entry(DataType.UNSIGNED,DataKind.BLUE,true,5,"String_Node_Str");
  RGB_565.init(rs);
  RGB_888.mEntries=new Entry[3];
  RGB_888.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.RED,true,8,"String_Node_Str");
  RGB_888.mEntries[1]=new Entry(DataType.UNSIGNED,DataKind.GREEN,true,8,"String_Node_Str");
  RGB_888.mEntries[2]=new Entry(DataType.UNSIGNED,DataKind.BLUE,true,8,"String_Node_Str");
  RGB_888.init(rs);
  RGBA_5551.mEntries=new Entry[4];
  RGBA_5551.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.RED,true,5,"String_Node_Str");
  RGBA_5551.mEntries[1]=new Entry(DataType.UNSIGNED,DataKind.GREEN,true,5,"String_Node_Str");
  RGBA_5551.mEntries[2]=new Entry(DataType.UNSIGNED,DataKind.BLUE,true,5,"String_Node_Str");
  RGBA_5551.mEntries[3]=new Entry(DataType.UNSIGNED,DataKind.ALPHA,true,1,"String_Node_Str");
  RGBA_5551.init(rs);
  RGBA_4444.mEntries=new Entry[4];
  RGBA_4444.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.RED,true,4,"String_Node_Str");
  RGBA_4444.mEntries[1]=new Entry(DataType.UNSIGNED,DataKind.GREEN,true,4,"String_Node_Str");
  RGBA_4444.mEntries[2]=new Entry(DataType.UNSIGNED,DataKind.BLUE,true,4,"String_Node_Str");
  RGBA_4444.mEntries[3]=new Entry(DataType.UNSIGNED,DataKind.ALPHA,true,4,"String_Node_Str");
  RGBA_4444.init(rs);
  RGBA_8888.mEntries=new Entry[4];
  RGBA_8888.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.RED,true,8,"String_Node_Str");
  RGBA_8888.mEntries[1]=new Entry(DataType.UNSIGNED,DataKind.GREEN,true,8,"String_Node_Str");
  RGBA_8888.mEntries[2]=new Entry(DataType.UNSIGNED,DataKind.BLUE,true,8,"String_Node_Str");
  RGBA_8888.mEntries[3]=new Entry(DataType.UNSIGNED,DataKind.ALPHA,true,8,"String_Node_Str");
  RGBA_8888.init(rs);
  INDEX_16.mEntries=new Entry[1];
  INDEX_16.mEntries[0]=new Entry(DataType.UNSIGNED,DataKind.INDEX,false,16,"String_Node_Str");
  INDEX_16.init(rs);
  XY_F32.mEntries=new Entry[2];
  XY_F32.mEntries[0]=new Entry(DataType.FLOAT,DataKind.X,false,32,"String_Node_Str");
  XY_F32.mEntries[1]=new Entry(DataType.FLOAT,DataKind.Y,false,32,"String_Node_Str");
  XY_F32.init(rs);
  XYZ_F32.mEntries=new Entry[3];
  XYZ_F32.mEntries[0]=new Entry(DataType.FLOAT,DataKind.X,false,32,"String_Node_Str");
  XYZ_F32.mEntries[1]=new Entry(DataType.FLOAT,DataKind.Y,false,32,"String_Node_Str");
  XYZ_F32.mEntries[2]=new Entry(DataType.FLOAT,DataKind.Z,false,32,"String_Node_Str");
  XYZ_F32.init(rs);
  ST_XY_F32.mEntries=new Entry[4];
  ST_XY_F32.mEntries[0]=new Entry(DataType.FLOAT,DataKind.S,false,32,"String_Node_Str");
  ST_XY_F32.mEntries[1]=new Entry(DataType.FLOAT,DataKind.T,false,32,"String_Node_Str");
  ST_XY_F32.mEntries[2]=new Entry(DataType.FLOAT,DataKind.X,false,32,"String_Node_Str");
  ST_XY_F32.mEntries[3]=new Entry(DataType.FLOAT,DataKind.Y,false,32,"String_Node_Str");
  ST_XY_F32.init(rs);
  ST_XYZ_F32.mEntries=new Entry[5];
  ST_XYZ_F32.mEntries[0]=new Entry(DataType.FLOAT,DataKind.S,false,32,"String_Node_Str");
  ST_XYZ_F32.mEntries[1]=new Entry(DataType.FLOAT,DataKind.T,false,32,"String_Node_Str");
  ST_XYZ_F32.mEntries[2]=new Entry(DataType.FLOAT,DataKind.X,false,32,"String_Node_Str");
  ST_XYZ_F32.mEntries[3]=new Entry(DataType.FLOAT,DataKind.Y,false,32,"String_Node_Str");
  ST_XYZ_F32.mEntries[4]=new Entry(DataType.FLOAT,DataKind.Z,false,32,"String_Node_Str");
  ST_XYZ_F32.init(rs);
  NORM_XYZ_F32.mEntries=new Entry[6];
  NORM_XYZ_F32.mEntries[0]=new Entry(DataType.FLOAT,DataKind.NX,false,32,"String_Node_Str");
  NORM_XYZ_F32.mEntries[1]=new Entry(DataType.FLOAT,DataKind.NY,false,32,"String_Node_Str");
  NORM_XYZ_F32.mEntries[2]=new Entry(DataType.FLOAT,DataKind.NZ,false,32,"String_Node_Str");
  NORM_XYZ_F32.mEntries[3]=new Entry(DataType.FLOAT,DataKind.X,false,32,"String_Node_Str");
  NORM_XYZ_F32.mEntries[4]=new Entry(DataType.FLOAT,DataKind.Y,false,32,"String_Node_Str");
  NORM_XYZ_F32.mEntries[5]=new Entry(DataType.FLOAT,DataKind.Z,false,32,"String_Node_Str");
  NORM_XYZ_F32.init(rs);
  NORM_ST_XYZ_F32.mEntries=new Entry[8];
  NORM_ST_XYZ_F32.mEntries[0]=new Entry(DataType.FLOAT,DataKind.NX,false,32,"String_Node_Str");
  NORM_ST_XYZ_F32.mEntries[1]=new Entry(DataType.FLOAT,DataKind.NY,false,32,"String_Node_Str");
  NORM_ST_XYZ_F32.mEntries[2]=new Entry(DataType.FLOAT,DataKind.NZ,false,32,"String_Node_Str");
  NORM_ST_XYZ_F32.mEntries[3]=new Entry(DataType.FLOAT,DataKind.S,false,32,"String_Node_Str");
  NORM_ST_XYZ_F32.mEntries[4]=new Entry(DataType.FLOAT,DataKind.T,false,32,"String_Node_Str");
  NORM_ST_XYZ_F32.mEntries[5]=new Entry(DataType.FLOAT,DataKind.X,false,32,"String_Node_Str");
  NORM_ST_XYZ_F32.mEntries[6]=new Entry(DataType.FLOAT,DataKind.Y,false,32,"String_Node_Str");
  NORM_ST_XYZ_F32.mEntries[7]=new Entry(DataType.FLOAT,DataKind.Z,false,32,"String_Node_Str");
  NORM_ST_XYZ_F32.init(rs);
  rs.nInitElements(A_8.mID,RGBA_4444.mID,RGBA_8888.mID,RGB_565.mID);
}

Fixed version (ground truth):
static void initPredefined(RenderScript rs){
  rs.nInitElements(A_8(rs).mID,RGBA_4444(rs).mID,RGBA_8888(rs).mID,RGB_565(rs).mID);
}