Jenkins JIRA | Khai Do | 9 months ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I'm developing a plugin ( on my MAC. When I debug and run this plugin using hpi:run it works fine. When I run jenkins with `java -jar jenkins.war` install the plugin then I get a runtime error (java.lang.NoSuchMethodError). This error happens on my MAC. However when I run it the exact same way on Ubuntu Xenial `java -jar jenkins.war` then it work fine. I think there's something screwy with the classloading on OSX. I notice the error will not happen if I depend on the Jenkins plugin parent pom ver 1.580.1 but when I switch to ver 2.7 to match the Gerrit trigger plugin the problem happens. The dependency is looks like this.. <parent> <groupId>org.jenkins-ci.plugins</groupId> <artifactId>plugin</artifactId> <version>2.7</version> <relativePath /> </parent> here is the stack trace.. INFO: All Builds are completed for cause: GerritCause: silent: false Sep 02, 2016 10:49:23 AM hudson.model.AbstractBuild$AbstractBuildExecution reportError WARNING: Step ‘Post Verification to Gerrit’ aborted due to exception: java.lang.NoSuchMethodError:; at org.jenkinsci.plugins.verifystatus.VerificationsPublisher.perform( at hudson.tasks.BuildStepMonitor$1.perform( at hudson.model.AbstractBuild$AbstractBuildExecution.perform( at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps( at hudson.model.Build$BuildExecution.cleanUp( at hudson.model.Run.execute( at at hudson.model.ResourceController.execute( at

    Jenkins JIRA | 9 months ago | Khai Do
  2. 0

    [JIRA] (JENKINS-37946) java.lang.NoSuchMethodError on OSX

    Google Groups | 9 months ago | (JIRA)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError;

      at org.jenkinsci.plugins.verifystatus.VerificationsPublisher.perform()
    2. org.jenkinsci.plugins
      1. org.jenkinsci.plugins.verifystatus.VerificationsPublisher.perform(
      1 frame
    3. Hudson
      1. hudson.tasks.BuildStepMonitor$1.perform(
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(
      4. hudson.model.Build$BuildExecution.cleanUp(
      5. hudson.model.Run.execute(
      7. hudson.model.ResourceController.execute(
      8 frames