Program: 150922
Project: 150922
Buggy source:
public static void convertFromInterleaved(BufferedImage src,ImageInterleaved dst,boolean orderRgb){
  if (src == null)   throw new IllegalArgumentException("String_Node_Str");
  if (src.getWidth() != dst.getWidth() || src.getHeight() != dst.getHeight()) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  try {
    WritableRaster raster=src.getRaster();
    int numBands;
    if (src.getType() == BufferedImage.TYPE_BYTE_INDEXED)     numBands=3;
 else     numBands=raster.getNumBands();
    if (dst.getNumBands() != numBands)     throw new IllegalArgumentException("String_Node_Str" + numBands + "String_Node_Str"+ dst.getNumBands());
    if (dst instanceof InterleavedU8) {
      if (src.getRaster() instanceof ByteInterleavedRaster && src.getType() != BufferedImage.TYPE_BYTE_INDEXED) {
        if (src.getType() == BufferedImage.TYPE_BYTE_GRAY) {
          ConvertRaster.bufferedToGray(src,(InterleavedU8)dst);
        }
 else {
          ConvertRaster.bufferedToInterleaved((ByteInterleavedRaster)src.getRaster(),(InterleavedU8)dst);
        }
      }
 else       if (src.getRaster() instanceof IntegerInterleavedRaster) {
        ConvertRaster.bufferedToInterleaved((IntegerInterleavedRaster)src.getRaster(),(InterleavedU8)dst);
      }
 else {
        ConvertRaster.bufferedToInterleaved(src,(InterleavedU8)dst);
      }
    }
 else     if (dst instanceof InterleavedF32) {
      if (src.getRaster() instanceof ByteInterleavedRaster && src.getType() != BufferedImage.TYPE_BYTE_INDEXED) {
        if (src.getType() == BufferedImage.TYPE_BYTE_GRAY) {
          ConvertRaster.bufferedToGray(src,(InterleavedF32)dst);
        }
 else {
          ConvertRaster.bufferedToInterleaved((ByteInterleavedRaster)src.getRaster(),(InterleavedF32)dst);
        }
      }
 else       if (src.getRaster() instanceof IntegerInterleavedRaster) {
        ConvertRaster.bufferedToInterleaved((IntegerInterleavedRaster)src.getRaster(),(InterleavedF32)dst);
      }
 else {
        ConvertRaster.bufferedToInterleaved(src,(InterleavedF32)dst);
      }
    }
 else {
      throw new IllegalArgumentException("String_Node_Str");
    }
  }
 catch (  java.security.AccessControlException e) {
    if (dst instanceof InterleavedU8) {
      ConvertRaster.bufferedToInterleaved(src,(InterleavedU8)dst);
    }
 else     if (dst instanceof InterleavedF32) {
      ConvertRaster.bufferedToInterleaved(src,(InterleavedF32)dst);
    }
 else {
      throw new IllegalArgumentException("String_Node_Str");
    }
  }
  if (orderRgb) {
    orderBandsIntoRGB(dst,src);
  }
}

Fixed version (ground truth):
public static void convertFromInterleaved(BufferedImage src,ImageInterleaved dst,boolean orderRgb){
  if (src == null)   throw new IllegalArgumentException("String_Node_Str");
  if (src.getWidth() != dst.getWidth() || src.getHeight() != dst.getHeight()) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  try {
    WritableRaster raster=src.getRaster();
    int numBands;
    if (src.getType() == BufferedImage.TYPE_BYTE_INDEXED)     numBands=3;
 else     numBands=raster.getNumBands();
    if (dst.getNumBands() != numBands)     throw new IllegalArgumentException("String_Node_Str" + numBands + "String_Node_Str"+ dst.getNumBands());
    if (dst instanceof InterleavedU8) {
      if (src.getRaster() instanceof ByteInterleavedRaster && src.getType() != BufferedImage.TYPE_BYTE_INDEXED) {
        if (src.getType() == BufferedImage.TYPE_BYTE_GRAY) {
          ConvertRaster.bufferedToGray(src,(InterleavedU8)dst);
        }
 else {
          ConvertRaster.bufferedToInterleaved((ByteInterleavedRaster)src.getRaster(),(InterleavedU8)dst);
        }
      }
 else       if (src.getRaster() instanceof IntegerInterleavedRaster) {
        ConvertRaster.bufferedToInterleaved((IntegerInterleavedRaster)src.getRaster(),(InterleavedU8)dst);
      }
 else       if (src.getRaster() instanceof SunWritableRaster) {
        ConvertRaster.bufferedToInterleaved((SunWritableRaster)src.getRaster(),(InterleavedU8)dst);
      }
 else {
        ConvertRaster.bufferedToInterleaved(src,(InterleavedU8)dst);
      }
    }
 else     if (dst instanceof InterleavedF32) {
      if (src.getRaster() instanceof ByteInterleavedRaster && src.getType() != BufferedImage.TYPE_BYTE_INDEXED) {
        if (src.getType() == BufferedImage.TYPE_BYTE_GRAY) {
          ConvertRaster.bufferedToGray(src,(InterleavedF32)dst);
        }
 else {
          ConvertRaster.bufferedToInterleaved((ByteInterleavedRaster)src.getRaster(),(InterleavedF32)dst);
        }
      }
 else       if (src.getRaster() instanceof IntegerInterleavedRaster) {
        ConvertRaster.bufferedToInterleaved((IntegerInterleavedRaster)src.getRaster(),(InterleavedF32)dst);
      }
 else       if (src.getRaster() instanceof SunWritableRaster) {
        ConvertRaster.bufferedToInterleaved((SunWritableRaster)src.getRaster(),(InterleavedF32)dst);
      }
 else {
        ConvertRaster.bufferedToInterleaved(src,(InterleavedF32)dst);
      }
    }
 else {
      throw new IllegalArgumentException("String_Node_Str");
    }
  }
 catch (  java.security.AccessControlException e) {
    if (dst instanceof InterleavedU8) {
      ConvertRaster.bufferedToInterleaved(src,(InterleavedU8)dst);
    }
 else     if (dst instanceof InterleavedF32) {
      ConvertRaster.bufferedToInterleaved(src,(InterleavedF32)dst);
    }
 else {
      throw new IllegalArgumentException("String_Node_Str");
    }
  }
  if (orderRgb) {
    orderBandsIntoRGB(dst,src);
  }
}