Cygpath plugin not working after Jenkins upgrade to version 2.530

Hi everyone,

We recently had the Jenkins server updated to version 2.530 and TestComplete support plugin TestComplete support | Jenkins plugin (version 2.10) is not working now.

I see the logs below in job’s console output:

java.lang.ClassNotFoundException: hudson.util.IOException2 at java.base/java.net.URLClassLoader.findClass(Unknown Source) at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:70) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: adedaec3-7749-4405-8add-605003cd4abd Caused: java.lang.NoClassDefFoundError: hudson/util/IOException2 at PluginClassLoader for cygpath//hudson.plugins.cygpath.CygpathLauncherDecorator$1.getCygpathExe(CygpathLauncherDecorator.java:104) at PluginClassLoader for cygpath//hudson.plugins.cygpath.CygpathLauncherDecorator$1.cygpath(CygpathLauncherDecorator.java:86) at PluginClassLoader for cygpath//hudson.plugins.cygpath.CygpathLauncherDecorator$1.launch(CygpathLauncherDecorator.java:65) at hudson.Launcher$ProcStarter.start(Launcher.java:507) at PluginClassLoader for TestComplete//com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.performInternal(TcTestBuilder.java:759) at PluginClassLoader for TestComplete//com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.perform(TcTestBuilder.java:556) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at PluginClassLoader for workflow-basic-steps//org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101) at PluginClassLoader for workflow-basic-steps//org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71) at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:49) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)

Can you please help me with this issue ?

The issue is due to your use of the cygpath plugin, not the TestComplete plugin.

The cygpath plugin was last released 14 years ago. It includes a reference to the IOException2 symbol that was removed from Jenkins weekly 2.511 and Jenkins LTS 2.516.1 as part of pull request 10628. That pull request includes a detailed list of the plugins that still include a reference to the removed IOException2 symbol.

You can either remove the cygpath plugin from your system or you can adopt the plugin, replace the reference to IOException2 with IOException (pull request already available), and release a new version of the plugin. Since there are less than 600 installations of the cygpath plugin worldwide, it is unlikely that anyone else will adopt the plugin.