Skip to content

Commit

Permalink
[JENKINS-55197] Correction of the InstallUncaught NPE (jenkinsci#3806)
Browse files Browse the repository at this point in the history
[JENKINS-55197] Correction of the InstallUncaught exception
  • Loading branch information
Wadeck authored and oleg-nenashev committed Dec 14, 2018
1 parent b826edb commit 0c6a314
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void init(final Jenkins j) throws IOException {
}
req.setAttribute("javax.servlet.error.exception",e);
try {
WebApp.get(j.servletContext).getSomeStapler().invoke(req, rsp, Jenkins.get(), "/oops");
WebApp.get(j.servletContext).getSomeStapler().invoke(req, rsp, j, "/oops");
} catch (ServletException | IOException x) {
if (!Stapler.isSocketException(x)) {
throw x;
Expand Down

0 comments on commit 0c6a314

Please sign in to comment.