Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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)

    Scheduled Pinned Locked Moved Support
    triggered-buildserrorbuildmaster
    5 Posts 1 Posters 10 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              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.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation