Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33860

Stack Trace at /jenkins/configureSecurity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: slack-plugin
    • Labels:
      None
    • Environment:
      os.arch amd64
      os.name FreeBSD
      os.version 10.2-RELEASE


      Jenkins ver. 2.0-alpha-3

      Jenkins2 installed from ports devel/jenkins2
    • Similar Issues:
    • Released As:
      2.4

      Description

       http://127.0.0.1:8180/jenkins/configureSecurity
      Skip to content
      titletitle log in

      search

      Jenkins
      Jenkins project
      Bug tracker
      Mailing Lists
      Twitter: @jenkinsci
      Oops!

      A 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. The users list might be also useful in understanding what has happened.

      Stack trace

      javax.servlet.ServletException: java.lang.NullPointerException
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:129)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:92)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      at org.eclipse.jetty.server.Server.handle(Server.java:499)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      at jenkins.plugins.slack.webhook.WebhookEndpoint.getUrlName(WebhookEndpoint.java:51)
      at jenkins.model.Jenkins.getDynamic(Jenkins.java:2946)
      at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
      at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:378)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      ... 56 more
      Page generated: Mar 29, 2016 7:58:24 AM GMTREST APIJenkins ver. 2.0-alpha-3

        Attachments

          Activity

          Hide
          manas manas bhatnagar added a comment -

          First time on here, hello.

          Show
          manas manas bhatnagar added a comment - First time on here, hello.
          Hide
          manas manas bhatnagar added a comment -

          Reboot fixed this, ignore.

          Show
          manas manas bhatnagar added a comment - Reboot fixed this, ignore.
          Hide
          manas manas bhatnagar added a comment -

          Reboot fixes issue, ignore.

          Show
          manas manas bhatnagar added a comment - Reboot fixes issue, ignore.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Anyway, it should not happen.
          I'll redirect this issue to the Slack plugin component and decrease the priority a bit.

          Show
          oleg_nenashev Oleg Nenashev added a comment - Anyway, it should not happen. I'll redirect this issue to the Slack plugin component and decrease the priority a bit.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          I don't feel it is somehow related to Jenkins 2.0, because there is an obvious bug in Slack plugin, which must handle the missing configuration somehow. , I've CCed Daniel Beck, who may have more context about 2.0 changes

          Show
          oleg_nenashev Oleg Nenashev added a comment - I don't feel it is somehow related to Jenkins 2.0, because there is an obvious bug in Slack plugin, which must handle the missing configuration somehow. , I've CCed Daniel Beck , who may have more context about 2.0 changes
          Hide
          danielbeck Daniel Beck added a comment -

          Not a 2.0 issue, we even removed Slack from the list of plugins in setup because 2.0.x is so unstable.

          https://github.com/jenkinsci/slack-plugin/issues/199

          Show
          danielbeck Daniel Beck added a comment - Not a 2.0 issue, we even removed Slack from the list of plugins in setup because 2.0.x is so unstable. https://github.com/jenkinsci/slack-plugin/issues/199
          Hide
          mokipedia Valentin Moser added a comment -

          Same problem here with new instance of jenkins 2.3 and the newest Slack Plugin to date available.
          It blocks a lot of things like security, global tool config, login of users with the same nullpointer (though my account, which has set up the jenkins seems fine. matrix user rights activated), ..

          setting or deleting a webhook did not change anything. so we deactivated the plugin.

          Show
          mokipedia Valentin Moser added a comment - Same problem here with new instance of jenkins 2.3 and the newest Slack Plugin to date available. It blocks a lot of things like security, global tool config, login of users with the same nullpointer (though my account, which has set up the jenkins seems fine. matrix user rights activated), .. setting or deleting a webhook did not change anything. so we deactivated the plugin.

            People

            Assignee:
            kmadel Kurt Madel
            Reporter:
            manas manas bhatnagar
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: