Is anyone else having problems with Empty Lists?
I often create graphs with complex logic, which sometimes turn out to be having nested lists, and these list might also contain some “Empty List” results. I suppose this shouldn’t be a problem, since the program is supposed to manage data, and a data with empty value should be a pretty usual thing. In some cases the Empty Lists do not cause problems, but in other cases, they do.
My experience is, that if I have a list, or a list of lists (or a list of list of lists, etc.), if the first element is “empty”, or “null”, then the graph breaks from that point.
If I have “null” at any other point of the data structure, for example the second element of the first list, or the 23rd element of the 7th list of the 4th list, no problem occurs. The only problem is, if the starting value of the whole data structure is an “Empty value”. If it’s empty, I get error messages like “Dereferencing a non-pointer.”, or something like that.
It is inevitable to have data structures, which have empty values, and it might occur that the very first element is empty. It is not managable that I have to keep in mind that the first element can not be empty.
Isn’t anyone else running into this problem? How do you deal with this? Is this not a bug to be fixed?
Thanks a lot!
I already run into these 2 years ago and reported the problem:
but I think this is still present!