Program: 166026
Project: 166026
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.setInteger("String_Node_Str",controllerType == null ? ControllerType.CONTROLLER_DEFAULT.ordinal() : controllerType.ordinal());
  tagCompound.setString("String_Node_Str",digitString);
  tagCompound.setLong("String_Node_Str",forcedDimensionSeed);
  tagCompound.setInteger("String_Node_Str",worldVersion);
  setBlockMeta(tagCompound,baseBlockForTerrain,"String_Node_Str");
  setBlockMeta(tagCompound,tendrilBlock,"String_Node_Str");
  setBlockMeta(tagCompound,sphereBlock,"String_Node_Str");
  setBlockMeta(tagCompound,liquidSphereBlock,"String_Node_Str");
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(liquidSphereFluid));
  setBlockMeta(tagCompound,canyonBlock,"String_Node_Str");
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(fluidForTerrain));
  writeOresToNBT(tagCompound);
  writeFluidsToNBT(tagCompound);
  tagCompound.setBoolean("String_Node_Str",peaceful);
  tagCompound.setBoolean("String_Node_Str",shelter);
  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);
}

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.setInteger("String_Node_Str",controllerType == null ? ControllerType.CONTROLLER_DEFAULT.ordinal() : controllerType.ordinal());
  tagCompound.setString("String_Node_Str",digitString);
  tagCompound.setLong("String_Node_Str",forcedDimensionSeed);
  tagCompound.setLong("String_Node_Str",baseSeed);
  tagCompound.setInteger("String_Node_Str",worldVersion);
  setBlockMeta(tagCompound,baseBlockForTerrain,"String_Node_Str");
  setBlockMeta(tagCompound,tendrilBlock,"String_Node_Str");
  setBlockMeta(tagCompound,sphereBlock,"String_Node_Str");
  setBlockMeta(tagCompound,liquidSphereBlock,"String_Node_Str");
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(liquidSphereFluid));
  setBlockMeta(tagCompound,canyonBlock,"String_Node_Str");
  tagCompound.setInteger("String_Node_Str",Block.blockRegistry.getIDForObject(fluidForTerrain));
  writeOresToNBT(tagCompound);
  writeFluidsToNBT(tagCompound);
  tagCompound.setBoolean("String_Node_Str",peaceful);
  tagCompound.setBoolean("String_Node_Str",shelter);
  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);
}