diff options
author | Olivier Lamy <olamy@apache.org> | 2012-12-12 13:30:49 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-12-12 13:30:49 +0000 |
commit | 6341350134cc638989c31ac3176842a308c56b6a (patch) | |
tree | 926df88cb89cd3aff8d5a2ad4f29a55b2ae72a52 /archiva-modules | |
parent | 6983e2d6903771a8e778a2491202e4b45edd17ef (diff) | |
download | archiva-6341350134cc638989c31ac3176842a308c56b6a.tar.gz archiva-6341350134cc638989c31ac3176842a308c56b6a.zip |
prevent NPE when guest user not exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1420664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java index 7fd0776e1..2f2c51a8d 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java @@ -206,7 +206,7 @@ public class ArchivaConfigurableUsersManager } } - if ( user == null ) + if ( user == null && lastException != null ) { throw lastException; } |