These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Error with event reg and open invoices iPart when OBO a certain user

When acting OBO a specific record and trying to either register for an event or view the open invoices ipart, I receive the "There was a problem loading this area." error.

This is the corresponding error from Event Viewer:

2022-04-12 10:25:41,002 [35] ERROR UKCLOUDSQL2:MLProd [(null)] - Error occured at Uri: https://HIDDEN.imiscloud.com/Asi.Scheduler/api/PartyCommercePreferences/1171
System.NullReferenceException: Object reference not set to an instance of an object.
at Asi.Soa.V10.Commerce.Persistence.PartyCommercePreferencesLinqDefinition.<>c.<get_AvailableBillToParties>b26_1(BillToPartiesLinqDefinition btp)
at System.Linq.EnumerableSorter2.ComputeKeys(TElement[] elements, Int32 count) at System.Linq.EnumerableSorter2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter1.Sort(TElement[] elements, Int32 count) at System.Linq.OrderedEnumerable1.d
1.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Asi.Soa.V10.Commerce.Persistence.PartyCommercePreferencesLinqDefinition.get_AvailableBillToParties() at Asi.Soa.V10.Commerce.Persistence.PartyCommercePreferencesLinqDefinition.GetEntity() at Asi.Soa.Core.Persistence.LinqPersistenceTranslator.PersistenceInstanceToEntity(Object persistenceInstance) at Asi.Soa.Core.Persistence.LinqQuery.<>c__DisplayClass4_0.<TranslateLinqQueryResultsToEntityIdentityMapList>b__0(Object item) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Asi.Soa.Core.Persistence.LinqQuery.TranslateLinqQueryResultsToEntityIdentityMapList(Repository repository, ExtendedEntityDefinition extendedEntityDefinition, IList1 list)
at Asi.Soa.Core.Persistence.LinqQuery.ExecuteQuery()
at Asi.Soa.Core.Persistence.LinqPersistenceStrategyBase.FindMatching(QueryData query)
at Asi.Soa.Core.Persistence.LinqPersistenceStrategyBase.FindByIdentity(IdentityData identity)
at Asi.Soa.Core.Domain.Repository.FindIdentityItemByIdentity(IdentityData identity)
at Asi.Soa.Core.Domain.Repository.FindByIdentity(IdentityData identity)
at Asi.Services.Core.EntityServiceToCommonServiceAdapter1.FindById(Object id) at Asi.Services.Core.EntityServiceToCommonServiceAdapter1.Asi.Soa.Core.ServiceContracts.ICommonReadOnlyService.FindById(Object id)
at Castle.Proxies.Invocations.ICommonReadOnlyService_FindById.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Shared.Aspects.CacheAspect.Intercept(IInvocation invocation) in C:\Builds\208\ScrumV3\sp137_Main10\Sources\MainFoundation\imis.net\Packages\Platform\Asi.Shared\Aspects\CacheAspect.cs:line 62
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Services.Core.Interceptors.CommonSecurityAspect.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Shared.Aspects.PerformanceAspect.Intercept(IInvocation invocation) in C:\Builds\208\ScrumV3\sp137_Main10\Sources\MainFoundation\imis.net\Packages\Platform\Asi.Shared\Aspects\PerformanceAspect.cs:line 55
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ICommonService`1Proxy_9.FindById(Object id)
at Asi.Scheduler.Controllers.CommonServiceController.Get(String entityName, String entityId)

If anyone could shed any light on what may be causing this, it would be much appreciated.

Thanks in advance.