java.lang.reflect.InvocationTargetException

Google Groups | be...@java.net (JIRA) | 1 week ago
  1. 0

    jenkins pipeline warnings graph

    Stack Overflow | 4 months ago | Klaus
    javax.servlet.ServletException: java.lang.NullPointerException
  2. 0

    Mercurial plugin returns HTML 500 error -OR- just hangs mercurial client

    Google Groups | 4 years ago | Jerry
    javax.servlet.ServletException: java.lang.NullPointerException
  3. 0

    [JIRA] [kubernetes-plugin] (JENKINS-34067) exception from "Test Connection" button

    Google Groups | 9 months ago | jo...@hoblitt.com (JIRA)
    javax.servlet.ServletException: java.lang.StringIndexOutOfBoundsException: <span class="code-object" style="color: #910091">String</span> index out of range: 1155
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-33845] Jenkins 1.654 cannot restart safely - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    java.lang.reflect.InvocationTargetException
  6. 0

    Reproduction steps: 1) Select many plugins for upgrade 2) Update them with "restart after installation option" Expected behavior: * Jenkins installs plugins and restarts Actual behavior: * Jenkins shuts down the web UI * Jenkins does not restart due to "Caused by: java.lang.UnsupportedOperationException at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove" * Jenkins cannot open the UI anymore due to the exception from getActiveInstance() Log: {noformat} Mar 22, 2016 5:38:30 PM hudson.model.UpdateCenter$UpdateCenterConfiguration download INFO: Downloading JUnit Plugin Mar 22, 2016 5:38:30 PM jenkins.model.Jenkins$27 run INFO: Restart in 10 seconds Mar 22, 2016 5:38:40 PM jenkins.model.Jenkins$27 run SEVERE: Restarting VM as requested by anonymous Mar 22, 2016 5:38:40 PM jenkins.model.Jenkins cleanUp INFO: Stopping Jenkins Mar 22, 2016 5:38:40 PM jenkins.model.Jenkins$22 onAttained INFO: Started termination Mar 22, 2016 5:38:40 PM com.cloudbees.opscenter.context.Messaging$Local close INFO: Messaging Stopped Mar 22, 2016 5:38:40 PM jenkins.model.Jenkins$22 onAttained INFO: Completed termination Mar 22, 2016 5:38:40 PM jenkins.model.Jenkins _cleanUpDisconnectComputers INFO: Starting node disconnection Mar 22, 2016 5:38:41 PM jenkins.model.Jenkins _cleanUpShutdownPluginManager INFO: Stopping plugin manager Mar 22, 2016 5:38:41 PM jenkins.model.Jenkins _cleanUpPersistQueue INFO: Persisting build queue Mar 22, 2016 5:38:41 PM jenkins.model.Jenkins _cleanUpAwaitDisconnects INFO: Waiting for node disconnection completion Mar 22, 2016 5:38:41 PM jenkins.model.Jenkins _cleanUpPluginServletFilters SEVERE: Failed to stop filters java.lang.UnsupportedOperationException at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:1176) at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:162) at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3292) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2945) at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:70) at jenkins.model.Jenkins$27.run(Jenkins.java:3901) Mar 22, 2016 5:38:41 PM jenkins.model.Jenkins cleanUp INFO: Jenkins stopped Mar 22, 2016 5:38:41 PM jenkins.model.Jenkins$27 run WARNING: Failed to restart Jenkins java.lang.RuntimeException: Unexpected issues encountered during cleanUp: null at jenkins.model.Jenkins.cleanUp(Jenkins.java:2960) at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:70) at jenkins.model.Jenkins$27.run(Jenkins.java:3901) Caused by: java.lang.UnsupportedOperationException at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:1176) at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:162) at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3292) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2945) ... 2 more Mar 22, 2016 5:38:41 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Error while serving http://172.30.0.217:8080/adjuncts/b616bb17/lib/layout/menu_right_arrow.png java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:403) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) 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 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.0-alpha-5-SNAPSHOT.jar!/lib/layout/layout.jelly:161:89: <j:invokeStatic> method getActiveInstance threw exception: Jenkins has not been started, or was already shut down at org.kohsuke.stapler.jelly.JellyRequestDispatcher.forward(JellyRequestDispatcher.java:60) at hudson.util.HudsonIsRestarting.doDynamic(HudsonIsRestarting.java:45) ... 65 more Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.0-alpha-5-SNAPSHOT.jar!/lib/layout/layout.jelly:161:89: <j:invokeStatic> method getActiveInstance threw exception: Jenkins has not been started, or was already shut down at org.apache.commons.jelly.tags.core.InvokeStaticTag.doTag(InvokeStaticTag.java:148) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyRequestDispatcher.forward(JellyRequestDispatcher.java:55) .... {noformat}

    Jenkins JIRA | 10 months ago | Oleg Nenashev
    java.lang.reflect.InvocationTargetException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.dabsquared.gitlabjenkins.trigger.handler.note.NoteHookTriggerHandlerImpl.handle()
    2. com.dabsquared.gitlabjenkins
      BuildWebHookAction$TriggerNotifier.run
      1. com.dabsquared.gitlabjenkins.trigger.handler.note.NoteHookTriggerHandlerImpl.handle(NoteHookTriggerHandlerImpl.java:36)
      2. com.dabsquared.gitlabjenkins.trigger.handler.note.NoteHookTriggerHandlerImpl.handle(NoteHookTriggerHandlerImpl.java:23)
      3. com.dabsquared.gitlabjenkins.GitLabPushTrigger.onPost(GitLabPushTrigger.java:250)
      4. com.dabsquared.gitlabjenkins.webhook.build.NoteBuildAction$1.performOnPost(NoteBuildAction.java:43)
      5. com.dabsquared.gitlabjenkins.webhook.build.BuildWebHookAction$TriggerNotifier.run(BuildWebHookAction.java:54)
      5 frames
    3. Hudson
      ACL.impersonate
      1. hudson.security.ACL.impersonate(ACL.java:243)
      1 frame
    4. com.dabsquared.gitlabjenkins
      GitLabWebHook.getDynamic
      1. com.dabsquared.gitlabjenkins.webhook.build.NoteBuildAction.execute(NoteBuildAction.java:40)
      2. com.dabsquared.gitlabjenkins.webhook.GitLabWebHook.getDynamic(GitLabWebHook.java:44)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    6. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:335)
      2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:175)
      3. org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:360)
      4. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      5. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      6. org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:362)
      7. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      8. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      9. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      10. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      10 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    8. 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
    9. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
      1 frame
    10. org.jenkinsci.plugins
      Endpoint$SSEListenChannelFilter.doFilter
      1. org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:206)
      1 frame
    11. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      1 frame
    12. hudson.plugins.scm_sync_configuration
      ScmSyncConfigurationFilter.doFilter
      1. hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:49)
      2. hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:44)
      3. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:106)
      4. hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:44)
      4 frames
    13. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      1 frame
    14. jenkins.metrics.impl
      MetricsFilter.doFilter
      1. jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
      1 frame
    15. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      1 frame
    16. hudson.plugins.greenballs
      GreenBallFilter.doFilter
      1. hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
      1 frame
    17. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
      2 frames
    18. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    19. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
      1 frame
    20. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    21. 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
    22. jenkins.security
      ExceptionTranslationFilter.doFilter
      1. jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      1 frame
    23. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    24. Acegi Security Core
      AnonymousProcessingFilter.doFilter
      1. org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      1 frame
    25. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    26. Acegi Security Core
      RememberMeProcessingFilter.doFilter
      1. org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
      1 frame
    27. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    28. Acegi Security Core
      AbstractProcessingFilter.doFilter
      1. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      1 frame
    29. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    30. jenkins.security
      BasicHeaderProcessor.doFilter
      1. jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
      1 frame
    31. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    32. Acegi Security Core
      HttpSessionContextIntegrationFilter.doFilter
      1. org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      1 frame
    33. 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
    34. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    35. Stapler
      CompressionFilter.doFilter
      1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      1 frame
    36. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    37. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
      1 frame
    38. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    39. Stapler
      DiagnosticThreadNameFilter.doFilter
      1. org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      1 frame
    40. 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
    41. winstone
      BoundedExecutorService$1.run
      1. winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      1 frame
    42. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames