0

当它不指向我们的java代码时,有人可以帮助解决如何处理stackoverflow错误。堆栈跟踪仅指向 arraylist 和一些类加载器:

     !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StackOverflowError
  at java.util.ArrayList.get(ArrayList.java:322)
  at sun.misc.URLClassPath.getLoader(URLClassPath.java:314)
  at sun.misc.URLClassPath.access$000(URLClassPath.java:60)
  at sun.misc.URLClassPath$1.next(URLClassPath.java:195)
  at sun.misc.URLClassPath$1.hasMoreElements(URLClassPath.java:206)
  at java.net.URLClassLoader$3$1.run(URLClassLoader.java:416)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader$3.next(URLClassLoader.java:413)
  at java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:438)
  at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27)
  at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:36)
  at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27)
  at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:36)
  at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27)
  at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:36)
  at org.codehaus.classworlds.DefaultClassRealm.findResources(DefaultClassRealm.java:351)
  at org.codehaus.classworlds.RealmClassLoader.findResources(RealmClassLoader.java:252)
  at java.lang.ClassLoader.getResources(ClassLoader.java:1041)
  at org.codehaus.classworlds.DefaultClassRealm.findResources(DefaultClassRealm.java:351)
  at org.codehaus.classworlds.RealmClassLoader.findResources(RealmClassLoader.java:252)
  at java.lang.ClassLoader.getResources(ClassLoader.java:1041)
  at org.codehaus.classworlds.DefaultClassRealm.findResources(DefaultClassRealm.java:351)
  at org.codehaus.classworlds.RealmClassLoader.findResources(RealmClassLoader.java:252)
  at java.lang.ClassLoader.getResources(ClassLoader.java:1041)
4

1 回答 1

2

嗯?这绝对看起来像您的代码:

at org.codehaus.classworlds.UrlUtils.normalizeUrlPath(UrlUtils.java:11)
at org.codehaus.classworlds.DefaultClassRealm.findResources(DefaultClassRealm.java:344)
at org.codehaus.classworlds.RealmClassLoader.findResources(RealmClassLoader.java:252)
于 2013-05-05T13:02:04.273 回答