New Reply

Hi,

I am getting a NullReferenceException when trying to use the gitlab extension.
Full stacktrace:

System.NullReferenceException: Object reference not set to an instance of an object.
at Inedo.Extensions.GitLab.SuggestionProviders.CredentialsProjectNameSuggestionProvider.<GetSuggestionsAsync>d__0.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E882\Src\Git\GitLab.InedoExtension\SuggestionProviders\CredentialsProjectNameSuggestionProvider.cs:line 17
--- 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.Editors.PropertyEditors.SuggestablePropertyEditor.SuggestableTextBox.<>c__DisplayClass3_0.<<-ctor>b__0>d.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.Controls.SimpleInput.<Inedo-Web-Controls-ISimpleEventProcesser-ProcessRequestAsync>d__70.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__47.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 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)

This is observed through the developer tools in Firefox on the Resource Credentials page when editing a Gitlab credential and trying to input a group name/project. When clicking in the field I get a HTTP500 from the following URL (Sanitized):
http://buildmaster/error?fullMessage=<long base64 string> - the response tab shows the above stacktrace.

This happens with both self-hosted Gitlab CE and gitlab.com

It also affects that I cannot use the gitlab extension at all elsewhere in Buildmaster.

Where to start debugging/fixing this?

Product: BuildMaster
Version: 6.1.7

Hi Frederik,

I wasn't able to recreate this error.. Try deleting the GitLab extension and reinstalling it. Also start with new resource credential. Something may have corrupted the credential record..

Thanks,
Jason

Answer Details

Preview:

Post Reply