{"action":"created","issue":{"url":"https://api.github.com/repos/janinko/ghprb/issues/403","repository_url":"https://api.github.com/repos/janinko/ghprb","labels_url":"https://api.github.com/repos/janinko/ghprb/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/janinko/ghprb/issues/403/comments","events_url":"https://api.github.com/repos/janinko/ghprb/issues/403/events","html_url":"https://github.com/janinko/ghprb/issues/403","id":149828484,"number":403,"title":"NullPointerException on /ghprbhook","user":{"login":"eemmzz","id":6473657,"avatar_url":"https://avatars.githubusercontent.com/u/6473657?v=3","gravatar_id":"","url":"https://api.github.com/users/eemmzz","html_url":"https://github.com/eemmzz","followers_url":"https://api.github.com/users/eemmzz/followers","following_url":"https://api.github.com/users/eemmzz/following{/other_user}","gists_url":"https://api.github.com/users/eemmzz/gists{/gist_id}","starred_url":"https://api.github.com/users/eemmzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eemmzz/subscriptions","organizations_url":"https://api.github.com/users/eemmzz/orgs","repos_url":"https://api.github.com/users/eemmzz/repos","events_url":"https://api.github.com/users/eemmzz/events{/privacy}","received_events_url":"https://api.github.com/users/eemmzz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-20T17:02:35Z","updated_at":"2016-04-20T17:08:43Z","closed_at":null,"body":"So I have just followed the instructions in the README and I have also tested the credentials in the 'manage Jenkins' section and all actions can be performed successfully.\r\n\r\nWhen I go to: `https://{jenkins-domain}/ghprbhook/` I get the following stack trace:\r\n```\r\njavax.servlet.ServletException: java.lang.NullPointerException\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)\r\n\tat org.kohsuke.stapler.Stapler.service(Stapler.java:238)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:848)\r\n\tat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)\r\n\tat hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)\r\n\tat hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat org.jenkinsci.plugins.reverse_proxy_auth.ReverseProxySecurityRealm$1.doFilter(ReverseProxySecurityRealm.java:468)\r\n\tat hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)\r\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)\r\n\tat org.eclipse.jetty.server.Server.handle(Server.java:370)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)\r\n\tat org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)\r\n\tat org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)\r\n\tat org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)\r\n\tat winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.NullPointerException\r\n\tat org.jenkinsci.plugins.ghprb.GhprbRootAction.doIndex(GhprbRootAction.java:79)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)\r\n\tat org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)\r\n\tat org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)\r\n\tat org.kohsuke.stapler.MetaClass$2.dispatch(MetaClass.java:165)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\t... 46 more\r\n```\r\n\r\nI've tried the Jenkins log file for any extra information and there isn't any that I can see.\r\n\r\nWe're using: github api 1.72.1, github 1.18.2, github pull request builder 1.31.4, matrix project 1.6, git 2.4.4, plain credentials 1.1, credentials 1.27, ssh-agent 1.10\r\n\r\nAnyone able to help out? We only have one job setup to trigger with the pull request builder so it shouldn't be anything like inactive projects as I've seen when searching through previous issues."},"comment":{"url":"https://api.github.com/repos/janinko/ghprb/issues/comments/212517860","html_url":"https://github.com/janinko/ghprb/issues/403#issuecomment-212517860","issue_url":"https://api.github.com/repos/janinko/ghprb/issues/403","id":212517860,"user":{"login":"eemmzz","id":6473657,"avatar_url":"https://avatars.githubusercontent.com/u/6473657?v=3","gravatar_id":"","url":"https://api.github.com/users/eemmzz","html_url":"https://github.com/eemmzz","followers_url":"https://api.github.com/users/eemmzz/followers","following_url":"https://api.github.com/users/eemmzz/following{/other_user}","gists_url":"https://api.github.com/users/eemmzz/gists{/gist_id}","starred_url":"https://api.github.com/users/eemmzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eemmzz/subscriptions","organizations_url":"https://api.github.com/users/eemmzz/orgs","repos_url":"https://api.github.com/users/eemmzz/repos","events_url":"https://api.github.com/users/eemmzz/events{/privacy}","received_events_url":"https://api.github.com/users/eemmzz/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T17:08:43Z","updated_at":"2016-04-20T17:08:43Z","body":"I understand that it isn't really an endpoint to navigate to but I assumed the stack trace was an indication of something going wrong (I could be wrong on that). The other symptom we're getting is on the GitHub side we get a `response: 0` when the webhook is fired. All the versions are listed above and we're using v1.31.4 "}}