commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit <>
Subject java.lang.StackOverflowError exception
Date Mon, 23 Jul 2007 13:26:06 GMT
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);

but the problem is that everytime it throws me

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
    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..?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message