Program: 57802
Project: 57802
Buggy source:
@Override public void setBrickViews(GLBrick brick,GL2 gl,GLMouseListener glMouseListener,ABrickLayoutConfiguration brickLayout){
  HashMap<EContainedViewType,AGLView> views=new HashMap<EContainedViewType,AGLView>();
  HashMap<EContainedViewType,LayoutRenderer> containedViewRenderers=new HashMap<EContainedViewType,LayoutRenderer>();
  KaplanMeierCreator pathwayCreator=new KaplanMeierCreator();
  AGLView kaplanMeier=pathwayCreator.createRemoteView(brick,gl,glMouseListener);
  LayoutRenderer kaplanMeierRenderer=new ViewLayoutRenderer(kaplanMeier);
  views.put(EContainedViewType.KAPLAN_MEIER_VIEW,kaplanMeier);
  containedViewRenderers.put(EContainedViewType.KAPLAN_MEIER_VIEW,kaplanMeierRenderer);
  String label="String_Node_Str";
  brick.setLabel(label);
  LayoutRenderer pathwaysSummaryRenderer=new PathwaysSummaryRenderer(brick,label,PickingType.BRICK.name(),brick.getID());
  containedViewRenderers.put(EContainedViewType.PATHWAYS_SUMMARY,pathwaysSummaryRenderer);
  LayoutRenderer pathwaysSummaryCompactRenderer=new PathwaysSummaryRenderer(brick,"String_Node_Str",PickingType.BRICK.name(),brick.getID());
  containedViewRenderers.put(EContainedViewType.PATHWAYS_SUMMARY_COMPACT,pathwaysSummaryCompactRenderer);
  if (brick.getDataContainer() instanceof PathwayDataContainer) {
    PathwayDataContainer brickData=(PathwayDataContainer)brick.getDataContainer();
    if (brickData.getPathway() != null) {
      PathwayDatabaseType dataBaseType=brickData.getPathway().getType();
      EIconTextures texture;
      if (dataBaseType == PathwayDatabaseType.KEGG) {
        texture=EIconTextures.CM_KEGG;
      }
 else {
        texture=EIconTextures.CM_BIOCARTA;
      }
      LayoutRenderer compactPathwayRenderer=new CompactPathwayRenderer(brick,brick.getDataContainer().getLabel(),PickingType.BRICK.name(),brick.getID(),brick.getTextureManager(),texture);
      containedViewRenderers.put(EContainedViewType.PATHWAY_VIEW_COMPACT,compactPathwayRenderer);
    }
  }
  brick.setViews(views);
  brick.setContainedViewRenderers(containedViewRenderers);
}

Fixed version (ground truth):
@Override public void setBrickViews(GLBrick brick,GL2 gl,GLMouseListener glMouseListener,ABrickLayoutConfiguration brickLayout){
  HashMap<EContainedViewType,AGLView> views=new HashMap<EContainedViewType,AGLView>();
  HashMap<EContainedViewType,LayoutRenderer> containedViewRenderers=new HashMap<EContainedViewType,LayoutRenderer>();
  KaplanMeierCreator viewCreator=new KaplanMeierCreator();
  AGLView kaplanMeier=viewCreator.createRemoteView(brick,gl,glMouseListener);
  LayoutRenderer kaplanMeierRenderer=new ViewLayoutRenderer(kaplanMeier);
  views.put(EContainedViewType.KAPLAN_MEIER_VIEW,kaplanMeier);
  containedViewRenderers.put(EContainedViewType.KAPLAN_MEIER_VIEW,kaplanMeierRenderer);
  String label="String_Node_Str";
  brick.setLabel(label);
  LayoutRenderer kaplanMeierSummaryRenderer=new KaplanMeierSummaryRenderer(brick,label,PickingType.BRICK.name(),brick.getID());
  containedViewRenderers.put(EContainedViewType.KAPLAN_MEIER_SUMMARY,kaplanMeierSummaryRenderer);
  LayoutRenderer kaplanMeierSummaryCompactRenderer=new KaplanMeierSummaryRenderer(brick,"String_Node_Str",PickingType.BRICK.name(),brick.getID());
  containedViewRenderers.put(EContainedViewType.KAPLAN_MEIER_SUMMARY,kaplanMeierSummaryCompactRenderer);
  brick.setViews(views);
  brick.setContainedViewRenderers(containedViewRenderers);
}