Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65999

Serialization of GradleInstallation extends ToolInstallation over Remoting is deprecated

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • gradle-plugin
    • None

      When using Gradle-Plugin even though we do not use serialized installation we get the following message at the logs:

      2021-06-28T12:34:40.496106181Z Jun 28, 2021 2:34:40 PM hudson.tools.ToolInstallation writeReplace
      2021-06-28T12:34:40.496157478Z WARNING: Serialization of GradleInstallation extends ToolInstallation over Remoting is deprecated
      2021-06-28T12:34:40.496163296Z java.lang.Throwable
      2021-06-28T12:34:40.496166796Z at hudson.tools.ToolInstallation.writeReplace(ToolInstallation.java:236)
      2021-06-28T12:34:40.496170678Z at sun.reflect.GeneratedMethodAccessor351.invoke(Unknown Source)
      2021-06-28T12:34:40.496174786Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2021-06-28T12:34:40.496178401Z at java.lang.reflect.Method.invoke(Method.java:498)
      2021-06-28T12:34:40.496181890Z at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1244)
      2021-06-28T12:34:40.496185418Z at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1136)
      2021-06-28T12:34:40.496188741Z at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
      2021-06-28T12:34:40.496192139Z at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
      2021-06-28T12:34:40.496195571Z at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
      2021-06-28T12:34:40.496199038Z at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
      2021-06-28T12:34:40.496202448Z at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
      2021-06-28T12:34:40.496205789Z at hudson.remoting.UserRequest._serialize(UserRequest.java:263)
      2021-06-28T12:34:40.496209117Z at hudson.remoting.UserRequest.serialize(UserRequest.java:272)
      2021-06-28T12:34:40.496212383Z at hudson.remoting.UserRequest.<init>(UserRequest.java:101)
      2021-06-28T12:34:40.496216024Z at hudson.remoting.Channel.call(Channel.java:999)
      2021-06-28T12:34:40.496219299Z at hudson.plugins.gradle.GradleInstallation.getExecutable(GradleInstallation.java:72)
      2021-06-28T12:34:40.496222723Z at hudson.plugins.gradle.Gradle.perform(Gradle.java:253)
      2021-06-28T12:34:40.496226031Z at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2021-06-28T12:34:40.496229439Z at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
      2021-06-28T12:34:40.496232847Z at hudson.model.Build$BuildExecution.build(Build.java:197)
      2021-06-28T12:34:40.496236146Z at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      2021-06-28T12:34:40.496239395Z at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
      2021-06-28T12:34:40.496242756Z at hudson.model.Run.execute(Run.java:1906)
      2021-06-28T12:34:40.496258050Z at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      2021-06-28T12:34:40.496261849Z at hudson.model.ResourceController.execute(ResourceController.java:97)
      2021-06-28T12:34:40.496265249Z at hudson.model.Executor.run(Executor.java:429)

       

      This is not critical but it's very annoying.

            wolfs Stefan Wolf
            rafaelbraga Rafael
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: