FiveM Linux Webadmin Bug

Exception while handling request. System.NullReferenceException: Object reference not set to an instance of an object
  at FxWebAdmin.IdentifierHelpers.GetProvider (System.String identifier) [0x00000] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/IdentifierHelpers.cs:76 
  at FxWebAdmin.IdentifierHelpers.Format (System.String identifier) [0x000bd] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/IdentifierHelpers.cs:42 
  at FxWebAdmin.IdentifierHelpers.FormatAvatar (System.Collections.Generic.IEnumerable`1[T] identifiers) [0x00033] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/IdentifierHelpers.cs:68 
  at AspNetCore.Views_Home_Index.<ExecuteAsync>b__11_0 () [0x0043e] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/Views/Home/Index.cshtml:106 
  at Microsoft.AspNetCore.Mvc.Razor.RazorPage.RenderSectionAsyncCore (System.String sectionName, System.Boolean required) [0x000c1] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at AspNetCore.Views_Shared__Layout.<ExecuteAsync>b__0_0 () [0x003a5] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/Views/Shared/_Layout.cshtml:38 
  at Microsoft.AspNetCore.Mvc.Razor.RazorPage.RenderSectionAsyncCore (System.String sectionName, System.Boolean required) [0x000c1] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at AspNetCore.Views_Shared__LayoutBase.ExecuteAsync () [0x00232] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/Views/Shared/_LayoutBase.cshtml:22 
  at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync (Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) [0x000c7] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync (Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext context, System.Boolean invokeViewStarts) [0x001db] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext context, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewBufferTextWriter bodyWriter) [0x00171] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext context) [0x0010a] in <dbc57f52bdd445da8b29c21452ad12f4>:0 
  at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.String contentType, System.Nullable`1[T] statusCode) [0x00158] in <35d1d66892054c088ac08401c2edb00b>:0 
  at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData, System.String contentType, System.Nullable`1[T] statusCode) [0x00177] in <35d1d66892054c088ac08401c2edb00b>:0 
  at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ViewResult result) [0x0010a] in <35d1d66892054c088ac08401c2edb00b>:0 
  at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync (Microsoft.AspNetCore.Mvc.ActionContext context) [0x00090] in <35d1d66892054c088ac08401c2edb00b>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultAsync (Microsoft.AspNetCore.Mvc.IActionResult result) [0x000a5] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync] () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.ResultNext[TFilter,TFilterAsync] (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+Scope& scope, System.Object& state, System.Boolean& isCompleted) [0x003df] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultFilters () [0x00030] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+Scope& scope, System.Object& state, System.Boolean& isCompleted) [0x00840] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0 
  at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x001cb] in <6092a16d93814eba828b517a2b132f80>:0 
  at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x001d2] in <dd7bbb1eb6cb4178a82cd5136b2606b8>:0 
  at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00384] in <427697fe42b7459ba5302fb76d339d3b>:0 
  at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00195] in <bbf35367c9a54318b7d7f6cd02f70142>:0 
  at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00282] in <bbf35367c9a54318b7d7f6cd02f70142>:0 
  at FxWebAdmin.HttpServer+<>c__DisplayClass10_1`1[TContext].<StartAsync>b__2 () [0x007b8] in /builds/DGub6yNf/0/cfx/fivem/ext/webadmin/server/HttpServer.cs:141 

After 10 Minutes the code is spamming my Console and the Server is crashing automatic

I’m fairly confident that the web admin only works for the windows build at the moment, but I could be wrong.

Ok and which FiveM artifacts should I take now?

No clue sorry, not my area of expertise, I’m sure someone else will come along and let you know shortly :+1:

1 Like

This issue has long since been fixed - are you sure you’re running the latest server build? That, and this has nothing to do with ‘the server crashing’, any such issue would be 100% unrelated.

Yes i use the latest server build

And now?

I pay € 50 every month and then the server is not even displayed in the server list …

Not sure what you’re thinking this topic is but it’s far, far removed from a bug report.