Jenkins is not starting when i install Environment Injector Plugin using manage plugin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins is not starting when i install Environment Injector Plugin using manage plugin

Rakesh Singh
Hi All,

I am facing some issues when i start the jenkins for maven project.
I have install the Environment Injector Plugin using manage jenkins and restart the jenkins.
i have found these error:

java.lang.NoSuchMethodError: jenkins.model.Jenkins.getActiveInstance()Ljenkins/model/Jenkins;
at org.jenkinsci.plugins.envinject.EnvInjectComputerListener.isActiveSlave(EnvInjectComputerListener.java:181)
at org.jenkinsci.plugins.envinject.EnvInjectComputerListener.onOnline(EnvInjectComputerListener.java:154)
at jenkins.model.Jenkins.<init>(Jenkins.java:845)
at hudson.model.Hudson.<init>(Hudson.java:81)
at hudson.model.Hudson.<init>(Hudson.java:77)
at hudson.WebAppMain$2.run(WebAppMain.java:214)

I have many times to restart the jenkins server but no effect.
Please suggest me for how to remove this plugin or start the jenkins.


Regards

Rakesh Singh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9b9478f1-cd9a-435a-a212-17088d6c389c%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting when i install Environment Injector Plugin using manage plugin

Mark Waite-2
You didn't provide enough information for others to provide effective help.

Some of the questions you need to answer before others can help you are things like:
  • What version of Jenkins are you using?  If it is older than Jenkins 1.590, then the getActiveInstance method did not yet exist.  Run a current version of Jenkins
  • What version of the EnvInject plugin did you install?  If it is not the current version, then try the current version
  • How did you install the plugin?  If not through the plugin manager user interface, then please use the plugin manager user interface.  It safeguards many common issues
Some of the details for removing a plugin are mentioned in https://stackoverflow.com/questions/4965235/how-do-i-uninstall-a-plugin-from-jenkins-hudson .  You might also refer to https://wiki.jenkins.io/display/JENKINS/Removing+and+disabling+plugins for instructions.

On Fri, Jan 10, 2020 at 1:16 PM Rakesh Singh <[hidden email]> wrote:
Hi All,

I am facing some issues when i start the jenkins for maven project.
I have install the Environment Injector Plugin using manage jenkins and restart the jenkins.
i have found these error:

java.lang.NoSuchMethodError: jenkins.model.Jenkins.getActiveInstance()Ljenkins/model/Jenkins;
at org.jenkinsci.plugins.envinject.EnvInjectComputerListener.isActiveSlave(EnvInjectComputerListener.java:181)
at org.jenkinsci.plugins.envinject.EnvInjectComputerListener.onOnline(EnvInjectComputerListener.java:154)
at jenkins.model.Jenkins.<init>(Jenkins.java:845)
at hudson.model.Hudson.<init>(Hudson.java:81)
at hudson.model.Hudson.<init>(Hudson.java:77)
at hudson.WebAppMain$2.run(WebAppMain.java:214)

I have many times to restart the jenkins server but no effect.
Please suggest me for how to remove this plugin or start the jenkins.


Regards

Rakesh Singh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9b9478f1-cd9a-435a-a212-17088d6c389c%40googlegroups.com.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFMs78WGBm_zGBZgW%2BM7Au0cbXsxUX65_CGgz%3DoVXo42A%40mail.gmail.com.