Program: 166090
Project: 166090
Buggy source:
public void writeToNBT(NBTTagCompound tagCompound){
  tagCompound.setString("String_Node_Str",getName());
  Coordinate spawnPoint=getSpawnPoint();
  if (spawnPoint != null) {
    Coordinate.writeToNBT(tagCompound,"String_Node_Str",spawnPoint);
  }
  tagCompound.setInteger("String_Node_Str",getProbeCounter());
  tagCompound.setInteger("String_Node_Str",1);
  tagCompound.setInteger("String_Node_Str",terrainType == null ? TerrainType.TERRAIN_VOID.ordinal() : terrainType.ordinal());
  tagCompound.setIntArray("String_Node_Str",toIntArray(featureTypes));
  tagCompound.setIntArray("String_Node_Str",toIntArray(structureTypes));
  tagCompound.setIntArray("String_Node_Str",toIntArray(effectTypes));
  List<Integer> c=new ArrayList<Integer>(biomes.size());
  for (  BiomeGenBase t : biomes) {
    c.add(t.biomeID);
  }
  tagCompound.setIntArray("String_Node_Str",ArrayUtils.toPrimitive(c.toArray(new Integer[c.size()])));
  tagCompound.setString("String_Node_Str",digitString);
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(baseBlockForTerrain));
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(tendrilBlock));
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(sphereBlock));
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(canyonBlock));
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(fluidForTerrain));
  c=new ArrayList<Integer>(extraOregen.length);
  for (  Block t : extraOregen) {
    c.add(Block.blockRegistry.getIDForObject(t));
  }
  tagCompound.setIntArray("String_Node_Str",ArrayUtils.toPrimitive(c.toArray(new Integer[c.size()])));
  c=new ArrayList<Integer>(fluidsForLakes.length);
  for (  Block t : fluidsForLakes) {
    c.add(Block.blockRegistry.getIDForObject(t));
  }
  tagCompound.setIntArray("String_Node_Str",ArrayUtils.toPrimitive(c.toArray(new Integer[c.size()])));
  tagCompound.setBoolean("String_Node_Str",peaceful);
  if (celestialAngle != null) {
    tagCompound.setFloat("String_Node_Str",celestialAngle);
  }
  if (timeSpeed != null) {
    tagCompound.setFloat("String_Node_Str",timeSpeed);
  }
  tagCompound.setInteger("String_Node_Str",probeCounter);
  tagCompound.setInteger("String_Node_Str",actualRfCost);
  skyDescriptor.writeToNBT(tagCompound);
  NBTTagList list=new NBTTagList();
  for (  MobDescriptor mob : extraMobs) {
    NBTTagCompound tc=new NBTTagCompound();
    tc.setString("String_Node_Str",mob.getEntityClass().getName());
    tc.setInteger("String_Node_Str",mob.getSpawnChance());
    tc.setInteger("String_Node_Str",mob.getMinGroup());
    tc.setInteger("String_Node_Str",mob.getMaxGroup());
    tc.setInteger("String_Node_Str",mob.getMaxLoaded());
    list.appendTag(tc);
  }
  tagCompound.setTag("String_Node_Str",list);
}

Fixed version (ground truth):
public void writeToNBT(NBTTagCompound tagCompound){
  tagCompound.setString("String_Node_Str",getName());
  Coordinate spawnPoint=getSpawnPoint();
  if (spawnPoint != null) {
    Coordinate.writeToNBT(tagCompound,"String_Node_Str",spawnPoint);
  }
  tagCompound.setInteger("String_Node_Str",getProbeCounter());
  tagCompound.setInteger("String_Node_Str",1);
  tagCompound.setInteger("String_Node_Str",terrainType == null ? TerrainType.TERRAIN_VOID.ordinal() : terrainType.ordinal());
  tagCompound.setIntArray("String_Node_Str",toIntArray(featureTypes));
  tagCompound.setIntArray("String_Node_Str",toIntArray(structureTypes));
  tagCompound.setIntArray("String_Node_Str",toIntArray(effectTypes));
  List<Integer> c=new ArrayList<Integer>(biomes.size());
  for (  BiomeGenBase t : biomes) {
    c.add(t.biomeID);
  }
  tagCompound.setIntArray("String_Node_Str",ArrayUtils.toPrimitive(c.toArray(new Integer[c.size()])));
  tagCompound.setString("String_Node_Str",digitString);
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(baseBlockForTerrain));
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(tendrilBlock));
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(sphereBlock));
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(canyonBlock));
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(fluidForTerrain));
  c=new ArrayList<Integer>(extraOregen.length);
  for (  Block t : extraOregen) {
    c.add(Block.blockRegistry.getIDForObject(t));
  }
  tagCompound.setIntArray("String_Node_Str",ArrayUtils.toPrimitive(c.toArray(new Integer[c.size()])));
  c=new ArrayList<Integer>(fluidsForLakes.length);
  for (  Block t : fluidsForLakes) {
    c.add(Block.blockRegistry.getIDForObject(t));
  }
  tagCompound.setIntArray("String_Node_Str",ArrayUtils.toPrimitive(c.toArray(new Integer[c.size()])));
  tagCompound.setBoolean("String_Node_Str",peaceful);
  if (celestialAngle != null) {
    tagCompound.setFloat("String_Node_Str",celestialAngle);
  }
  if (timeSpeed != null) {
    tagCompound.setFloat("String_Node_Str",timeSpeed);
  }
  tagCompound.setInteger("String_Node_Str",probeCounter);
  tagCompound.setInteger("String_Node_Str",actualRfCost);
  skyDescriptor.writeToNBT(tagCompound);
  NBTTagList list=new NBTTagList();
  for (  MobDescriptor mob : extraMobs) {
    NBTTagCompound tc=new NBTTagCompound();
    if (mob != null) {
      if (mob.getEntityClass() != null) {
        tc.setString("String_Node_Str",mob.getEntityClass().getName());
        tc.setInteger("String_Node_Str",mob.getSpawnChance());
        tc.setInteger("String_Node_Str",mob.getMinGroup());
        tc.setInteger("String_Node_Str",mob.getMaxGroup());
        tc.setInteger("String_Node_Str",mob.getMaxLoaded());
        list.appendTag(tc);
      }
    }
  }
  tagCompound.setTag("String_Node_Str",list);
}