commit | 6f1ece745f4ea7d13ecce8274cf9d2940426ecbc | [log] [tgz] |
---|---|---|
author | Edwin Kempin <edwin.kempin@sap.com> | Thu Sep 12 10:46:51 2013 +0200 |
committer | Edwin Kempin <edwin.kempin@sap.com> | Thu Sep 12 10:46:51 2013 +0200 |
tree | 0ddf514bc11e99d7ce9c56efe7c77c9eb2d2d461 | |
parent | 1f1e0cacaa05311a464ad1ec5fd558b141a74318 [diff] |
Fix NPE if user is null Commit a35f8a20ab623bcd07beac7840889e954438777e replaced the pattern user instanceof IdentifiedUser with user.isIdentifiedUser() . This results in a NullPointerException in case the user is null ('user instanceof IdentifiedUser' was returning false in this case). Add a check that the user is not null in all places where the user can be null. Change-Id: I71f5933d9a4eb2de6cd7acf616c347bf8a5bd9f2 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>