If only the tree file is broken (and there is possibility that it's worse), your project is not lost to death, but you may have a lot of work to do depending on how many maps it has, because you must reorganize and reconfigure them in the tree structure (I guess that's better than throwing it away). It often happens because of technical problems while saving the project or when the RPG Maker program gets closed (when closing normally, when crashing or if there was a power blackout in worst moment possible).
Also... I'm not sure if it's that exact same error message, but there is (was?) also a big problem that occurs when you shorten the tilesets list in the game's database so far that the entry that is used on the currently opened map gets deleted. And then there is a problem I often experienced on Win10 that it messes up temporary data of RPG2000/2003 while editing (which leads to opening a map shows a big blob of water tiles). If you save a project after that has already happend, maybe something might break. What I'm trying to say is: That stuff is far away from being stable.
There is an old tool made by Cherry back in 2008 that generates a basic maptree file for your project where all maps are listed in simple sequence without giving them useful names (they will be named the same way when you create a new map without rename, for example "MAP0001").
DownloadLink
Some browsers may warn you it is not a secure connection. Don't worry.
What is lost and has to be recreated manually:
★ The structure and all map names
★ Random encounter steps and which troops are linked to the map
★ Settings for changing BGM, backdrop, teleport skills, escape skills and default menu's save command.
All of this gets stored in RPG_RT.lmt to be always present "publicly" when the current map has to access data from a parent object in the tree without loading other LMUs.
~炬燵あ