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

Questa VRM plugin thrown NPEs for projects not using it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.440.3
      Java 11
      Robot Framework plugin Version 3.5.2
      Questa VRM Version 1.14

      When a project is configured to use the Robot Framework plugin integration, the logs will show Java Null Pointer Exceptions from the Questa VRM plugin of the form:

      Jun 18, 2024 1:23:19 PM WARNING hudson.model.Actionable createFor
      Could not load actions from com.mentor.questa.ucdb.jenkins.QuestaCoverageProjectExtension@5d6eda0a for org.jenkinsci.plugins.workflow.job.WorkflowJob@6fef2016[Aaron Sandbox/robotquesta] java.lang.NullPointerException 

      These exceptions appear in the logs every 5 seconds for over an hour.

      The pipeline that generated these did not reference Questa at all. It is reproduced below (and is invoked as a PIpeline SCM build, the repo consists of static results files for the robot operation).

      pipeline {
        agent { 
          label 'somewhere'
        }
        stages {
          stage('Run Robot Tests') {
            steps{
              sh 'echo pass'
            }
          }
        }
        post {
          always {
            robot ( outputPath: '.', outputFileName: 'output.xml', reportFileName: 'report.html', logFileName: 'log.html', passThreshold: 100.0, unstableThreshold: 80.0, otherFiles: '*' ) 
          }
        }
      }

            questa_vrm Questa Vrm
            ablack_jpl Aaron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: