Hello! I have website. My umbraco version 8.9.0. My Dev server is local, my staging server in azure. In Dev server everything is fine, but in Staging server in backoffice when i press Users i see massage "Server error: Contact administrator, see log for full details. Failed to retrieve users paged result"
When i check logs i see this error: "Unhandled controller exception occurred for request '"https://ggrecon.azurewebsites.net/umbraco/backoffice/UmbracoApi/Users/GetPagedUsers?pageNumber=1&pageSize=25&orderBy=Name&orderDirection=Ascending&filter="
Full log:
Exception
System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Core.Models.UserExtensions.GetUserCulture(String userLanguage, ILocalizedTextService textService, IGlobalSettings globalSettings) in D:\a\1\s\src\Umbraco.Core\Models\UserExtensions.cs:line 139
at Umbraco.Core.Models.UserExtensions.GetUserCulture(IUser user, ILocalizedTextService textService, IGlobalSettings globalSettings) in D:\a\1\s\src\Umbraco.Core\Models\UserExtensions.cs:line 132
at Umbraco.Web.Models.Mapping.UserMapDefinition.Map(IUser source, UserBasic target, MapperContext context) in D:\a\1\s\src\Umbraco.Web\Models\Mapping\UserMapDefinition.cs:line 306
at Umbraco.Core.Mapping.UmbracoMapper.<>cDisplayClass802.<Define>b__1(Object source, Object target, MapperContext context) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 106
at Umbraco.Core.Mapping.UmbracoMapper.Map[TTarget](Object source, Type sourceType, MapperContext context) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 206
at Umbraco.Core.Mapping.UmbracoMapper.Map[TSource,TTarget](TSource source, MapperContext context) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 190
at Umbraco.Core.Mapping.UmbracoMapper.Map[TSource,TTarget](TSource source) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 164
at System.Linq.Enumerable.<>c__DisplayClass7_03.0(TSource x)
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at Umbraco.Core.Mapping.UmbracoMapper.MapEnumerable[TSourceElement,TTargetElement](IEnumerable1 source) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 422
at Umbraco.Web.Editors.UsersController.GetPagedUsers(Int32 pageNumber, Int32 pageSize, String orderBy, Direction orderDirection, String[] userGroups, UserState[] userStates, String filter) in D:\a\1\s\src\Umbraco.Web\Editors\UsersController.cs:line 269
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.
Error in backoffice Users
Hello! I have website. My umbraco version 8.9.0. My Dev server is local, my staging server in azure. In Dev server everything is fine, but in Staging server in backoffice when i press Users i see massage "Server error: Contact administrator, see log for full details. Failed to retrieve users paged result" When i check logs i see this error: "Unhandled controller exception occurred for request '"https://ggrecon.azurewebsites.net/umbraco/backoffice/UmbracoApi/Users/GetPagedUsers?pageNumber=1&pageSize=25&orderBy=Name&orderDirection=Ascending&filter="
Full log: Exception System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Core.Models.UserExtensions.GetUserCulture(String userLanguage, ILocalizedTextService textService, IGlobalSettings globalSettings) in D:\a\1\s\src\Umbraco.Core\Models\UserExtensions.cs:line 139 at Umbraco.Core.Models.UserExtensions.GetUserCulture(IUser user, ILocalizedTextService textService, IGlobalSettings globalSettings) in D:\a\1\s\src\Umbraco.Core\Models\UserExtensions.cs:line 132 at Umbraco.Web.Models.Mapping.UserMapDefinition.Map(IUser source, UserBasic target, MapperContext context) in D:\a\1\s\src\Umbraco.Web\Models\Mapping\UserMapDefinition.cs:line 306 at Umbraco.Core.Mapping.UmbracoMapper.<>cDisplayClass80
2.<Define>b__1(Object source, Object target, MapperContext context) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 106 at Umbraco.Core.Mapping.UmbracoMapper.Map[TTarget](Object source, Type sourceType, MapperContext context) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 206 at Umbraco.Core.Mapping.UmbracoMapper.Map[TSource,TTarget](TSource source, MapperContext context) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 190 at Umbraco.Core.Mapping.UmbracoMapper.Map[TSource,TTarget](TSource source) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 164 at System.Linq.Enumerable.<>c__DisplayClass7_0
3.0(TSource x) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source) at Umbraco.Core.Mapping.UmbracoMapper.MapEnumerable[TSourceElement,TTargetElement](IEnumerable1 source) in D:\a\1\s\src\Umbraco.Core\Mapping\UmbracoMapper.cs:line 422 at Umbraco.Web.Editors.UsersController.GetPagedUsers(Int32 pageNumber, Int32 pageSize, String orderBy, Direction orderDirection, String[] userGroups, UserState[] userStates, String filter) in D:\a\1\s\src\Umbraco.Web\Editors\UsersController.cs:line 269 at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary
2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.Please help me!
is working on a reply...