Default Advanced Delivery Screen Bug/Crash


#1

I have a very annoying bug that makes the default advanced delivery setup unusable. When you have multiple departments and switch between them sometimes just once other times 2-5 times it crashes with the following report. I created a brand new database… created a simple create ticket department and another department with delivery screen and issue occurs.

Edit: I fixed it by recreating the entity screen from scratch. Might be a bug of importing the entity screen via configuration task. Still might want to check this out.

-----------------------------
[General Info]

Application: SambaPOS
Version:     5.2.4
Region:      en
DB:          SQ
Machine:     DESKTOP-FH71I68
User:        Admin
Date:        6/12/2018
Time:        6:20 AM

User Explanation:

Admin said ""
-----------------------------

[Exception Info 1]

Top-level Exception
Type:        System.NullReferenceException
Message:     Object reference not set to an instance of an object.
Source:      Samba.Presentation.ClientLibrary
Stack Trace: at Samba.Presentation.ClientLibrary.Modules.EntityModule.Widgets.EntitySearch.EntitySearchWidgetViewModel.InternalRefresh() in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\EntityModule\Widgets\EntitySearch\EntitySearchWidgetViewModel.cs:line 172
   at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback)
   at Samba.Presentation.Common.Widgets.WidgetViewModel.<Refresh>b__86_0()
   at Samba.Services.Common.MethodQueues.MethodQueueItem.Execute() in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Services\Common\MethodQueues\MethodQueueItem.cs:line 35
   at Samba.Services.Common.MethodQueues.Methods.<>c.<ExecuteDelayedMethods>b__5_0(MethodQueueItem x) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Services\Common\MethodQueues\Methods.cs:line 56
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Samba.Services.Common.MethodQueues.Methods.ExecuteDelayedMethods() in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Services\Common\MethodQueues\Methods.cs:line 56
   at Samba.Presentation.Services.Implementations.MethodQueue.RunQueue()
   at Samba.Presentation.Shell.TimerTick(Object sender, EventArgs e)
   at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

-----------------------------

[Assembly Info]

mscorlib, Version=4.0.0.0
Samba.Services, Version=1.0.0.0
Samba.Domain, Version=1.0.0.0
Samba.Infrastructure.Data, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
System.Core, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
DevExpress.Xpf.LayoutControl.v16.2, Version=16.2.6.0
System.Xml, Version=4.0.0.0
DevExpress.Xpf.Grid.v16.2, Version=16.2.6.0
System, Version=4.0.0.0
DevExpress.Xpf.Grid.v16.2.Core, Version=16.2.6.0
WindowsBase, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Runtime.Serialization, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
DevExpress.Xpf.Core.v16.2, Version=16.2.6.0
System.Windows.Forms, Version=4.0.0.0
System.Drawing, Version=4.0.0.0
Samba.Persistance, Version=1.0.0.0
Stateless, Version=1.0.0.0
PropertyTools, Version=2012.4.14.1
Samba.Localization, Version=1.0.0.0
ReachFramework, Version=4.0.0.0
EntityFramework, Version=6.0.0.0
FluentValidation, Version=3.4.0.0
Microsoft.CSharp, Version=4.0.0.0
Omu.ValueInjecter, Version=2.3.0.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
DevExpress.Data.v16.2, Version=16.2.6.0
WindowsInput, Version=1.0.4.0

-----------------------------

[System Info]

Operating System
-Microsoft Windows 10 Enterprise
--CodeSet = 1252
--CSDVersion = 
--CurrentTimeZone = -240
--FreePhysicalMemory = 23208296
--OSArchitecture = 64-bit
--OSLanguage = 1033
--ServicePackMajorVersion = 0
--ServicePackMinorVersion = 0
--Version = 10.0.17134

Machine
-DESKTOP-FH71I68
--Manufacturer = To Be Filled By O.E.M.
--Model = To Be Filled By O.E.M.
--TotalPhysicalMemory = 34291683328
--UserName = DESKTOP-FH71I68\Admin

-----------------------------