java.lang.NoSuchMethodError: org.jenkinsci.plugins.envinject.EnvInjectPluginAction.overrideAll(Ljava/util/Set;Ljava/util/Map;)V

Jenkins JIRA | Sushma Kaniganti | 2 years ago
  1. 0

    Trying to run Maven goal on a Unix slave and it fails. Please help Started by user anonymous [EnvInject] - Loading node environment variables. FATAL: org.jenkinsci.plugins.envinject.EnvInjectPluginAction.overrideAll(Ljava/util/Set;Ljava/util/Map;)V java.lang.NoSuchMethodError: org.jenkinsci.plugins.envinject.EnvInjectPluginAction.overrideAll(Ljava/util/Set;Ljava/util/Map;)V at org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToEnvInjectBuildAction(EnvInjectActionSetter.java:41) at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:84) at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39) at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:574) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) [CHECKSTYLE] Skipping publisher since build result is FAILURE [FINDBUGS] Skipping publisher since build result is FAILURE [PMD] Skipping publisher since build result is FAILURE [ANALYSIS-COLLECTOR] Skipping publisher since build result is FAILURE Skipping Cobertura coverage report as build was not UNSTABLE or better ... Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ERROR: Error: No workspace found! Unix slave, version 2.50 System Properties Name ↓ Value awt.toolkit sun.awt.X11.XToolkit file.encoding UTF-8 file.encoding.pkg sun.io file.separator / java.awt.graphicsenv sun.awt.X11GraphicsEnvironment java.awt.printerjob sun.print.PSPrinterJob java.class.path slave.jar java.class.version 52.0 java.endorsed.dirs /app/platform/java/jdk1.8.0_25/jre/lib/endorsed java.ext.dirs /app/platform/java/jdk1.8.0_25/jre/lib/ext:/usr/java/packages/lib/ext java.home /app/platform/java/jdk1.8.0_25/jre java.io.tmpdir /tmp java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.runtime.name Java(TM) SE Runtime Environment java.runtime.version 1.8.0_25-b17 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.8 java.vendor Oracle Corporation java.vendor.url http://java.oracle.com/ java.vendor.url.bug http://bugreport.sun.com/bugreport/ java.version 1.8.0_25 java.vm.info mixed mode java.vm.name Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Oracle Corporation java.vm.specification.version 1.8 java.vm.vendor Oracle Corporation java.vm.version 25.25-b02 jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib jnidispatch.path /tmp/jna--1712433994/jna5526560727991942596.tmp line.separator os.arch amd64 os.name Linux os.version 2.6.32-279.22.1.el6.x86_64 path.separator : sun.arch.data.model 64 sun.boot.class.path /app/platform/java/jdk1.8.0_25/jre/lib/resources.jar:/app/platform/java/jdk1.8.0_25/jre/lib/rt.jar:/app/platform/java/jdk1.8.0_25/jre/lib/sunrsasign.jar:/app/platform/java/jdk1.8.0_25/jre/lib/jsse.jar:/app/platform/java/jdk1.8.0_25/jre/lib/jce.jar:/app/platform/java/jdk1.8.0_25/jre/lib/charsets.jar:/app/platform/java/jdk1.8.0_25/jre/lib/jfr.jar:/app/platform/java/jdk1.8.0_25/jre/classes sun.boot.library.path /app/platform/java/jdk1.8.0_25/jre/lib/amd64 sun.cpu.endian little sun.cpu.isalist sun.font.fontmanager sun.awt.X11FontManager sun.io.unicode.encoding UnicodeLittle sun.java.command slave.jar sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown user.country US user.dir /app/home/jenkins user.home /app/home/jenkins user.language en user.name jenkins user.timezone Etc/UCT Environment Variables Name ↓ Value _ /usr/bin/java CVS_RSH ssh G_BROKEN_FILENAMES 1 HOME /app/home/jenkins LANG en_US.UTF-8 LESSOPEN |/usr/bin/lesspipe.sh %s LOADEDMODULES LOGNAME jenkins MAIL /var/mail/jenkins module () { eval `/usr/bin/modulecmd bash $*` } MODULEPATH /usr/share/Modules/modulefiles:/etc/modulefiles MODULESHOME /usr/share/Modules NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat OLDPWD /app/home/jenkins PATH /usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin PWD /app/home/jenkins QTDIR /usr/lib64/qt-3.3 QTINC /usr/lib64/qt-3.3/include QTLIB /usr/lib64/qt-3.3/lib SHELL /bin/bash SHLVL 1 SSH_CLIENT 10.124.62.211 52187 22 SSH_CONNECTION 10.124.62.211 52187 172.28.69.112 22 USER jenkins XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt

    Jenkins JIRA | 2 years ago | Sushma Kaniganti
    java.lang.NoSuchMethodError: org.jenkinsci.plugins.envinject.EnvInjectPluginAction.overrideAll(Ljava/util/Set;Ljava/util/Map;)V
  2. 0

    Trying to run Maven goal on a Unix slave and it fails. Please help Started by user anonymous [EnvInject] - Loading node environment variables. FATAL: org.jenkinsci.plugins.envinject.EnvInjectPluginAction.overrideAll(Ljava/util/Set;Ljava/util/Map;)V java.lang.NoSuchMethodError: org.jenkinsci.plugins.envinject.EnvInjectPluginAction.overrideAll(Ljava/util/Set;Ljava/util/Map;)V at org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToEnvInjectBuildAction(EnvInjectActionSetter.java:41) at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:84) at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39) at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:574) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) [CHECKSTYLE] Skipping publisher since build result is FAILURE [FINDBUGS] Skipping publisher since build result is FAILURE [PMD] Skipping publisher since build result is FAILURE [ANALYSIS-COLLECTOR] Skipping publisher since build result is FAILURE Skipping Cobertura coverage report as build was not UNSTABLE or better ... Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ERROR: Error: No workspace found! Unix slave, version 2.50 System Properties Name ↓ Value awt.toolkit sun.awt.X11.XToolkit file.encoding UTF-8 file.encoding.pkg sun.io file.separator / java.awt.graphicsenv sun.awt.X11GraphicsEnvironment java.awt.printerjob sun.print.PSPrinterJob java.class.path slave.jar java.class.version 52.0 java.endorsed.dirs /app/platform/java/jdk1.8.0_25/jre/lib/endorsed java.ext.dirs /app/platform/java/jdk1.8.0_25/jre/lib/ext:/usr/java/packages/lib/ext java.home /app/platform/java/jdk1.8.0_25/jre java.io.tmpdir /tmp java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.runtime.name Java(TM) SE Runtime Environment java.runtime.version 1.8.0_25-b17 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.8 java.vendor Oracle Corporation java.vendor.url http://java.oracle.com/ java.vendor.url.bug http://bugreport.sun.com/bugreport/ java.version 1.8.0_25 java.vm.info mixed mode java.vm.name Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Oracle Corporation java.vm.specification.version 1.8 java.vm.vendor Oracle Corporation java.vm.version 25.25-b02 jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib jnidispatch.path /tmp/jna--1712433994/jna5526560727991942596.tmp line.separator os.arch amd64 os.name Linux os.version 2.6.32-279.22.1.el6.x86_64 path.separator : sun.arch.data.model 64 sun.boot.class.path /app/platform/java/jdk1.8.0_25/jre/lib/resources.jar:/app/platform/java/jdk1.8.0_25/jre/lib/rt.jar:/app/platform/java/jdk1.8.0_25/jre/lib/sunrsasign.jar:/app/platform/java/jdk1.8.0_25/jre/lib/jsse.jar:/app/platform/java/jdk1.8.0_25/jre/lib/jce.jar:/app/platform/java/jdk1.8.0_25/jre/lib/charsets.jar:/app/platform/java/jdk1.8.0_25/jre/lib/jfr.jar:/app/platform/java/jdk1.8.0_25/jre/classes sun.boot.library.path /app/platform/java/jdk1.8.0_25/jre/lib/amd64 sun.cpu.endian little sun.cpu.isalist sun.font.fontmanager sun.awt.X11FontManager sun.io.unicode.encoding UnicodeLittle sun.java.command slave.jar sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown user.country US user.dir /app/home/jenkins user.home /app/home/jenkins user.language en user.name jenkins user.timezone Etc/UCT Environment Variables Name ↓ Value _ /usr/bin/java CVS_RSH ssh G_BROKEN_FILENAMES 1 HOME /app/home/jenkins LANG en_US.UTF-8 LESSOPEN |/usr/bin/lesspipe.sh %s LOADEDMODULES LOGNAME jenkins MAIL /var/mail/jenkins module () { eval `/usr/bin/modulecmd bash $*` } MODULEPATH /usr/share/Modules/modulefiles:/etc/modulefiles MODULESHOME /usr/share/Modules NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat OLDPWD /app/home/jenkins PATH /usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin PWD /app/home/jenkins QTDIR /usr/lib64/qt-3.3 QTINC /usr/lib64/qt-3.3/include QTLIB /usr/lib64/qt-3.3/lib SHELL /bin/bash SHLVL 1 SSH_CLIENT 10.124.62.211 52187 22 SSH_CONNECTION 10.124.62.211 52187 172.28.69.112 22 USER jenkins XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt

    Jenkins JIRA | 2 years ago | Sushma Kaniganti
    java.lang.NoSuchMethodError: org.jenkinsci.plugins.envinject.EnvInjectPluginAction.overrideAll(Ljava/util/Set;Ljava/util/Map;)V
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Exception in thread “main” java.lang.NoSuchMethodError: org.hibernate.cfg.Environment.verifyProperties(Ljava/util/Map;)V

    programask.com | 1 year ago
    java.lang.NoSuchMethodError: org.hibernate.cfg.Environment.verifyProperties(Ljava/util/Map;)V

    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.envinject.EnvInjectPluginAction.overrideAll(Ljava/util/Set;Ljava/util/Map;)V

      at org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToEnvInjectBuildAction()
    2. org.jenkinsci.plugins
      EnvInjectListener.setUpEnvironment
      1. org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToEnvInjectBuildAction(EnvInjectActionSetter.java:41)
      2. org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:84)
      3. org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39)
      3 frames
    3. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:574)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
      3. hudson.model.Run.execute(Run.java:1741)
      4. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      5. hudson.model.ResourceController.execute(ResourceController.java:98)
      6. hudson.model.Executor.run(Executor.java:374)
      6 frames