Version 5.2.24 unable to open POS

Hi guys! I just downloaded versión 5.2.24, and I’m having trouble with it .
It seems like SambaPOS loads, I can open workperiords, check past ticket sales, go into “Manage Options”, but as son as I click POS screen, it crashes.

I tried uninstalling, then manually removing folders created, and then reinstalling a fresh downloaded version, but same error keeps coming. Has anyone experienced same issue? I guess i have to rollback in the meantime.



Heres error thrown:

[General Info]

Application: SambaPOS
Version: 5.2.24
Region: en
DB: SQ
Machine: DESKTOP-GJB87BM
User: BASEMENT
Date: 22/10/2019
Time: 08:45 p. m.

User Explanation:

BASEMENT said “”

[Exception Info 1]

Top-level Exception
Type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack Trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
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)

Inner Exception 1
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: FastButton
Stack Trace: at FastButton.Badge.OnContentChanged(Object oldContent, Object newContent)
at System.Windows.Controls.ContentControl.OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Samba.Presentation.ClientLibrary.Modules.EntityModule.Widgets.EntityButton.EntityButtonWidgetViewModel.set_Badge(String value) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\EntityModule\Widgets\EntityButton\EntityButtonWidgetViewModel.cs:line 150
at Samba.Presentation.ClientLibrary.Modules.EntityModule.Widgets.EntityButton.EntityButtonWidgetViewModel.InternalRefresh() in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\EntityModule\Widgets\EntityButton\EntityButtonWidgetViewModel.cs:line 74
at Samba.Presentation.Common.Widgets.WidgetViewModel.Refresh()
at Samba.Presentation.Controls.UIControls.DiagramCanvas.AddControl(IDiagram buttonHolder, InkCanvas parentControl)
at Samba.Presentation.Controls.UIControls.DiagramCanvas.SourceChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.Controls.InkCanvas.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
at MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName)
at MS.Internal.Data.PropertyPathWorker.OnPropertyChanged(Object sender, PropertyChangedEventArgs e)
at System.Windows.WeakEventManager.ListenerList1.DeliverEvent(Object sender, EventArgs e, Type managerType) at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args) at Microsoft.Practices.Prism.ViewModel.NotificationObject.RaisePropertyChanged(String propertyName) at Microsoft.Practices.Prism.ViewModel.NotificationObject.RaisePropertyChanged[T](Expression1 propertyExpression)
at Samba.Presentation.ClientLibrary.Modules.EntityModule.EntityDashboardViewModel.Refresh(EntityScreen entityScreen, OperationRequest1 currentOperationRequest) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\EntityModule\EntityDashboardViewModel.cs:line 112 at Samba.Presentation.ClientLibrary.Modules.EntityModule.EntitySwitcherViewModel.ActivateDashboard(EntityScreen entityScreen) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\EntityModule\EntitySwitcherViewModel.cs:line 286 at Samba.Presentation.ClientLibrary.Modules.EntityModule.EntitySwitcherViewModel.ActivateEntityScreen(EntityScreen entityScreen) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\EntityModule\EntitySwitcherViewModel.cs:line 260 at Samba.Presentation.ClientLibrary.Modules.EntityModule.EntitySwitcherViewModel.<.ctor>b__27_2(EventParameters1 x) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\EntityModule\EntitySwitcherViewModel.cs:line 98
at Microsoft.Practices.Prism.Events.EventSubscription1.InvokeAction(Action1 action, TPayload argument)
at Microsoft.Practices.Prism.Events.EventSubscription1.<>c__DisplayClass2.<GetExecutionStrategy>b__0(Object[] arguments) at Microsoft.Practices.Prism.Events.EventBase.InternalPublish(Object[] arguments) at Microsoft.Practices.Prism.Events.CompositePresentationEvent1.Publish(TPayload payload)
at Samba.Presentation.Services.Common.ExtensionMethods.Publish[TEventsubject](TEventsubject eventArgs, String eventTopic, Action expectedAction)


[Assembly Info]

mscorlib, Version=4.0.0.0
System, 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
WindowsBase, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
DevExpress.Xpf.LayoutControl.v16.2, Version=16.2.13.0
System.Xml, Version=4.0.0.0
DevExpress.Xpf.Grid.v16.2, Version=16.2.13.0
DevExpress.Xpf.Grid.v16.2.Core, Version=16.2.13.0
System.Xaml, 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.13.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
NCalc, Version=1.3.8.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.13.0
WindowsInput, Version=1.0.4.0


[System Info]

Operating System
-Microsoft Windows 10 Pro
–CodeSet = 1252
–CSDVersion =
–CurrentTimeZone = -420
–FreePhysicalMemory = 369632
–OSArchitecture = 32 bits
–OSLanguage = 3082
–ServicePackMajorVersion = 0
–ServicePackMinorVersion = 0
–Version = 10.0.18362

Machine
-DESKTOP-GJB87BM
–Manufacturer = ACER
–Model = Aspire X1900
–TotalPhysicalMemory = 2111033344
–UserName = DESKTOP-GJB87BM\BASEMENT


By the way, when i try to send report log file
4

Has anyone else experienced same issue, or better yet, found a solution?

Not seen similar reports.
sing 5.2.24 pm dev machine without issue.
Would guess that you have either some bad automation or expression in say a command header or entity state formatting given you seem t have select entity as ticket creation method.
Simple test since you have manage access would be (at least if using proppr SQL) would be to change DB name to something different so that samba loads a default sample dataset. This would show if its a config issue in your setup or a bug. I would guess it will work and show the former is the case.

Ok. let me try it. I’ll let you know how it goes.

Looks like something to do with an entity button. Using 5.2.24 live in my restaurant no issues.

Can you send me a backup of DB for controlling ?

Sorry guys haven’t responded, it’s so windy in my area, and we are having constant power issues, no internet, as well as huge fires al over the state.
I’ll send over database as soon as possible.