commit | 8f45657b9a39757f73c345bdab9b6b60d8a3c9fd | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Sun Oct 07 17:09:41 2018 +0000 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Oct 08 10:28:58 2018 +0000 |
tree | 702e920e3b02765dcd654254adb1e256293ac0c9 | |
parent | 7fcbb1350f90ff4e4d17546a8bea12fd536b66c6 [diff] |
Fix java.util.NoSuchElementException: No value present This fixes an issue where forUser.getUserName().get() could return something that was unexpected leading to gerrit returning 500 errors. Making it return null if it returns something unexpected fixes the issue. Bug: Issue 9820 Change-Id: If6c227d5134f81e7604b13800f90f785fa2ad206