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 500 on Gitlab Webhook Monitor setup



  • Hi

    I am following the guide (https://docs.inedo.com/docs/buildmaster-integrations-gitlab-webhooks) when I go to Administration > Build Triggers & Scheduled Jobs page and click Create New Build Trigger to add the webhook monitor I select a GitLab Webhook Monitor but it shows a 500 error page with the following details: Late bound operations cannot be performed on types or methods for which ContainsGenericParameters is true.

    The error message: Details: URL: http://[Domain]/administration/webhooks/edit?webhookType=Inedo.BuildMaster.Extensibility.Webhooks.GitLabWebhook%2CBuildMasterExtensions
    Referrer: http://[Domain]/administration/automatic-build-triggers/select
    User: Admin
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36
    Stack trace: at System.Reflection.RuntimeMethodInfo.ThrowNoInvokeException()
    at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Inedo.BuildMaster.Webhooks.WebhookEditor.GetEditor(Type type)
    at Inedo.BuildMaster.Web.WebApplication.Pages.Administration.AutomaticBuildTriggers.EditWebhookPage.<CreateChildControlsAsync>d__14.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.BuildMaster.Web.WebApplication.Pages.BuildMasterSimplePage.<InitializeAsync>d__9.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Web.PageFree.SimplePageBase.<ExecutePageLifeCycleAsync>d__57.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__56.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
    at Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    What can I do to solve this?

    Thank you!


  • inedo-engineer

    Hello @nuno-ildefonso_8876,

    Can you please tell me what version of BuildMaster you are using and what version of the GitLab extension you have installed?

    Thanks,
    Rich



  • Hi

    I am using version 7.0.20 (Build 1) of Buildmaster and GitLab plugin version is 1.12.3.

    Thank you


  • inedo-engineer

    Hi @nuno-ildefonso_8876 ,

    Thanks for that information; this will be fixed in the next maintenance release (BM-3788), later this week (on Friday).


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation