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

NullPointerException in TextFinderPublisher#findText when upgrading from 1.13

    Details

    • Similar Issues:
    • Released As:
      1.15

      Description

      Text Finder version 1.14 - installed at 08:03 this morning results in

      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at hudson.plugins.textfinder.TextFinderPublisher.findText(TextFinderPublisher.java:295)
      at hudson.plugins.textfinder.TextFinderPublisher.perform(TextFinderPublisher.java:249)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1905)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:428)
      Build step 'Search files or the console log for regular expression(s)' marked build as failure

      revert to version 1.13 and a restart fixed the issue.

      This broke my complete CI setup.

        Attachments

          Activity

          Hide
          basil Basil Crow added a comment -

          Hi Steve Graham, please provide a complete set of instructions to reproduce this issue from scratch.

          Show
          basil Basil Crow added a comment - Hi Steve Graham , please provide a complete set of instructions to reproduce this issue from scratch.
          Hide
          basil Basil Crow added a comment -

          Was able to reproduce on my own using a persisted configuration file from 1.13.

          Show
          basil Basil Crow added a comment - Was able to reproduce on my own using a persisted configuration file from 1.13.
          Hide
          basil Basil Crow added a comment -
          Show
          basil Basil Crow added a comment - Fixed in jenkinsci/text-finder-plugin#58 .
          Hide
          basil Basil Crow added a comment -

          Relased in 1.15.

          Show
          basil Basil Crow added a comment - Relased in 1.15 .
          Hide
          sgjenkins Steve Graham added a comment -

          Thanks for the quick fix.
          I have installed it ( version 1.15 ) and so far there are no problems.

          Show
          sgjenkins Steve Graham added a comment - Thanks for the quick fix. I have installed it ( version 1.15 ) and so far there are no problems.

            People

            • Assignee:
              basil Basil Crow
              Reporter:
              sgjenkins Steve Graham
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: