If an existing data file (somehow) contains a recursive account structure -- for example, an account which is, directly its own parent, or indirectly its own ancestor -- then, on attempting to load the file into jGnash 1.x, (*) one sees this error message in the log:
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: java.lang.StackOverflowError
(and then the last line is repeated many times).
The visible result in the user interface is that the loading of the file fails. jGnash doesn\'t crash, but the user is left with no data to work with.
It would be better if the data loading could mostly succeed, even if it were necessary (for example) to assign an arbitrary parent to one or more accounts. Also, one would like the messages in the log to be clearer about the source of the problem.
(*) The problem was first noticed in Revision 2081 of the Subversion repository.