What I am getting now is the following StackOverFlowError...
How do I resolve it ? If this can be resolved, I think the other SQLManager thing (which have similar structures) would also be resolved.
Well, you do know why it is happening right?
Basically, the constructor of your TestSession class is creating a TestSessionA local variable, which in turn, the constructor of your TestSessionA class is creating a TestSession local variabla, which in turn, the constructor of your TestSession class is creating a TestSessionA local variable, which in turn, the constructor of your TestSessionA class is creating a TestSession local variabla, which in turn, the constructor of your TestSession class is creating a TestSessionA local variable, which in turn, the constructor of your TestSessionA class is creating a TestSession local variabla, which in turn, the constructor of your TestSession class is creating a TestSessionA local variable, which in turn, the constructor of your TestSessionA class is creating a TestSession local variabla, which in turn, the constructor of your TestSession class is creating a TestSessionA local variable, which in turn, the constructor of your TestSessionA class is creating a TestSession local variabla, which in turn, the constructor of your TestSession class is creating a TestSessionA local variable, which in turn, the constructor of your TestSessionA class is creating a TestSession local variabla, which in turn, etc. etc. etc. etc. etc. etc. etc. etc. etc.etc. etc. etc. etc.etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc.etc. etc. etc. etc.etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc.etc. etc. etc. etc.etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc. etc.etc. etc. etc. etc.etc. etc. etc. etc.... until your stack overflows.
How do you resolve it, is simple -- don't do that.
Henry