}
@Override
public void onInitialize() {
super.onInitialize();
final Long assignmentId = ((Model<Long>) getDefaultModel()).getObject();
<BUG>final Assignment assignment = this.businessService.getAssignment(assignmentId.longValue());
add(new Label("title", new StringResourceModel("label.statistics.title",

null, new Object[] { assignment.getName() }).getString()));
final List<GbStudentGradeInfo> gradeInfo = this.businessService.buildGradeMatrix(Arrays.asList(assignment));</BUG>
final List<Double> allGrades = new ArrayList<>();

}
@Override
public void onInitialize() {
super.onInitialize();
final Long assignmentId = ((Model<Long>) getDefaultModel()).getObject();
final Assignment assignment = this.businessService.getAssignment(assignmentId.longValue());
GradeStatisticsPanel.this.window.setTitle(
(new StringResourceModel("label.statistics.title", null,
new Object[] { assignment.getName() }).getString()));
final List<GbStudentGradeInfo> gradeInfo = this.businessService.buildGradeMatrix(Arrays.asList(assignment));
final List<Double> allGrades = new ArrayList<>();
