Water crash


(arturredzko) #1

I clicked on the project tree while debugging and got this error :

Width and Height must be non-negative.
at System.Windows.Size..ctor(Double width, Double height)
at System.Windows.Controls.VirtualizingStackPanel.SyncUniformSizeFlags(Object parentItem, IContainItemStorage parentItemStorageProvider, IList children, IList items, IContainItemStorage itemStorageProvider, Int32 itemCount, Boolean computedAreContainersUniformlySized, Double computedUniformOrAverageContainerSize, Double computedUniformOrAverageContainerPixelSize, Boolean& areContainersUniformlySized, Double& uniformOrAverageContainerSize, Double& uniformOrAverageContainerPixelSize, Boolean& hasAverageContainerSizeChanged, Boolean isHorizontal, Boolean evaluateAreContainersUniformlySized)
at System.Windows.Controls.VirtualizingStackPanel.MeasureOverrideImpl(Size constraint, Nullable`1& lastPageSafeOffset, List`1& previouslyMeasuredOffsets, Nullable`1& lastPagePixelSize, Boolean remeasure)
at System.Windows.Controls.VirtualizingStackPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
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)

using the latest stable Water version.


(marc hoffman) #2

I’ll probably need a bit more to go on, for this :frowning:


(arturredzko) #3

I tried to reproduce the problem but without success. I get more often Water crashes with application close while waiting for loading large wasm module. I will confirm it tomorrow, Carlo has my test project to reproduce other issues.


(arturredzko) #4


This happens when I start rebuilding of the project and then click on solution tree. I can reproduce it many times.