but the problem is that everytime it throws me
java.lang.StackOverflowErrorexception
Exception in thread "Thread-2" java.lang.StackOverflowError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
It seems like the parsing is going in infinite loop.
Can anyone suggest what is wrong with this appraoch or do I have to call
parse method in another way..?
Thanks,