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

Could not initialize class com.hp.octane.integrations.OctaneSDK

XMLWordPrintable

      When the plugin is enabled on the latest jenkins/jenkins:lts-jdk11 image from Docker hub, it's breaking the Jenkins views with the following failure:

      The actual error is:

      2024-08-15 15:28:00.058+0000 [id=253]    SEVERE    h.triggers.SCMTrigger$Runner#runPolling: Failed to record SCM polling for org.jenkinsci.plugins.workflow.job.WorkflowJob@6830f7c4[<scrubbed for privacy>]
      java.lang.NoClassDefFoundError: Could not initialize class com.hp.octane.integrations.OctaneSDK
          at PluginClassLoader for hp-application-automation-tools-plugin//com.microfocus.application.automation.tools.octane.executor.CheckOutSubDirEnvContributor.buildEnvironmentFor(CheckOutSubDirEnvContributor.java:61)
          at hudson.model.Job.getEnvironment(Job.java:406)
          at hudson.model.Run.getEnvironment(Run.java:2427)
          at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.getEnvironment(WorkflowRun.java:519)
          at PluginClassLoader for git//hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:713)
          at PluginClassLoader for git//hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:688)
          at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowJob.poll(WorkflowJob.java:631)
          at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:617)
          at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:664)
          at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:123)
          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)

       

      Disabling the plugin fixes the instance.

            buzas Laura Buzas
            oteb E
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: