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

msbuild jobs do not build anymore / NullPointerException

    Details

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

      Description

      Updated to Jenkins 1.610 from a quite old version from 2012 or 2013. Had problem with subversion, fixed it as told in JENKINS-28026

      Now MSBuild jobs won't build anymore:

      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at java.util.regex.Matcher.getTextLength(Unknown Source)
      at java.util.regex.Matcher.reset(Unknown Source)
      at java.util.regex.Matcher.<init>(Unknown Source)
      at java.util.regex.Pattern.matcher(Unknown Source)
      at hudson.FilePath.normalize(FilePath.java:286)
      at hudson.FilePath.<init>(FilePath.java:231)
      at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java:129)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
      at hudson.model.Build$BuildExecution.build(Build.java:203)
      at hudson.model.Build$BuildExecution.doRun(Build.java:160)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              kdsweeney kdsweeney
              Reporter:
              flominator Flominator
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: