I am creating some WPF popups using Cinch. However, I am doing this for a unmanaged application.
As a result of this, Application.Current is null. This results in a NullPointerException in WPFUIVisualizerService.cs, line 140, if I call ShowDialog(). As a quick fix, I changed the two lines locally to:
if (setOwner && Application.Current != null)
win.Owner = Application.Current.MainWindow;