Program: 28572
Project: 28572
Buggy source:
@Override protected void prepareHandlers(final Context context){
  super.prepareHandlers(context);
  addHandler(Attributes.RatingBar.NumStars,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setNumStars(ParseHelper.parseInt(attributeValue));
    }
  }
);
  addHandler(Attributes.RatingBar.Rating,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setRating(ParseHelper.parseFloat(attributeValue));
    }
  }
);
  addHandler(Attributes.RatingBar.IsIndicator,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setIsIndicator(ParseHelper.parseBoolean(attributeValue));
    }
  }
);
  addHandler(Attributes.RatingBar.StepSize,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setStepSize(ParseHelper.parseFloat(attributeValue));
    }
  }
);
  addHandler(Attributes.RatingBar.MinHeight,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setMinimumHeight(ParseHelper.parseDimension(attributeValue,context));
    }
  }
);
  addHandler(Attributes.RatingBar.ProgressDrawable,new DrawableResourceProcessor<T>(context){
    @Override public void setDrawable(    T view,    Drawable drawable){
      drawable=view.tileify(drawable,false);
      view.setProgressDrawable(drawable);
    }
  }
);
}

Fixed version (ground truth):
@Override protected void prepareHandlers(final Context context){
  super.prepareHandlers(context);
  addHandler(Attributes.RatingBar.NumStars,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setNumStars(ParseHelper.parseInt(attributeValue));
    }
  }
);
  addHandler(Attributes.RatingBar.Rating,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setRating(ParseHelper.parseFloat(attributeValue));
    }
  }
);
  addHandler(Attributes.RatingBar.IsIndicator,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setIsIndicator(ParseHelper.parseBoolean(attributeValue));
    }
  }
);
  addHandler(Attributes.RatingBar.StepSize,new StringAttributeProcessor<T>(){
    @Override public void handle(    ParserContext parserContext,    String attributeKey,    String attributeValue,    T view,    ProteusView proteusView,    ProteusView parent,    JsonObject layout,    int index){
      view.setStepSize(ParseHelper.parseFloat(attributeValue));
    }
  }
);
  addHandler(Attributes.RatingBar.MinHeight,new DimensionAttributeProcessor<T>(){
    @Override public void setDimension(    ParserContext parserContext,    int dimension,    T view,    String attributeKey,    JsonElement attributeValue,    ProteusView proteusView,    JsonObject layout,    int index){
      view.setMinimumHeight(dimension);
    }
  }
);
  addHandler(Attributes.RatingBar.ProgressDrawable,new DrawableResourceProcessor<T>(context){
    @Override public void setDrawable(    T view,    Drawable drawable){
      drawable=view.tileify(drawable,false);
      view.setProgressDrawable(drawable);
    }
  }
);
}