Program: 175895
Project: 175895
Buggy source:
private void selected(PlanSkeleton skel,Node house,SuperFace sf,SuperEdge se){
  JPanel ui=new JPanel();
  ui.setLayout(new ListDownLayout());
  JButton fac=new JButton("String_Node_Str");
  fac.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      if (se.toEdit == null) {
        se.toEdit=new MiniFacade();
        se.toEdit.left=0;
        se.toEdit.width=se.length();
        se.toEdit.height=30;
        se.toEdit.groundFloorHeight=2;
      }
      Plot p=new Plot(se.toEdit);
      p.addEditListener(new Changed(){
        @Override public void changed(){
          tweed.enqueue(new Runnable(){
            @Override public void run(){
              PlanSkeleton skel=calc(sf);
              setSkel(skel,skel.output,sf);
            }
          }
);
        }
      }
);
    }
  }
);
  ui.add(fac);
  JButton camp=new JButton("String_Node_Str");
  camp.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      Siteplan cs=new Siteplan(skel.plan,false){
        public void show(        Output output,        Skeleton threadKey){
          super.show(output,threadKey);
          tweed.enqueue(new Runnable(){
            @Override public void run(){
              setSkel(skel,output,sf);
            }
          }
);
        }
      }
;
      cs.setVisible(true);
      cs.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    }
  }
);
  ui.add(camp);
  JButton mmg=new JButton("String_Node_Str");
  mmg.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      MOgram mg=buildMOGram(sf,se);
      MOgramEditor.quitOnLastClosed=false;
      new MOgramEditor(mg).setVisible(true);
    }
  }
);
  ui.add(mmg);
  JButton mini=new JButton("String_Node_Str");
  mini.addActionListener(e -> new MiniViewer(se));
  if (sf != null)   ui.add(mini);
  JButton prof=new JButton("String_Node_Str");
  prof.addActionListener(e -> new ProfileAssignmentViewer(sf,skelFootprint.globalProfs));
  ui.add(prof);
  JButton plan=new JButton("String_Node_Str");
  plan.addActionListener(e -> new Plot(toRender,footprint));
  ui.add(plan);
  JButton remove=new JButton("String_Node_Str");
  remove.addActionListener(e -> {
    visible=false;
    calculateOnJmeThread();
    tweed.frame.removeGen(SkelGen.this);
  }
);
  ui.add(plan);
  tweed.frame.setGenUI(ui);
}

Fixed version (ground truth):
private void selected(PlanSkeleton skel,Node house,SuperFace sf,SuperEdge se){
  JPanel ui=new JPanel();
  ui.setLayout(new ListDownLayout());
  JButton fac=new JButton("String_Node_Str");
  fac.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      if (se.toEdit == null) {
        se.toEdit=new MiniFacade();
        se.toEdit.left=0;
        se.toEdit.width=se.length();
        se.toEdit.height=30;
        se.toEdit.groundFloorHeight=2;
      }
      Plot p=new Plot(se.toEdit);
      PaintThing.debug.clear();
      p.addEditListener(new Changed(){
        @Override public void changed(){
          PaintThing.debug.clear();
          tweed.enqueue(new Runnable(){
            @Override public void run(){
              PlanSkeleton skel=calc(sf);
              setSkel(skel,skel.output,sf);
            }
          }
);
        }
      }
);
    }
  }
);
  ui.add(fac);
  JButton camp=new JButton("String_Node_Str");
  camp.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      Siteplan cs=new Siteplan(skel.plan,false){
        public void show(        Output output,        Skeleton threadKey){
          super.show(output,threadKey);
          tweed.enqueue(new Runnable(){
            @Override public void run(){
              setSkel(skel,output,sf);
            }
          }
);
        }
      }
;
      cs.setVisible(true);
      cs.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    }
  }
);
  ui.add(camp);
  JButton mmg=new JButton("String_Node_Str");
  mmg.addActionListener(new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      MOgram mg=buildMOGram(sf,se);
      MOgramEditor.quitOnLastClosed=false;
      new MOgramEditor(mg).setVisible(true);
    }
  }
);
  ui.add(mmg);
  JButton mini=new JButton("String_Node_Str");
  mini.addActionListener(e -> new MiniViewer(se));
  if (sf != null)   ui.add(mini);
  JButton prof=new JButton("String_Node_Str");
  prof.addActionListener(e -> new ProfileAssignmentViewer(sf,skelFootprint.globalProfs));
  ui.add(prof);
  JButton plan=new JButton("String_Node_Str");
  plan.addActionListener(e -> new Plot(toRender,footprint));
  ui.add(plan);
  JButton remove=new JButton("String_Node_Str");
  remove.addActionListener(e -> {
    visible=false;
    calculateOnJmeThread();
    tweed.frame.removeGen(SkelGen.this);
  }
);
  ui.add(plan);
  tweed.frame.setGenUI(ui);
}