Hi All, I am using Digester to parse an xml file as follows
Bundle bundle = Platform.getBundle("id"); Path path = new Path("myDir/first.xml"); URL url = FileLocator.find(bundle, path, null); digester.parse(url); 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, Amit