javax.servlet.ServletException: java.lang.Error: Failed to instantiate class com.dabsquared.gitlabjenkins.GitLabPushTrigger from {"triggerOnPush":true,"triggerOnMergeRequest":true,"triggerOpenMergeRequestOnPush":"never","triggerOnNoteRequest":true,"noteRegex":"Jenkins please retry a build","ciSkip":true,"skipWorkInProgressMergeRequest":true,"setBuildDescription":true,"includeBranchesSpec":"","excludeBranchesSpec":"","targetBranchRegex":""}

Google Groups | Eddard | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    gitlab-plugin causing freestyle job configuration to crash

    Google Groups | 4 months ago | Eddard
    javax.servlet.ServletException: java.lang.Error: Failed to instantiate class com.dabsquared.gitlabjenkins.GitLabPushTrigger from {"triggerOnPush":true,"triggerOnMergeRequest":true,"triggerOpenMergeRequestOnPush":"never","triggerOnNoteRequest":true,"noteRegex":"Jenkins please retry a build","ciSkip":true,"skipWorkInProgressMergeRequest":true,"setBuildDescription":true,"includeBranchesSpec":"","excludeBranchesSpec":"","targetBranchRegex":""}
  2. 0

    GitHub comment 454#264397208

    GitHub | 3 months ago | Normo
    javax.servlet.ServletException: java.lang.Error: Failed to instantiate class com.dabsquared.gitlabjenkins.GitLabPushTrigger from {"triggerOnPush":true,"triggerOnMergeRequest":true,"triggerOpenMergeRequestOnPush":"both","triggerOnNoteRequest":false,"noteRegex":"","ciSkip":true,"skipWorkInProgressMergeRequest":true,"setBuildDescription":true,"includeBranchesSpec":"master","excludeBranchesSpec":"","targetBranchRegex":"^master","secretToken":""}
  3. 0

    Saving config throws exception if branch filter is not defined

    GitHub | 3 months ago | gl328518397
    javax.servlet.ServletException: java.lang.Error: Failed to instantiate class com.dabsquared.gitlabjenkins.GitLabPushTrigger from {"triggerOnPush":true,"triggerOnMergeRequest":true,"triggerOpenMergeRequestOnPush":"never","triggerOnNoteRequest":true,"noteRegex":"Jenkins please retry a build","ciSkip":true,"skipWorkInProgressMergeRequest":true,"setBuildDescription":true,"includeBranchesSpec":"","excludeBranchesSpec":"","targetBranchRegex":"","secretToken":""}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.dabsquared.gitlabjenkins.trigger.filter.BranchFilterFactory.newBranchFilter()
    2. com.dabsquared.gitlabjenkins
      GitLabPushTrigger.<init>
      1. com.dabsquared.gitlabjenkins.trigger.filter.BranchFilterFactory.newBranchFilter(BranchFilterFactory.java:11)
      2. com.dabsquared.gitlabjenkins.GitLabPushTrigger.initializeBranchFilter(GitLabPushTrigger.java:234)
      3. com.dabsquared.gitlabjenkins.GitLabPushTrigger.<init>(GitLabPushTrigger.java:113)
      3 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    4. Stapler
      RequestImpl.bindJSON
      1. org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:525)
      2. org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:777)
      3. org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83)
      4. org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:674)
      5. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478)
      6. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:474)
      6 frames
    5. Hudson
      AbstractProject.doConfigSubmit
      1. hudson.model.Descriptor.newInstance(Descriptor.java:590)
      2. hudson.model.AbstractProject.buildDescribable(AbstractProject.java:1904)
      3. hudson.model.AbstractProject.submit(AbstractProject.java:1882)
      4. hudson.model.Project.submit(Project.java:230)
      5. hudson.model.Job.doConfigSubmit(Job.java:1246)
      6. hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:796)
      6 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
      2. org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
      3. org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
      4. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
      5. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)
      6. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
      7. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      8. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      9. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      10. org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
      11. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      12. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      13. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      14. org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
      15. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      16. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      17. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      18. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      19. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      19 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    9. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      2 frames
    10. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
      1 frame
    11. com.smartcodeltd.jenkinsci
      LessCSS.doFilter
      1. com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
      1 frame
    12. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
      2 frames
    13. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    14. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
      1 frame
    15. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    16. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      3. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      3 frames
    17. jenkins.security
      ExceptionTranslationFilter.doFilter
      1. jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      1 frame
    18. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    19. Acegi Security Core
      AnonymousProcessingFilter.doFilter
      1. org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      1 frame
    20. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    21. Acegi Security Core
      RememberMeProcessingFilter.doFilter
      1. org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      1 frame
    22. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    23. Acegi Security Core
      AbstractProcessingFilter.doFilter
      1. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      1 frame
    24. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    25. jenkins.security
      BasicHeaderProcessor.doFilter
      1. jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
      1 frame
    26. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    27. Acegi Security Core
      HttpSessionContextIntegrationFilter.doFilter
      1. org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      1 frame
    28. Hudson
      HudsonFilter.doFilter
      1. hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      2. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      3. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      4. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
      4 frames
    29. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    30. Stapler
      CompressionFilter.doFilter
      1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      1 frame
    31. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    32. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
      1 frame
    33. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    34. Stapler
      DiagnosticThreadNameFilter.doFilter
      1. org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      1 frame
    35. Jetty
      AbstractConnection$2.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      12. org.eclipse.jetty.server.Server.handle(Server.java:499)
      13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      15 frames
    36. winstone
      BoundedExecutorService$1.run
      1. winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      1 frame
    37. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames