commit | f0e76fe7a0467acb51275519e44523352c16c85e | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Thu Oct 17 17:28:56 2013 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Thu Oct 17 17:31:06 2013 +0900 |
tree | 468d42252d71dfc5a76d895c4a150813349f380a | |
parent | 6194cae01b90b96c052607cb240bfae4d8a028ea [diff] |
Display error when gitweb config is invalid If the gitweb configuration in the gerrit.config file is invalid, i.e. parameters are missing, Gerrit will set the gitweb config object's type to null. In this case the plugin throws NPE when trying to access it. Check for the type being null and display an error message. Change-Id: Ibf4734337707e3c89640110fce09cb4572a4a778