Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
NullReferenceException on Extensions Page
-
Hi,
I downloaded and installed Buildmaster, as part of an evaluation.
When I went to the extensions page I got the message below.
Undeterred I pressed on! Assuming the issue was because I had no extensions installed.) I installed a number of extensions: DontNet2, Gallio, MBunit, msTest, Nant, Ncover, Perforce and TFS2012, by copying the bmx files into the extensions folder. (there were some extensions theer by default.)
I now get a red banner saying that an extension needs to be updated, but still when I go to the Extensions page I get the yellow screen of death.
[NullReferenceException: Object reference not set to an instance of an object.]
Inedo.BuildMaster.Web.WebApplication.Pages.Administration.Extensions.OverviewPage.CreateChildControls() +511
System.Web.UI.Control.EnsureChildControls() +188
System.Web.UI.Control.PreRenderRecursiveInternal() +59
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4296
How can I fix this.
Tim Daborn
-
Hi Tim,
A couple of questions:
- What version of BuildMaster are you running?
- How were the extensions downloaded, from within BuildMaster or directly from inedo.com?
If you're using one of the 4.0.X betas, the DotNet2 extension no longer exists (it was <strike>renamed to MSBuild</strike> included as part of the WindowsSDK extension), so if that was included with the installer, please let me know.
Try deleting the DotNet2 extension from your extensions path and restarting the web application (can be done by starting and stopping the service on the Admin overview page).
-
Thank you for your prompt reply
-- What version of BuildMaster are you running?
BuildMaster Express - downloaded on Thursday or Friday - the set up file is named BuildMasterSetup4.0.2.exe. Cannot see any other method of determining the version number.
(I am using the express version W/O sql server, so I can understand which upgrades we would need to purchase.)
-- How were the extensions downloaded, from within BuildMaster or directly from inedo.com?
Directly from inedo.com. Our admins don't get us access to the outside world on the server. So everything has to be downloaded on a client and transferred across.
(it was renamed to MSBuild)
I cannot see an MSBuild.bmx in the Extensions folder- should I? There is a windowssdk.bmx
--Restart BuildMaster
I did that, but still have the NullReferenceException
-
Sorry about that you're right - it is the WindowsSDK extension now (I was thinking of the Build .NET Project action, which is now Build MSBuild Project action). Still however, DotNet2 is no longer a valid extension as of BuildMaster 4.0.
And 4.0.2 for the installer does mean v4.0.2 - you can also find the version number in the software footer at the bottom-right corner.
We did release 4.0.3 last Friday, however I am not sure if this issue was resolved or not - it may be worth updating to find out. If I had to guess what the problem could be, it's related to the lack of network access from the BuildMaster server, I'll see if I can reproduce the issue.
-
OK I will try the latest version and let you know. (Probably tomorrow.)
-
I was able to reproduce the error you received even in v4.0.3 by disabling a network adapter and visiting the extensions overview page. It was as I suspected; the online gallery could not be reached. This issue has been fixed and will be released in the upcoming v4.0.4 (due out this week, hopefully tomorrow).
-
That is great.I look forward to the new version.
My intial impressions are very good - even though I haven't been able to set up a project.