Program: 6781
Project: 6781
Buggy source:
/** 
 * Call only from UI thread 
 */
public void postToFacebook(final Playlist p){
  if (!SwingUtilities.isEventDispatchThread())   throw new Errot();
  UserConfig uc=control.getMyUserConfig();
  if (uc == null || uc.getItem("String_Node_Str") == null) {
    final Sheet waitSheet=new PleaseWaitSheet(this,"String_Node_Str");
    showSheet(waitSheet);
    control.fetchMyUserConfig(new UserConfigCallback(){
      public void success(      UserConfig freshUc){
        waitSheet.setVisible(false);
        if (freshUc.getItem("String_Node_Str") == null) {
          String facebookBounceMsg="String_Node_Str";
          final Sheet sheet=new ConfirmSheet(RobonoboFrame.this,"String_Node_Str",facebookBounceMsg,"String_Node_Str",new CatchingRunnable(){
            public void doRun() throws Exception {
              NetUtil.browse(control.getConfig().getWebsiteUrlBase() + "String_Node_Str");
            }
          }
);
          runOnUiThread(new CatchingRunnable(){
            public void doRun() throws Exception {
              showSheet(sheet);
            }
          }
);
        }
 else {
          runOnUiThread(new CatchingRunnable(){
            public void doRun() throws Exception {
              if (p.getVisibility().equals(Playlist.VIS_ME)) {
                String msg="String_Node_Str";
                final Sheet sheet=new ConfirmSheet(RobonoboFrame.this,"String_Node_Str",msg,"String_Node_Str",new CatchingRunnable(){
                  public void doRun() throws Exception {
                    p.setVisibility(Playlist.VIS_FRIENDS);
                    control.updatePlaylist(p);
                    showSheet(new PostToFacebookSheet(RobonoboFrame.this,p));
                  }
                }
);
                showSheet(sheet);
              }
 else               showSheet(new PostToFacebookSheet(RobonoboFrame.this,p));
            }
          }
);
        }
      }
      public void error(      long userId,      Exception e){
        waitSheet.setVisible(false);
      }
    }
);
  }
 else {
    if (p.getVisibility().equals(Playlist.VIS_ME)) {
      String msg="String_Node_Str";
      final Sheet sheet=new ConfirmSheet(RobonoboFrame.this,"String_Node_Str",msg,"String_Node_Str",new CatchingRunnable(){
        public void doRun() throws Exception {
          p.setVisibility(Playlist.VIS_FRIENDS);
          showSheet(new PostToFacebookSheet(RobonoboFrame.this,p));
          control.updatePlaylist(p,true);
        }
      }
);
      showSheet(sheet);
    }
 else     showSheet(new PostToFacebookSheet(this,p));
  }
}

Fixed version (ground truth):
/** 
 * Call only from UI thread 
 */
public void postToFacebook(final Playlist p){
  if (!SwingUtilities.isEventDispatchThread())   throw new Errot();
  UserConfig uc=control.getMyUserConfig();
  if (uc == null || uc.getItem("String_Node_Str") == null) {
    final Sheet waitSheet=new PleaseWaitSheet(this,"String_Node_Str");
    showSheet(waitSheet);
    control.fetchMyUserConfig(new UserConfigCallback(){
      public void success(      UserConfig freshUc){
        waitSheet.setVisible(false);
        if (freshUc.getItem("String_Node_Str") == null) {
          String facebookBounceMsg="String_Node_Str";
          final Sheet sheet=new ConfirmSheet(RobonoboFrame.this,"String_Node_Str",facebookBounceMsg,"String_Node_Str",new CatchingRunnable(){
            public void doRun() throws Exception {
              NetUtil.browse(control.getConfig().getWebsiteUrlBase() + "String_Node_Str");
            }
          }
);
          runOnUiThread(new CatchingRunnable(){
            public void doRun() throws Exception {
              showSheet(sheet);
            }
          }
);
        }
 else {
          runOnUiThread(new CatchingRunnable(){
            public void doRun() throws Exception {
              if (p.getVisibility().equals(Playlist.VIS_ME)) {
                String msg="String_Node_Str";
                final Sheet sheet=new ConfirmSheet(RobonoboFrame.this,"String_Node_Str",msg,"String_Node_Str",new CatchingRunnable(){
                  public void doRun() throws Exception {
                    p.setVisibility(Playlist.VIS_FRIENDS);
                    control.updatePlaylist(p);
                    showSheet(new PostToFacebookSheet(RobonoboFrame.this,p));
                  }
                }
);
                showSheet(sheet);
              }
 else               showSheet(new PostToFacebookSheet(RobonoboFrame.this,p));
            }
          }
);
        }
      }
      public void error(      long userId,      Exception e){
        waitSheet.setVisible(false);
      }
    }
);
  }
 else {
    if (p.getVisibility().equals(Playlist.VIS_ME)) {
      String msg="String_Node_Str";
      final Sheet sheet=new ConfirmSheet(RobonoboFrame.this,"String_Node_Str",msg,"String_Node_Str",new CatchingRunnable(){
        public void doRun() throws Exception {
          p.setVisibility(Playlist.VIS_FRIENDS);
          showSheet(new PostToFacebookSheet(RobonoboFrame.this,p));
          control.updatePlaylist(p);
        }
      }
);
      showSheet(sheet);
    }
 else     showSheet(new PostToFacebookSheet(this,p));
  }
}