# Water crash

**URL:** https://talk.remobjects.com/t/water-crash/18122
**Category:** Water
**Created:** [December 4, 2018, 9:09am UTC](https://talk.remobjects.com/t/water-crash/18122 "2018-12-04T09:09:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![arturredzko](https://talk.remobjects.com/user_avatar/talk.remobjects.com/arturredzko/32/16908_2.png) [@arturredzko](https://talk.remobjects.com/u/arturredzko)
#### Post date: [December 4, 2018, 9:09am UTC](https://talk.remobjects.com/t/water-crash/18122/1 "2018-12-04T09:09:04Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [December 4, 2018, 4:11pm UTC](https://talk.remobjects.com/t/water-crash/18122/2 "2018-12-04T16:11:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![arturredzko](https://talk.remobjects.com/user_avatar/talk.remobjects.com/arturredzko/32/16908_2.png) [@arturredzko](https://talk.remobjects.com/u/arturredzko)
#### Post date: [December 4, 2018, 5:17pm UTC](https://talk.remobjects.com/t/water-crash/18122/3 "2018-12-04T17:17:01Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![arturredzko](https://talk.remobjects.com/user_avatar/talk.remobjects.com/arturredzko/32/16908_2.png) [@arturredzko](https://talk.remobjects.com/u/arturredzko)
#### Post date: [December 5, 2018, 1:06pm UTC](https://talk.remobjects.com/t/water-crash/18122/4 "2018-12-05T13:06:03Z")

</div>

![Messages](https://talk.remobjects.com/uploads/default/original/2X/8/8aa097ffee3e9e4440f2a9a4baf23b56f4ecc9f1.gif)  
This happens when I start rebuilding of the project and then click on solution tree. I can reproduce it many times.
