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

Build step failed with null pointer after assigning results to build after upgrading to 2.1.1

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: robot-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      An existing job started failing after upgrading the robot plugin to version 2.1.1 with the stack below.  Reverting to the previous installed version 1.6.5 resolved the issue.

      I tried the same job in a different jenkins server with robot plugin 2.1.1 and it failed the same way.

      Here is the stack, I didn't see anything relevant in the system logs, let me know if there's anything else I can provide.
      2020-05-27 12:39:06.090 Robot results publisher started...2020-05-27 12:39:06.090 -Parsing output xml:2020-05-27 12:39:08.138 Done!2020-05-27 12:39:08.138 -Copying log files to build dir:2020-05-27 12:50:57.363 Done!2020-05-27 12:50:57.363 -Assigning results to build:2020-05-27 12:50:57.463 ERROR: Build step failed with exception*2020-05-27 12:50:57.463* java.lang.NullPointerException*2020-05-27 12:50:57.463* at hudson.model.Actionable.addOrReplaceAction(Actionable.java:205)2020-05-27 12:50:57.463 at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:279)2020-05-27 12:50:57.463 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)2020-05-27 12:50:57.463 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)2020-05-27 12:50:57.463 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)2020-05-27 12:50:57.463 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)2020-05-27 12:50:57.463 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1074)2020-05-27 12:50:57.463 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)2020-05-27 12:50:57.463 at hudson.model.Run.execute(Run.java:1905)2020-05-27 12:50:57.463 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)2020-05-27 12:50:57.463 at hudson.model.ResourceController.execute(ResourceController.java:97)2020-05-27 12:50:57.463 at hudson.model.Executor.run(Executor.java:428)2020-05-27 12:50:57.464 Build step 'Publish Robot Framework test results' marked build as failure

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              jpiironen jpiironen
              Reporter:
              kfhickel Kelly Hickel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: