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

msbuild jobs do not build anymore / NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • msbuild-plugin

      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

            tilalx Tilo
            flominator Flominator
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: