Program: 131149
Project: 131149
Buggy source:
private void drawPage(PdfDocument.Page page){
  Canvas canvas=page.getCanvas();
  StringBuilder token=new StringBuilder();
  int titleBaseLine=72;
  int leftMargin=54;
  Paint paint=new Paint();
  paint.setColor(Color.BLACK);
  paint.setTextSize(20);
  canvas.drawText(context.getString(R.string.app_name),leftMargin,titleBaseLine,paint);
  paint.setTextSize(14);
  token.append("String_Node_Str" + UColor.getRGB(RGBRColor));
  token.append("String_Node_Str" + UColor.getRGB(RGBGColor));
  token.append("String_Node_Str" + UColor.getRGB(RGBBColor));
  canvas.drawText(token.toString(),leftMargin,titleBaseLine + 25,paint);
  token=new StringBuilder();
  token.append("String_Node_Str" + UColor.getRGB(RGBOpacity));
  canvas.drawText(token.toString(),leftMargin,titleBaseLine + 50,paint);
  token=new StringBuilder();
  float[] hsb=UColor.RGBToHSB(RGBRColor,RGBGColor,RGBBColor);
  token.append("String_Node_Str" + String.format("String_Node_Str",hsb[0]));
  token.append("String_Node_Str" + String.format("String_Node_Str",(hsb[1] * 100.0f)));
  token.append("String_Node_Str" + String.format("String_Node_Str",(hsb[2] * 100.0f)));
  canvas.drawText(token.toString(),leftMargin,titleBaseLine + 75,paint);
  token=new StringBuilder();
  token.append("String_Node_Str" + String.format("String_Node_Str",UColor.RGBToHex(RGBOpacity),UColor.RGBToHex(RGBRColor),UColor.RGBToHex(RGBGColor),UColor.RGBToHex(RGBBColor)));
  canvas.drawText(token.toString(),leftMargin,titleBaseLine + 100,paint);
  paint.setColor(Color.argb((int)RGBOpacity,(int)RGBRColor,(int)RGBGColor,(int)RGBBColor));
  canvas.drawRect(leftMargin,titleBaseLine + 125,126,269,paint);
  if (message != null) {
    paint.setColor(Color.BLACK);
    paint.setTextSize(11);
    canvas.drawText(message,leftMargin,294,paint);
  }
}

Fixed version (ground truth):
private void drawPage(PdfDocument.Page page){
  Canvas canvas=page.getCanvas();
  StringBuilder token=new StringBuilder();
  int titleBaseLine=72;
  int leftMargin=54;
  Paint paint=new Paint();
  paint.setColor(Color.BLACK);
  paint.setTextSize(20);
  canvas.drawText(context.getString(R.string.app_name),leftMargin,titleBaseLine,paint);
  paint.setTextSize(14);
  token.append("String_Node_Str");
  token.append(UColor.getRGB(RGBRColor));
  token.append("String_Node_Str");
  token.append(UColor.getRGB(RGBGColor));
  token.append("String_Node_Str");
  token.append(UColor.getRGB(RGBBColor));
  canvas.drawText(token.toString(),leftMargin,titleBaseLine + 25,paint);
  token=new StringBuilder();
  token.append("String_Node_Str");
  token.append(UColor.getRGB(RGBOpacity));
  canvas.drawText(token.toString(),leftMargin,titleBaseLine + 50,paint);
  token=new StringBuilder();
  float[] hsb=UColor.RGBToHSB(RGBRColor,RGBGColor,RGBBColor);
  token.append("String_Node_Str");
  token.append(String.format("String_Node_Str",hsb[0]));
  token.append("String_Node_Str");
  token.append(String.format("String_Node_Str",(hsb[1] * 100.0f)));
  token.append("String_Node_Str");
  token.append(String.format("String_Node_Str",(hsb[2] * 100.0f)));
  canvas.drawText(token.toString(),leftMargin,titleBaseLine + 75,paint);
  token=new StringBuilder();
  token.append("String_Node_Str");
  token.append(String.format("String_Node_Str",UColor.RGBToHex(RGBOpacity),UColor.RGBToHex(RGBRColor),UColor.RGBToHex(RGBGColor),UColor.RGBToHex(RGBBColor)));
  canvas.drawText(token.toString(),leftMargin,titleBaseLine + 100,paint);
  paint.setColor(Color.argb((int)RGBOpacity,(int)RGBRColor,(int)RGBGColor,(int)RGBBColor));
  canvas.drawRect(leftMargin,titleBaseLine + 125,126,269,paint);
  if (message != null) {
    paint.setColor(Color.BLACK);
    paint.setTextSize(11);
    canvas.drawText(message,leftMargin,294,paint);
  }
}