-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Jenkins and plugins versions report
Environment
Paste the output here
What Operating System are you using (both controller, and any agents involved in the problem)?
jenkins 2.319.1
Reproduction steps
lunch a job using unity3d plugin
Expected Results
No warning
Actual Results
Job work but this this warning occurs
at hudson.tools.ToolInstallation.writeReplace(ToolInstallation.java:239)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1235)
at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1137)
at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)
at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)
at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)
at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)
at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
at hudson.remoting.UserRequest._serialize(UserRequest.java:263)
at hudson.remoting.UserRequest.serialize(UserRequest.java:272)
at hudson.remoting.UserRequest.<init>(UserRequest.java:101)
at hudson.remoting.Channel.callAsync(Channel.java:1030)
at org.jenkinsci.plugins.unity3d.Unity3dInstallation.pipeEditorLog(Unity3dInstallation.java:132)
at org.jenkinsci.plugins.unity3d.Unity3dBuilder._perform(Unity3dBuilder.java:147)
at org.jenkinsci.plugins.unity3d.Unity3dBuilder.perform(Unity3dBuilder.java:121)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:806)
at hudson.model.Build$BuildExecution.build(Build.java:198)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514)
at hudson.model.Run.execute(Run.java:1888)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:99)
at hudson.model.Executor.run(Executor.java:432)
Anything else?
according to https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/tools/ToolInstallation.java
/**
* @deprecated
* as of 1.302. Use {@link #ToolInstallation(String, String, List)}
*/
@Deprecated
protected ToolInstallation(String name, String home) {
this.name = name;
this.home = home;
}
protected ToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties) {
this.name = name;
this.home = home;
if (properties != null) {
try {
this.properties.replaceBy(properties);
for (ToolProperty<?> p : properties)
_setTool(p, this);
} catch (IOException e) {
throw new AssertionError(e); // no Saveable, so can't happen
}
}
}
Metadata
Metadata
Assignees
Labels
No labels