# Invalid value tree

**URL:** <https://forum.juce.com/t/invalid-value-tree/5142>\
**Category:** General JUCE discussion\
**Created:** [April 13, 2010, 5:12pm UTC](https://forum.juce.com/t/invalid-value-tree/5142 "2010-04-13T17:12:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![haydxn](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@haydxn](https://forum.juce.com/u/haydxn)\
**Post date:** [April 13, 2010, 5:12pm UTC](https://forum.juce.com/t/invalid-value-tree/5142/1 "2010-04-13T17:12:53Z")

</div>

Any chance of giving a static function to return an invalid value tree? Right now, if I wish to return one from my functions, I have to get an actual ValueTree, and purposely ask for an out of range child.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [April 13, 2010, 5:19pm UTC](https://forum.juce.com/t/invalid-value-tree/5142/2 "2010-04-13T17:19:41Z")

</div>

I added one of those a few weeks ago, didn’t I?

---

<div class="post-metadata">

**Author:** ![haydxn](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@haydxn](https://forum.juce.com/u/haydxn)\
**Post date:** [April 13, 2010, 5:28pm UTC](https://forum.juce.com/t/invalid-value-tree/5142/3 "2010-04-13T17:28:58Z")

</div>

ah, okay 🙂 it’s so hard to know when such things get added - the online docs are well out of date, and i don’t update juce ‘on the offchance’ because GIT is a huge pain in the arse.
