java.lang.NoSuchMethodError: hudson.scm.ChangeLogSet$Entry.getCommitId()Ljava/lang/String;

Jenkins JIRA | Bruce Brouwer | 5 years ago
  1. 0
  2. 0
  3. 0

    i think my configure.xml is correct <config xmlns="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin plugin-configuration.xsd"> <weblogic-targets> <weblogic-target> <name>AdminServer</name> <host>ip</host> <port>8080</port> <login>weblogic</login> <password>weblogic</password> <authMode>BY_LOGIN</authMode> </weblogic-target> </weblogic-targets> </config> the job's configure like photo when i excute the job,it builded failed, the console message following: 15:15:41 [WeblogicDeploymentPlugin] - the following file recorded ICPlatform.war is eligible. 15:15:41 [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=AdminServer) (host=10.100.31.65) (port=8080) 15:15:41 java.lang.NoSuchMethodError: hudson.EnvVars.get(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.util.ParameterValueResolver.resolveEnvVar(ParameterValueResolver.java:33) 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.deployer.WebLogicDeployer.getWebLogicCommandLine(WebLogicDeployer.java:75) 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.undeploy(DeploymentTaskServiceImpl.java:281) 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:181) 15:15:41 at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:236) 15:15:41 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) 15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) 15:15:41 at hudson.model.Build$BuildExecution.post2(Build.java:183) 15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) 15:15:41 at hudson.model.Run.execute(Run.java:1513) 15:15:41 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 15:15:41 at hudson.model.ResourceController.execute(ResourceController.java:88) 15:15:41 at hudson.model.Executor.run(Executor.java:236) 15:15:41 ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.

    Jenkins JIRA | 3 years ago | janice zhang
    java.lang.NoSuchMethodError: hudson.EnvVars.get(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 267#250031813

    GitHub | 2 months ago | rajtester
    java.lang.NoSuchMethodError: org.testng.internal.Utils.defaultIfStringEmpty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
  6. 0

    Error in selenium grid simple test script

    Software Quality Assurance & Testing | 3 months ago | Antony Naveen
    java.lang.NoSuchMethodError: org.testng.internal.Utils.defaultIfStringEmpty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    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

      hudson.scm.ChangeLogSet$Entry.getCommitId()Ljava/lang/String;

      at hudson.plugins.jira.Updater.getRevision()
    2. Hudson JIRA plugin
      JiraIssueUpdater.perform
      1. hudson.plugins.jira.Updater.getRevision(Updater.java:263)
      2. hudson.plugins.jira.Updater.submitComments(Updater.java:136)
      3. hudson.plugins.jira.Updater.perform(Updater.java:91)
      4. hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:29)
      4 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:630)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:608)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:584)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:159)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:553)
      7. hudson.model.Run.run(Run.java:1391)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:145)
      10 frames