Skip to content

Commit d9d4677

Browse files
committed
Fix NPE when viewing a federation proposal (issue 195)
1 parent cf2ef78 commit d9d4677

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

releases.moxie

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ r17: {
1111
- Use bash instead of sh in Linux/OSX shell scripts (issue 154)
1212
- Fix NPE when getting user's fork without repository list caching (issue 182)
1313
- Fix internal error on folder history links (issue 192)
14+
- Fix NPE in repositories panel when viewing a federation proposal (issue 195)
1415
- Fix NPEs when initializing the context on a servlet containers which returns a null contextFolder (issue 199)
1516
- Fixed incorrect icon file name for .doc files (issue 200)
1617
- Do not queue emails with no recipients (issue 201)

src/main/java/com/gitblit/wicket/panels/RepositoriesPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void onClick() {
132132
for (String root : roots) {
133133
List<RepositoryModel> subModels = groups.get(root);
134134
ProjectModel project = GitBlit.self().getProjectModel(root);
135-
GroupRepositoryModel group = new GroupRepositoryModel(project.name, subModels.size());
135+
GroupRepositoryModel group = new GroupRepositoryModel(project == null ? root : project.name, subModels.size());
136136
if (project != null) {
137137
group.title = project.title;
138138
group.description = project.description;

0 commit comments

Comments
 (0)