We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64dbf8c commit 89e54f3Copy full SHA for 89e54f3
src/main/java/com/gitblit/wicket/pages/ForksPage.java
@@ -58,6 +58,10 @@ public void populateItem(final Item<FlatFork> item) {
58
59
if (repository.isPersonalRepository()) {
60
UserModel user = GitBlit.self().getUserModel(repository.projectPath.substring(1));
61
+ if (user == null) {
62
+ // user account no longer exists
63
+ user = new UserModel(repository.projectPath.substring(1));
64
+ }
65
PersonIdent ident = new PersonIdent(user.getDisplayName(), user.emailAddress == null ? user.getDisplayName() : user.emailAddress);
66
item.add(new GravatarImage("anAvatar", ident, 20));
67
if (pageRepository.equals(repository)) {
0 commit comments