{"action":"created","issue":{"url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/110","repository_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin","labels_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/110/comments","events_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/110/events","html_url":"https://github.com/timols/jenkins-gitlab-merge-request-builder-plugin/issues/110","id":55296502,"number":110,"title":"Enabling plugin in Jenkins","user":{"login":"giedriusr","id":210713,"avatar_url":"https://avatars.githubusercontent.com/u/210713?v=3","gravatar_id":"","url":"https://api.github.com/users/giedriusr","html_url":"https://github.com/giedriusr","followers_url":"https://api.github.com/users/giedriusr/followers","following_url":"https://api.github.com/users/giedriusr/following{/other_user}","gists_url":"https://api.github.com/users/giedriusr/gists{/gist_id}","starred_url":"https://api.github.com/users/giedriusr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giedriusr/subscriptions","organizations_url":"https://api.github.com/users/giedriusr/orgs","repos_url":"https://api.github.com/users/giedriusr/repos","events_url":"https://api.github.com/users/giedriusr/events{/privacy}","received_events_url":"https://api.github.com/users/giedriusr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-01-23T15:47:12Z","updated_at":"2016-09-08T18:23:22Z","closed_at":null,"body":"I've just downloaded the plugin and tried to set proper configuration for my Jenkins project. I've enabled this plugin and wanted to add the Gitlab Project Path (either ssh or http address). When I tried to save the project changes, I got tons of errors.\r\n\r\n```\r\nA problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. \r\n\r\nThe users list might be also useful in understanding what has happened.\r\n\r\nStack tracejavax.servlet.ServletException: java.lang.NullPointerException\r\nat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:795)\r\nat org.kohsuke.stapler.Stapler.invoke(Stapler.java:875)\r\nat org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)\r\nat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\nat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745)\r\nat org.kohsuke.stapler.Stapler.invoke(Stapler.java:875)\r\nat org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)\r\nat org.kohsuke.stapler.Stapler.service(Stapler.java:237)\r\nat javax.servlet.http.HttpServlet.service(HttpServlet.java:848)\r\nat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)\r\nat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)\r\nat hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)\r\nat hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)\r\nat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\nat hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)\r\nat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\nat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)\r\nat hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)\r\nat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\nat jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)\r\nat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\nat org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)\r\nat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\nat org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)\r\nat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\nat org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)\r\nat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\nat jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:86)\r\nat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\nat org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)\r\nat hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)\r\nat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\nat hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)\r\nat hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)\r\nat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\nat org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)\r\nat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\nat hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)\r\nat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\nat org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)\r\nat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)\r\nat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)\r\nat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)\r\nat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)\r\nat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)\r\nat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)\r\nat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)\r\nat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)\r\nat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)\r\nat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)\r\nat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)\r\nat org.eclipse.jetty.server.Server.handle(Server.java:370)\r\nat org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)\r\nat org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)\r\nat org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)\r\nat org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)\r\nat org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)\r\nat org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)\r\nat org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)\r\nat org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)\r\nat winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\nat java.lang.Thread.run(Thread.java:701)\r\nCaused by: java.lang.NullPointerException\r\nat org.gitlab.api.GitlabAPI.<init>(GitlabAPI.java:29)\r\nat org.gitlab.api.GitlabAPI.connect(GitlabAPI.java:41)\r\nat org.jenkinsci.plugins.gitlab.Gitlab.connect(Gitlab.java:14)\r\nat org.jenkinsci.plugins.gitlab.Gitlab.get(Gitlab.java:19)\r\nat org.jenkinsci.plugins.gitlab.GitlabBuildTrigger$GitlabBuildTriggerDescriptor.getGitlab(GitlabBuildTrigger.java:237)\r\nat org.jenkinsci.plugins.gitlab.GitlabMergeRequestBuilder.getGitlab(GitlabMergeRequestBuilder.java:62)\r\nat org.jenkinsci.plugins.gitlab.GitlabRepository.getProjectForPath(GitlabRepository.java:98)\r\nat org.jenkinsci.plugins.gitlab.GitlabRepository.checkState(GitlabRepository.java:39)\r\nat org.jenkinsci.plugins.gitlab.GitlabRepository.init(GitlabRepository.java:30)\r\nat org.jenkinsci.plugins.gitlab.GitlabMergeRequestBuilder.build(GitlabMergeRequestBuilder.java:52)\r\nat org.jenkinsci.plugins.gitlab.GitlabBuildTrigger.start(GitlabBuildTrigger.java:44)\r\nat org.jenkinsci.plugins.gitlab.GitlabBuildTrigger.start(GitlabBuildTrigger.java:27)\r\nat hudson.model.AbstractProject.submit(AbstractProject.java:1847)\r\nat hudson.model.Project.submit(Project.java:224)\r\nat hudson.model.Job.doConfigSubmit(Job.java:1188)\r\nat hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:779)\r\nat sun.reflect.GeneratedMethodAccessor894.invoke(Unknown Source)\r\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nat java.lang.reflect.Method.invoke(Method.java:622)\r\nat org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)\r\nat org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)\r\nat org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)\r\nat org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)\r\nat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\nat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745)\r\n... 63 more\r\n```\r\nAny advice why it is not working? I am using Jenkins ver. 1.585."},"comment":{"url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/comments/245691659","html_url":"https://github.com/timols/jenkins-gitlab-merge-request-builder-plugin/issues/110#issuecomment-245691659","issue_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/110","id":245691659,"user":{"login":"thwllms","id":5504267,"avatar_url":"https://avatars.githubusercontent.com/u/5504267?v=3","gravatar_id":"","url":"https://api.github.com/users/thwllms","html_url":"https://github.com/thwllms","followers_url":"https://api.github.com/users/thwllms/followers","following_url":"https://api.github.com/users/thwllms/following{/other_user}","gists_url":"https://api.github.com/users/thwllms/gists{/gist_id}","starred_url":"https://api.github.com/users/thwllms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thwllms/subscriptions","organizations_url":"https://api.github.com/users/thwllms/orgs","repos_url":"https://api.github.com/users/thwllms/repos","events_url":"https://api.github.com/users/thwllms/events{/privacy}","received_events_url":"https://api.github.com/users/thwllms/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T18:23:22Z","updated_at":"2016-09-08T18:23:22Z","body":"@giedriusr I just ran into this same issue. Were you ever able to find a resolution?"}}
{"actor":{"display_login":"thwllms"}}