-
New Feature
-
Resolution: Postponed
-
Major
-
None
-
jenkins ver 2.32.1
Master: JDK1.8 OS: Redhat EL 6.5
Slave: JDK1.7 OS:AIX 6.1
Whan i install the evninject plugin 2.1.5 and Envinject API plugin 1.5, then any task in my jenkins show below error info:
[EnvInject] - Loading node environment variables.<br/>ERROR: SEVERE ERROR occurs<br/>org.jenkinsci.lib.envinject.EnvInjectException: java.io.InvalidClassException: org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader$1; local class incompatible: stream classdesc serialVersionUID = -2630906866550529145, local class serialVersionUID = -2721064306957331564<br/> at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvVarsForNode(EnvironmentVariablesNodeLoader.java:95)<br/> at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:80)<br/> at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:44)<br/> at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:572)<br/> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492)<br/> at hudson.model.Run.execute(Run.java:1728)<br/> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)<br/> at hudson.model.ResourceController.execute(ResourceController.java:98)<br/> at hudson.model.Executor.run(Executor.java:404)<br/>Caused by: java.io.InvalidClassException: org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader$1; local class incompatible: stream classdesc serialVersionUID = -2630906866550529145, local class serialVersionUID = -2721064306957331564<br/> at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:698)<br/> at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1705)<br/> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1600)<br/> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1873)<br/> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1432)<br/> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)<br/> at hudson.remoting.UserRequest.deserialize(UserRequest.java:217)<br/> at hudson.remoting.UserRequest.perform(UserRequest.java:131)<br/> at hudson.remoting.UserRequest.perform(UserRequest.java:50)<br/> at hudson.remoting.Request$2.run(Request.java:336)<br/> at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)<br/> at java.util.concurrent.FutureTask.run(FutureTask.java:273)<br/> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1170)<br/> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:640)<br/> at hudson.remoting.Engine$1$1.run(Engine.java:94)<br/> at java.lang.Thread.run(Thread.java:853)<br/> at ......remote call to Channel to /192.111.6.241(Native Method)<br/> at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)<br/> at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)<br/> at hudson.remoting.Channel.call(Channel.java:822)<br/> at hudson.FilePath.act(FilePath.java:1080)<br/> at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvVarsForNode(EnvironmentVariablesNodeLoader.java:64)<br/> ... 8 more<br/>Finished: FAILURE