# JUCE Assertion failure in juce\_ResizableWindow.cpp:245

**URL:** <https://forum.juce.com/t/juce-assertion-failure-in-juce-resizablewindow-cpp-245/38724>\
**Category:** General JUCE discussion\
**Created:** [April 15, 2020, 3:18am UTC](https://forum.juce.com/t/juce-assertion-failure-in-juce-resizablewindow-cpp-245/38724 "2020-04-15T03:18:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stonepresto](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@stonepresto](https://forum.juce.com/u/stonepresto)\
**Post date:** [April 15, 2020, 3:18am UTC](https://forum.juce.com/t/juce-assertion-failure-in-juce-resizablewindow-cpp-245/38724/1 "2020-04-15T03:18:49Z")

</div>

I get this error every 4 or 5 builds or so and the main window never opens:

```
JUCE v5.4.7
JUCE Assertion failure in juce_ResizableWindow.cpp:245
JUCE Assertion failure in juce_ResizableWindow.cpp:246

```

The assertion refers to component size being 0 (here are lines 245 and 246):

```
 // not going to look very good if this component has a zero size..
 jassert (child->getWidth() > 0);
 jassert (child->getHeight() > 0);

```

It occurs on my applications as well as the demo ones so it doesnt seem to be something wrong with my code. I am running Ubuntu 19.1 (Kubuntu) using CLion 2019.3.5 to build. Has anyone else experienced this? I searched the forum but didnt see anything

---

<div class="post-metadata">

**Author:** ![RaulPulsar](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@RaulPulsar](https://forum.juce.com/u/RaulPulsar)\
**Post date:** [August 19, 2023, 6:10pm UTC](https://forum.juce.com/t/juce-assertion-failure-in-juce-resizablewindow-cpp-245/38724/2 "2023-08-19T18:10:41Z")

</div>

Hi, I have the same problem with Windows 10. Did you find the problem?  
Thanks

---

<div class="post-metadata">

**Author:** ![dpolito](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@dpolito](https://forum.juce.com/u/dpolito)\
**Post date:** [January 9, 2024, 8:43pm UTC](https://forum.juce.com/t/juce-assertion-failure-in-juce-resizablewindow-cpp-245/38724/3 "2024-01-09T20:43:26Z")

</div>

I am getting this bug now as well. Any ideas?
