xibosignage / xibo-dotnetclient

Xibo for Windows .NET Player
GNU Affero General Public License v3.0
63 stars 91 forks source link

ChangeToNextLayout: Layout Change to %path% failed. Exception raised was: Value cannot be null. #261

Closed dasgarner closed 2 years ago

dasgarner commented 2 years ago

The root cause here is that there was an exception stopping the current layout for the same reason "Value cannot be null".

Additionally for some reason we re-throw caught exceptions raised when stopping the current layout, and i'm not sure why (I think this might just be a bug).

See: https://github.com/xibosignage/xibo-dotnetclient/blob/b57630f6779a1df94bccfe60719aab4928018cc4/MainWindow.xaml.cs#L512

dasgarner commented 2 years ago

Additional throw has been removed.