Program: 165654
Project: 165654
Buggy source:
private void addStorageLine(PacketReturnInventoryInfo.InventoryInfo c,String displayName,boolean routable){
  Panel panel;
  if (c == null) {
    panel=new Panel(mc,this).setLayout(new HorizontalLayout().setSpacing(8).setHorizontalMargin(5));
    panel.addChild(new ImageLabel(mc,this).setImage(guielements,115,19).setDesiredWidth(13).setDesiredHeight(13));
  }
 else {
    HorizontalLayout layout=new HorizontalLayout();
    if (!openViewButton.isPressed()) {
      layout.setHorizontalMargin(2);
    }
    panel=new Panel(mc,this).setLayout(layout);
    panel.addChild(new BlockRender(mc,this).setRenderItem(c.getBlock()));
  }
  if (openViewButton.isPressed()) {
    AbstractWidget label;
    label=new Label(mc,this).setColor(StyleConfig.colorTextInListNormal).setText(displayName).setDynamic(true).setHorizontalAlignment(HorizontalAlignment.ALIGN_LEFT).setDesiredWidth(58);
    if (c == null) {
      label.setTooltips(TextFormatting.GREEN + "String_Node_Str").setDesiredWidth(74);
    }
 else {
      label.setTooltips(TextFormatting.GREEN + "String_Node_Str" + TextFormatting.WHITE+ BlockPosTools.toString(c.getPos()),TextFormatting.GREEN + "String_Node_Str" + TextFormatting.WHITE+ displayName,"String_Node_Str");
    }
    panel.addChild(label);
    if (c != null) {
      ImageChoiceLabel choiceLabel=new ImageChoiceLabel(mc,this).addChoiceEvent((parent,newChoice) -> changeRoutable(c.getPos())).setDesiredWidth(13);
      choiceLabel.addChoice("String_Node_Str","String_Node_Str",guielements,131,19);
      choiceLabel.addChoice("String_Node_Str","String_Node_Str",guielements,115,19);
      choiceLabel.setCurrentChoice(routable ? 1 : 0);
      panel.addChild(choiceLabel);
    }
  }
  storageList.addChild(panel);
}

Fixed version (ground truth):
private void addStorageLine(PacketReturnInventoryInfo.InventoryInfo c,String displayName,boolean routable){
  Panel panel;
  if (c == null) {
    panel=new Panel(mc,this).setLayout(new HorizontalLayout().setSpacing(8).setHorizontalMargin(5));
    panel.addChild(new ImageLabel(mc,this).setImage(guielements,115,19).setDesiredWidth(13).setDesiredHeight(13));
  }
 else {
    HorizontalLayout layout=new HorizontalLayout();
    if (!openViewButton.isPressed()) {
      layout.setHorizontalMargin(2);
    }
    panel=new Panel(mc,this).setLayout(layout);
    panel.addChild(new BlockRender(mc,this).setRenderItem(c.getBlock()));
  }
  if (openViewButton.isPressed()) {
    AbstractWidget<?> label;
    label=new Label(mc,this).setColor(StyleConfig.colorTextInListNormal).setText(displayName).setDynamic(true).setHorizontalAlignment(HorizontalAlignment.ALIGN_LEFT).setDesiredWidth(58);
    if (c == null) {
      label.setTooltips(TextFormatting.GREEN + "String_Node_Str").setDesiredWidth(74);
    }
 else {
      label.setTooltips(TextFormatting.GREEN + "String_Node_Str" + TextFormatting.WHITE+ BlockPosTools.toString(c.getPos()),TextFormatting.GREEN + "String_Node_Str" + TextFormatting.WHITE+ displayName,"String_Node_Str");
    }
    panel.addChild(label);
    if (c != null) {
      ImageChoiceLabel choiceLabel=new ImageChoiceLabel(mc,this).addChoiceEvent((parent,newChoice) -> changeRoutable(c.getPos())).setDesiredWidth(13);
      choiceLabel.addChoice("String_Node_Str","String_Node_Str",guielements,131,19);
      choiceLabel.addChoice("String_Node_Str","String_Node_Str",guielements,115,19);
      choiceLabel.setCurrentChoice(routable ? 1 : 0);
      panel.addChild(choiceLabel);
    }
  }
  storageList.addChild(panel);
}