java.lang.NoSuchMethodError: org.jenkinsci.plugins.docker.traceability.api.DockerTraceabilityReport.<init>(Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Event;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Info;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectContainerResponse;Ljava/lang/String;Ljava/lang/String;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectImageResponse;Ljava/util/List;Ljava/lang/String;)V

Google Groups | o.v.ne...@gmail.com (JIRA) | 1 year ago
  1. 0

    [JIRA] [docker-traceability-plugin] (JENKINS-28933) Classloading issues in Docker-traceability: conflict with unshaded API

    Google Groups | 1 year ago | o.v.ne...@gmail.com (JIRA)
    java.lang.NoSuchMethodError: org.jenkinsci.plugins.docker.traceability.api.DockerTraceabilityReport.<init>(Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Event;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Info;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectContainerResponse;Ljava/lang/String;Ljava/lang/String;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectImageResponse;Ljava/util/List;Ljava/lang/String;)V
  2. 0

    An external job using this command export JENKINS_HOME=http://127.0.0.1:8080 java -jar /opt/jenkins/jenkins-data/war/WEB-INF/lib/jenkins-core-*.jar testcron /u/sf/bbense/ bin/synctaylor 2>&1 > /dev/null works fine in 1.478, but fails with this long error after upgrading to 1.488. Reverting to 1.478 ( and changing file permissions to allow reading the jar file ) resolves the problem. <html><head><title>Error 500</title></head> <body bgcolor=#fff><h1>Status Code: 500</h1>Exception: java.lang.NoSuchMethodError: hudson.model.RunMap.put(Lhudson/model/Run;)Lhudson/model/Run;<br>Stacktrace: <pre>javax.servlet.ServletException: java.lang.NoSuchMethodError: hudson.model.RunMap.put(Lhudson/model/Run;)Lhudson/model/Run; at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) All external jobs using this kind of script setup fail with 1.488.

    Jenkins JIRA | 4 years ago | Booker Bense
    java.lang.NoSuchMethodError: hudson.model.RunMap.put(Lhudson/model/Run;)Lhudson/model/Run;
  3. 0

    An external job using this command export JENKINS_HOME=http://127.0.0.1:8080 java -jar /opt/jenkins/jenkins-data/war/WEB-INF/lib/jenkins-core-*.jar testcron /u/sf/bbense/ bin/synctaylor 2>&1 > /dev/null works fine in 1.478, but fails with this long error after upgrading to 1.488. Reverting to 1.478 ( and changing file permissions to allow reading the jar file ) resolves the problem. <html><head><title>Error 500</title></head> <body bgcolor=#fff><h1>Status Code: 500</h1>Exception: java.lang.NoSuchMethodError: hudson.model.RunMap.put(Lhudson/model/Run;)Lhudson/model/Run;<br>Stacktrace: <pre>javax.servlet.ServletException: java.lang.NoSuchMethodError: hudson.model.RunMap.put(Lhudson/model/Run;)Lhudson/model/Run; at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) All external jobs using this kind of script setup fail with 1.488.

    Jenkins JIRA | 4 years ago | Booker Bense
    java.lang.NoSuchMethodError: hudson.model.RunMap.put(Lhudson/model/Run;)Lhudson/model/Run;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    using {code:java} sh "curl http://localhost:8080/docker-traceability/submitContainerStatus --data-urlencode inspectData=\"\$(docker inspect ${awscliImg.id})\"" {code} results in {code:java} javax.servlet.ServletException: java.lang.NoSuchMethodError: org.jenkinsci.plugins.docker.traceability.api.DockerTraceabilityReport.&lt;init>(Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Event;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Info;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectContainerResponse;Ljava/lang/String;Ljava/lang/String;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectImageResponse;Ljava/util/List;Ljava/lang/String;)V at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380) 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 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:135) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:46) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) 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:82) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodError: org.jenkinsci.plugins.docker.traceability.api.DockerTraceabilityReport.&lt;init>(Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Event;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Info;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectContainerResponse;Ljava/lang/String;Ljava/lang/String;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectImageResponse;Ljava/util/List;Ljava/lang/String;)V at org.jenkinsci.plugins.docker.traceability.core.DockerTraceabilityRootAction.doSubmitContainerStatus(DockerTraceabilityRootAction.java:257) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Funct 100 21354 100 14486 100 6868 244k 115k --:--:-- --:--:-- --:--:-- 248k ion$InstanceFunction.invoke(Function.java:324) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) ... 46 more {code} {code:xml} <plugins> <shortName>build-monitor-plugin</shortName> <version>1.6+build.138</version> <shortName>matrix-auth</shortName> <version>1.1</version> <shortName>ldap</shortName> <version>1.11</version> <shortName>multi-branch-project-plugin</shortName> <version>0.5.1</version> <shortName>pipeline-stage-step</shortName> <version>2.1</version> <shortName>workflow-cps</shortName> <version>2.9</version> <shortName>git-client</shortName> <version>1.19.7</version> <shortName>workflow-job</shortName> <version>2.3</version> <shortName>matrix-project</shortName> <version>1.6</version> <shortName>github-organization-folder</shortName> <version>1.3</version> <shortName>build-pipeline-plugin</shortName> <version>1.4.5</version> <shortName>external-monitor-job</shortName> <version>1.4</version> <shortName>cucumber-testresult-plugin</shortName> <version>0.7</version> <shortName>git</shortName> <version>2.5.2</version> <shortName>htmlpublisher</shortName> <version>1.11</version> <shortName>aws-java-sdk</shortName> <version>1.10.50</version> <shortName>authentication-tokens</shortName> <version>1.2</version> <shortName>mapdb-api</shortName> <version>1.0.6.0</version> <shortName>ssh-credentials</shortName> <version>1.12</version> <shortName>momentjs</shortName> <version>1.1.1</version> <shortName>cloudbees-folder</shortName> <version>5.12</version> <shortName>docker-workflow</shortName> <version>1.6</version> <shortName>artifactory</shortName> <version>2.4.7</version> <shortName>github</shortName> <version>1.20.0</version> <shortName>xvfb</shortName> <version>1.0.16</version> <shortName>workflow-basic-steps</shortName> <version>2.0</version> <shortName>translation</shortName> <version>1.10</version> <shortName>build-name-setter</shortName> <version>1.3</version> <shortName>credentials</shortName> <version>2.1.4</version> <shortName>checkstyle</shortName> <version>3.41</version> <shortName>junit</shortName> <version>1.11</version> <shortName>pipeline-rest-api</shortName> <version>1.6</version> <shortName>workflow-remote-loader</shortName> <version>1.2</version> <shortName>subversion</shortName> <version>2.5.7</version> <shortName>scriptler</shortName> <version>2.9</version> <shortName>copyartifact</shortName> <version>1.37</version> <shortName>greenballs</shortName> <version>1.15</version> <shortName>parameterized-trigger</shortName> <version>2.31</version> <shortName>jquery</shortName> <version>1.11.2-0</version> <shortName>gitlab-plugin</shortName> <version>1.3.0</version> <shortName>mailer</shortName> <version>1.16</version> <shortName>scm-api</shortName> <version>1.2</version> <shortName>envinject</shortName> <version>1.92.1</version> <shortName>cucumber-reports</shortName> <version>0.0.23</version> <shortName>ant</shortName> <version>1.2</version> <shortName>handlebars</shortName> <version>1.1.1</version> <shortName>javadoc</shortName> <version>1.1</version> <shortName>structs</shortName> <version>1.1</version> <shortName>run-condition</shortName> <version>1.0</version> <shortName>pipeline-build-step</shortName> <version>2.2</version> <shortName>ssh-slaves</shortName> <version>1.10</version> <shortName>thinBackup</shortName> <version>1.7.4</version> <shortName>workflow-scm-step</shortName> <version>2.2</version> <shortName>workflow-support</shortName> <version>2.2</version> <shortName>workflow-step-api</shortName> <version>2.2</version> <shortName>console-column-plugin</shortName> <version>1.5</version> <shortName>windows-slaves</shortName> <version>1.0</version> <shortName>cvs</shortName> <version>2.11</version> <shortName>pipeline-stage-view</shortName> <version>1.6</version> <shortName>branch-api</shortName> <version>1.10</version> <shortName>extra-columns</shortName> <version>1.14</version> <shortName>workflow-durable-task-step</shortName> <version>2.3</version> <shortName>docker-build-step</shortName> <version>1.35</version> <shortName>docker-traceability</shortName> <version>1.2</version> <shortName>credentials-binding</shortName> <version>1.8</version> <shortName>ace-editor</shortName> <version>1.1</version> <shortName>workflow-cps-global-lib</shortName> <version>2.1</version> <shortName>script-security</shortName> <version>1.21</version> <shortName>clover</shortName> <version>4.4.0</version> <shortName>envfile</shortName> <version>1.2</version> <shortName>tap</shortName> <version>1.20</version> <shortName>dashboard-view</shortName> <version>2.9.10</version> <shortName>antisamy-markup-formatter</shortName> <version>1.1</version> <shortName>conditional-buildstep</shortName> <version>1.3.5</version> <shortName>git-server</shortName> <version>1.7</version> <shortName>s3</shortName> <version>0.10.7</version> <shortName>jackson2-api</shortName> <version>2.5.4</version> <shortName>backup</shortName> <version>1.6.1</version> <shortName>cobertura</shortName> <version>1.9.6</version> <shortName>rvm</shortName> <version>0.4</version> <shortName>delivery-pipeline-plugin</shortName> <version>0.9.8</version> <shortName>embeddable-build-status</shortName> <version>1.9</version> <shortName>durable-task</shortName> <version>1.11</version> <shortName>docker-commons</shortName> <version>1.4.0</version> <shortName>docker-build-publish</shortName> <version>1.3.1</version> <shortName>plain-credentials</shortName> <version>1.2</version> <shortName>ansicolor</shortName> <version>0.4.2</version> <shortName>icon-shim</shortName> <version>2.0.2</version> <shortName>jquery-detached</shortName> <version>1.2.1</version> <shortName>maven-plugin</shortName> <version>2.13</version> <shortName>github-api</shortName> <version>1.76</version> <shortName>slack</shortName> <version>2.0.1</version> <shortName>ruby-runtime</shortName> <version>0.12</version> <shortName>pipeline-input-step</shortName> <version>2.0</version> <shortName>ssh</shortName> <version>2.4</version> <shortName>workflow-aggregator</shortName> <version>2.2</version> <shortName>analysis-core</shortName> <version>1.79</version> <shortName>github-branch-source</shortName> <version>1.8.1</version> <shortName>workflow-api</shortName> <version>2.1</version> <shortName>token-macro</shortName> <version>1.12.1</version> <shortName>pam-auth</shortName> <version>1.2</version> <shortName>workflow-multibranch</shortName> <version>2.8</version> <shortName>log-parser</shortName> <version>1.0.8</version> </plugins> {code}

    Jenkins JIRA | 4 months ago | Edmund Haselwanter
    javax.servlet.ServletException: java.lang.NoSuchMethodError: org.jenkinsci.plugins.docker.traceability.api.DockerTraceabilityReport.&lt;init>(Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Event;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Info;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectContainerResponse;Ljava/lang/String;Ljava/lang/String;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectImageResponse;Ljava/util/List;Ljava/lang/String;)V
  6. 0

    [JIRA] [docker-traceability-plugin] (JENKINS-28933) Classloading issues in Docker-traceability: conflict with unshaded API

    Google Groups | 1 year ago | o.v.ne...@gmail.com (JIRA)
    java.lang.NoSuchMethodError: org.jenkinsci.plugins.docker.traceability.api.DockerTraceabilityReport.getContainer()Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectContainerResponse;

    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.NoSuchMethodError

      org.jenkinsci.plugins.docker.traceability.api.DockerTraceabilityReport.&amp;lt;init&gt;(Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Event;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/model/Info;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectContainerResponse;Ljava/lang/String;Ljava/lang/String;Lorg/jenkinsci/plugins/docker/traceability/dockerjava/api/command/InspectImageResponse;Ljava/util/List;Ljava/lang/String;)V

      at org.kohsuke.stapler.Stapler.tryInvoke()
    2. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      3. org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
      4. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      5. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      6. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      7. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      7 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    4. 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
    5. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
      1 frame
    6. com.smartcodeltd.jenkinsci
      LessCSS.doFilter
      1. com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:46)
      1 frame
    7. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
      1 frame
    8. hudson.plugins.greenballs
      GreenBallFilter.doFilter
      1. hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
      1 frame