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

parasoft-findings no longer works with warnings-ng v10.x

XMLWordPrintable

      If warnings-ng plugin is upgraded from v9.23.1 to v10.x, the parasoft-findings plugin returns the following error when starting the Jenkins server. In the Jenkins GUI, parasoft analysis results are no longer available : "Parasoft Warnings" menu no longer available from each new build, and graph "Parasoft Warnings Trend" no longer displayed in the job dashboard.

      2023-03-20 16:49:51.031+0000 [id=31]    INFO    jenkins.InitReactorRunner$1#onAttained: Started initialization
      2023-03-20 16:50:00.352+0000 [id=32]    INFO    jenkins.InitReactorRunner$1#onAttained: Listed all plugins
      2023-03-20 16:50:09.033+0000 [id=37]    INFO    jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
      2023-03-20 16:50:09.055+0000 [id=36]    INFO    jenkins.InitReactorRunner$1#onAttained: Started all plugins
      2023-03-20 16:50:09.066+0000 [id=37]    INFO    jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
      2023-03-20 16:50:09.903+0000 [id=39]    INFO    h.p.b.g.GlobalTimeOutConfiguration#load: global timeout not set
      2023-03-20 16:50:10.191+0000 [id=39]    WARNING h.ExtensionFinder$GuiceFinder$FaultTolerantScope$1#error: Failed to instantiate Key[type=com.parasoft.xtest.reports.jenkins.tool.ParasoftTool$Descriptor, annotation=[none]]; skipping this component
      java.lang.ClassNotFoundException: io.jenkins.plugins.analysis.core.util.LogHandler
              at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:669)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
              at hudson.PluginFirstClassLoader2.loadClass(PluginFirstClassLoader2.java:69)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
      Caused: java.lang.NoClassDefFoundError: io/jenkins/plugins/analysis/core/util/LogHandler
              at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
              at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166)
              at java.base/java.lang.Class.getMethodsRecursive(Class.java:3307)
              at java.base/java.lang.Class.getMethod0(Class.java:3293)
              at java.base/java.lang.Class.getMethod(Class.java:2106)
              at hudson.model.Descriptor.<init>(Descriptor.java:305)
              at io.jenkins.plugins.analysis.core.model.Tool$ToolDescriptor.<init>(Tool.java:183)
              at io.jenkins.plugins.analysis.core.model.ReportScanningTool$ReportScanningToolDescriptor.<init>(ReportScanningTool.java:254)
              at com.parasoft.xtest.reports.jenkins.tool.ParasoftTool$Descriptor.<init>(ParasoftTool.java:130)
              at com.parasoft.xtest.reports.jenkins.tool.ParasoftTool$Descriptor$$FastClassByGuice$$1768542442.GUICE$TRAMPOLINE(<generated>)
              at com.parasoft.xtest.reports.jenkins.tool.ParasoftTool$Descriptor$$FastClassByGuice$$1768542442.apply(<generated>)
              at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82)
              at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
              at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:33)
              at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:98)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
              at hudson.ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:607)
              at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:117)
              at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:66)
              at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:93)
              at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:300)
              at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      Caused: com.google.inject.ProvisionException: Unable to provision, see the following errors:

      1) [Guice/ErrorInjectingConstructor]: NoClassDefFoundError: io/jenkins/plugins/analysis/core/util/LogHandler
        at ParasoftTool$Descriptor.<init>(ParasoftTool.java:130)

      Learn more:
        https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR

      1 error

      ======================
      Full classname legend:
      ======================
      ParasoftTool$Descriptor: "com.parasoft.xtest.reports.jenkins.tool.ParasoftTool$Descriptor"
      ========================
      End of classname legend:
      ========================

              at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251)
              at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
              at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
              at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:445)
              at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
              at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1101)
              at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:403)
              at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:394)
              at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:359)
              at hudson.ExtensionList.load(ExtensionList.java:384)
              at hudson.ExtensionList.ensureLoaded(ExtensionList.java:320)
              at hudson.ExtensionList.getComponents(ExtensionList.java:184)
              at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:213)
              at hudson.ExtensionList.ensureLoaded(ExtensionList.java:320)
              at hudson.ExtensionList.iterator(ExtensionList.java:172)
              at org.jenkinsci.plugins.xunit.AliasInitializer.init(AliasInitializer.java:46)
              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 hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
              at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
              at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
              at jenkins.model.Jenkins$5.runTask(Jenkins.java:1164)
              at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
              at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
              at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.base/java.lang.Thread.run(Thread.java:829)
      2023-03-20 16:50:10.807+0000 [id=39]    INFO    jenkins.model.Jenkins#setBuildsAndWorkspacesDir: Using non default workspaces directories: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}.
      2023-03-20 16:50:11.086+0000 [id=39]    INFO    jenkins.InitReactorRunner$1#onAttained: System config loaded
      2023-03-20 16:50:11.422+0000 [id=39]    INFO    jenkins.InitReactorRunner$1#onAttained: System config adapted
      2023-03-20 16:50:11.422+0000 [id=36]    INFO    jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
      2023-03-20 16:50:11.437+0000 [id=31]    INFO    jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
      2023-03-20 16:50:11.750+0000 [id=39]    INFO    jenkins.InitReactorRunner$1#onAttained: Completed initialization
      2023-03-20 16:50:11.807+0000 [id=24]    INFO    hudson.lifecycle.Lifecycle#onReady: Jenkins is fully up and running

            jacekmarzecparasoft Jacek Marzec
            eraimbau Eric RAIMBAULT
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: