[JIRA] Created: (HUDSON-5586) MSBuild failing on NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5586) MSBuild failing on NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath

Hudson issues mailing list
MSBuild failing on NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath
------------------------------------------------------------------------------------------------

                 Key: HUDSON-5586
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5586
             Project: Hudson
          Issue Type: Bug
          Components: msbuild
    Affects Versions: current
         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
            Reporter: oranepel
            Assignee: kdsweeney


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)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5586) MSBuild failing on NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135809#action_135809 ]

oranepel commented on HUDSON-5586:
----------------------------------

I noticed in the manifest file of the MSBuild plugin that it was built with Hudson 1.319, so I upgraded hudson to 1.345 and the problem went away.

Maybe it's a good idea for Hudson to detect such an incompatibility and warn the user.

> MSBuild failing on NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath
> ------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5586
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5586
>             Project: Hudson
>          Issue Type: Bug
>          Components: msbuild
>    Affects Versions: current
>         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
>            Reporter: oranepel
>            Assignee: kdsweeney
>
> 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)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5586) MSBuild failing on NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kohsuke resolved HUDSON-5586.
-----------------------------

    Resolution: Fixed

Recent version of Hudson does report a warning if you try to install a plugin built for a newer version of Hudson than you have.

> MSBuild failing on NoSuchMethodError: hudson.model.AbstractBuild.getModuleRoot()Lhudson/FilePath
> ------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5586
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5586
>             Project: Hudson
>          Issue Type: Bug
>          Components: msbuild
>    Affects Versions: current
>         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
>            Reporter: oranepel
>            Assignee: kdsweeney
>
> 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)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]