MSBuild failing on NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: msbuild-plugin
    • None
    • Environment:
      Hunson version 1.312
      MSBuild plugin version 1.3
      MSBuild.exe version 3.5.30729.1
      Windows XP Pro SP3
      Tomcat 6.0.24
      Java 1.6.0_17-b04

      When trying to compile with MSBuild, the MSBuild task fails with the following error stack trace.

      Started by user anonymous
      Updating https://svn:8080/svn/MyProject
      At revision 622
      no change for https://svn:8080/svn/MyProject since the previous build
      Path To MSBuild.exe: c:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe
      Executing command: cmd.exe /C c:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe /t:MyProjectGui /p:configuration=release MySolution.sln && exit %%ERRORLEVEL%%
      FATAL: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath;
      java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath;
      at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java:131)
      at hudson.model.Build$RunnerImpl.build(Build.java:195)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:151)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:272)
      at hudson.model.Run.run(Run.java:928)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:118)

            Assignee:
            kdsweeney
            Reporter:
            oranepel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: