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!

Error in BuildMaster logs (v3.0.6)



  • Message Guid 3f26b526-fc88-48d1-97d6-abf56eeca3ff
    Logged Date 22/03/2012 15:29:02
    Severity 30
    Exception Type System.NullReferenceException
    Stack Trace at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
    at Inedo.BuildMaster.Util.Persistence.DeSerializeFromPersistedObjectXml(String objXml)
    at Inedo.BuildMaster.Util.Providers.CreateProviderFromId(Int32 providerId, Boolean createProxy)
    at Inedo.BuildMaster.Util.Providers.CreateProviderFromId(Int32 providerId)
    at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.ExecuteScmTriggered(Int32 buildScheduleId, Int32 applicationId, Int32 sourceControlProviderId, String path, String applicationName, Int32 quietPeriodMinutes)
    at Inedo.BuildMaster.Windows.ServiceApplication.ScheduleExecuter.<Execute>b__7(Object args)
    Message Object reference not set to an instance of an object.



  • It looks like this message came out of attempting to schedule a triggered build; most likely...

    • the extensions haven't loaded properly in the service
    • the source control provider associated with the trigger has been deleted
    • it is improperly configured

    Hopefully it will resolve itself; in 3.0, we decided to report more behind-the-scenes errors. This may have silently failed in 2.x.



  • I've removed all extensions as there was a load error being reported. However there is still an Extension load error with none loaded:

    [InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Exception[]'.]
    Inedo.BuildMaster.Web.WebApplication.Administration.Extensions.ViewLoadResults.CreateChildControls() +239
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +23
    System.Web.UI.Page.FindControl(String id) +38
    Inedo.BuildMaster.Web.Controls.CUtil.FindControl(Control parent, String childId, Boolean recurse) +82
    Inedo.BuildMaster.Web.Controls.BuildMasterPage.Internal_Init() +189
    Inedo.BuildMaster.Web.Controls.BuildMasterPage.OnInit(EventArgs e) +16
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378



  • It might be easier just to clear all the .bmx files from the Extensions directory on the BuildMaster server, then redownload the ones you need again from the extension gallery. This should restart the web app and the BuildMaster service automatically and get rid of the extension load error.

    There is a known bug in v3.0.6 (that has been fixed in v3.1 beta which will be out soon) where you can't actually view the extension load errors which would result in the error you're seeing above.



  • Thanks but I've had to revert back to 2.6.3 for now after spending most of the day trying to get the update to work. Will try again with 3.1 when it's available.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation