Water fails to create new projects and load existing samples

(George McLaughlin) #1

Using new install windows 10 and VS 2019 installed, latest betas of water (2391 and 3) fail as detailed above with error log -

stringForKey(‘SearchTerm’, default(RemObjects.Elements.RTL.String))
at RemObjects.Fire.BaseLibrary.SBLSearchManager…ctor()
at RemObjects.Fire.BaseLibrary.SBLSearchManager.get_sharedInstance()
at RemObjects.Fire.App.SearchTreeController…ctor()
at RemObjects.Water.App.SolutionDocumentFrame…ctor(SolutionDocument document, MainViewModel mainviewmodel)
at RemObjects.Water.CoreApp.DataProvider.MainViewModel.OpenSolution(String fileName)
at RemObjects.Water.CoreApp.DataProvider.MainViewModel.OpenSolution()
at RemObjects.Fire.App.WelcomeWindowController.browseForProject()
at RemObjects.Fire.App.WelcomeFrame.BrowseForProject_Click(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)

Stable build 10.0.0.2385 works fine.

I would be grateful for your assistance,

George

(marc hoffman) #2

curious. what’s the exception message? NRE?

(marc hoffman) #3

Reproduced. As a workaround, can you open RegEdit, go to

HKEY_CURRENT_USER\Software\RemObjects\Elements\Water

and create a value called “SearchTerm” and set it to an arbitrary string? (this value stores the last term you searched for; it looks like some recent regression makes not fail if that is not set at all, which would only happen on systems where search was never once used in Water, which is why we didn’t notice it. ;).

(marc hoffman) #4

Fixed for the next build.

(George McLaughlin) #5

Many thanks Mark. That did the trick.
Water log uploaded below.

George

WaterLog.txt (6.9 KB)

1 Like