Branch: refs/heads/master
Home: https://github.com/jenkinsci/favorite-plugin
Commit: 3572ef5c3de2af7b906d87168b403724688d19a9
https://github.com/jenkinsci/favorite-plugin/commit/3572ef5c3de2af7b906d87168b403724688d19a9
Author: Kohsuke Kawaguchi <[email protected]>
Date: 2013-06-20 (Thu, 20 Jun 2013)
Changed paths:
M src/main/java/hudson/plugins/favorite/project/FavoriteProjectAction.java
Log Message:
-----------
Fixing an user-reported problem
Our users reported that they see NPE because the 'user' variable is null.
Looking at Hudson.getUser() I can't imagine how this can happen, OTOH if I
remember correctly there were some past versions of Jenkins where this method
did return null.
So while I generally hate to add a "fix" without understanding what's going on,
this one seems like a small enough defensive fix that'd be justified.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.