Program: 163571
Project: 163571
Buggy source:
private void init(AttributeSet attrs,int defStyle){
  final TypedArray a=getContext().obtainStyledAttributes(attrs,R.styleable.CircleView,defStyle,0);
  mTitleText=a.getString(R.styleable.CircleView_titleText);
  mSubtitleText=a.getString(R.styleable.CircleView_subtitleText);
  mTitleColor=a.getColor(R.styleable.CircleView_titleColor,mTitleColor);
  mSubtitleColor=a.getColor(R.styleable.CircleView_subtitleColor,mSubtitleColor);
  mBackgroundColor=a.getColor(R.styleable.CircleView_backgroundColor,mBackgroundColor);
  mStrokeColor=a.getColor(R.styleable.CircleView_strokeColor,mStrokeColor);
  mFillColor=a.getColor(R.styleable.CircleView_fillColor,mFillColor);
  mTitleSize=a.getDimension(R.styleable.CircleView_titleSize,mTitleSize);
  mSubtitleSize=a.getDimension(R.styleable.CircleView_subtitleSize,mSubtitleSize);
  mStrokeWidth=a.getFloat(R.styleable.CircleView_strokeWidth,mStrokeWidth);
  mFillRadius=a.getFloat(R.styleable.CircleView_fillRadius,mFillRadius);
  a.recycle();
  mTitleTextPaint=new TextPaint();
  mTitleTextPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mTitleTextPaint.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL));
  mTitleTextPaint.setTextAlign(Paint.Align.CENTER);
  mTitleTextPaint.setLinearText(true);
  mTitleTextPaint.setColor(mTitleColor);
  mTitleTextPaint.setTextSize(mTitleSize);
  mSubTextPaint=new TextPaint();
  mSubTextPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mSubTextPaint.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL));
  mSubTextPaint.setTextAlign(Paint.Align.CENTER);
  mSubTextPaint.setLinearText(true);
  mSubTextPaint.setColor(mSubtitleColor);
  mSubTextPaint.setTextSize(mSubtitleSize);
  mStrokePaint=new Paint();
  mStrokePaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mStrokePaint.setStyle(Paint.Style.STROKE);
  mStrokePaint.setColor(mStrokeColor);
  mStrokePaint.setStrokeWidth(mStrokeWidth);
  mBackgroundPaint=new Paint();
  mBackgroundPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mBackgroundPaint.setStyle(Paint.Style.FILL);
  mBackgroundPaint.setColor(mBackgroundColor);
  mFillPaint=new Paint();
  mFillPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mFillPaint.setStyle(Paint.Style.FILL);
  mFillPaint.setColor(mFillColor);
  mInnerRectF=new RectF();
}

Fixed version (ground truth):
private void init(AttributeSet attrs,int defStyle){
  final TypedArray a=getContext().obtainStyledAttributes(attrs,R.styleable.CircleView,defStyle,0);
  if (a.hasValue(R.styleable.CircleView_titleText)) {
    mTitleText=a.getString(R.styleable.CircleView_titleText);
  }
  if (a.hasValue(R.styleable.CircleView_subtitleText)) {
    mSubtitleText=a.getString(R.styleable.CircleView_subtitleText);
  }
  mTitleColor=a.getColor(R.styleable.CircleView_titleColor,DEFAULT_TITLE_COLOR);
  mSubtitleColor=a.getColor(R.styleable.CircleView_subtitleColor,DEFAULT_SUBTITLE_COLOR);
  mBackgroundColor=a.getColor(R.styleable.CircleView_backgroundColorValue,DEFAULT_BACKGROUND_COLOR);
  mStrokeColor=a.getColor(R.styleable.CircleView_strokeColorValue,DEFAULT_STROKE_COLOR);
  mFillColor=a.getColor(R.styleable.CircleView_fillColor,DEFAULT_FILL_COLOR);
  mTitleSize=a.getDimension(R.styleable.CircleView_titleSize,DEFAULT_TITLE_SIZE);
  mSubtitleSize=a.getDimension(R.styleable.CircleView_subtitleSize,DEFAULT_SUBTITLE_SIZE);
  mStrokeWidth=a.getFloat(R.styleable.CircleView_strokeWidthSize,DEFAULT_STROKE_WIDTH);
  mFillRadius=a.getFloat(R.styleable.CircleView_fillRadius,DEFAULT_FILL_RADIUS);
  a.recycle();
  mTitleTextPaint=new TextPaint();
  mTitleTextPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mTitleTextPaint.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL));
  mTitleTextPaint.setTextAlign(Paint.Align.CENTER);
  mTitleTextPaint.setLinearText(true);
  mTitleTextPaint.setColor(mTitleColor);
  mTitleTextPaint.setTextSize(mTitleSize);
  mSubTextPaint=new TextPaint();
  mSubTextPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mSubTextPaint.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL));
  mSubTextPaint.setTextAlign(Paint.Align.CENTER);
  mSubTextPaint.setLinearText(true);
  mSubTextPaint.setColor(mSubtitleColor);
  mSubTextPaint.setTextSize(mSubtitleSize);
  mStrokePaint=new Paint();
  mStrokePaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mStrokePaint.setStyle(Paint.Style.STROKE);
  mStrokePaint.setColor(mStrokeColor);
  mStrokePaint.setStrokeWidth(mStrokeWidth);
  mBackgroundPaint=new Paint();
  mBackgroundPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mBackgroundPaint.setStyle(Paint.Style.FILL);
  mBackgroundPaint.setColor(mBackgroundColor);
  mFillPaint=new Paint();
  mFillPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
  mFillPaint.setStyle(Paint.Style.FILL);
  mFillPaint.setColor(mFillColor);
  mInnerRectF=new RectF();
}