Strange regression in Proxy processing
adrian.brock May 3, 2006 9:01 AMThere seems to be a regression in the proxy processing.
It goes into a loop while trying to create the proxy.
But I only when running the test from inside eclipse?
Running from command line ant doesn't cause the problem.
It is looping somewhere here:
main" prio=1 tid=0x0805ff98 nid=0x2032 waiting on condition [0xbfeac000..0xbfeae168] at java.lang.String.<init>(String.java:208) at java.lang.StringBuilder.toString(StringBuilder.java:431) at java.io.UnixFileSystem.resolve(UnixFileSystem.java:93) at java.io.File.<init>(File.java:284) at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:891) at sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:871) at sun.misc.URLClassPath.findResource(URLClassPath.java:142) at java.net.URLClassLoader$2.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:359) at java.lang.ClassLoader.getResource(ClassLoader.java:977) at javassist.LoaderClassPath.find(LoaderClassPath.java:86) at javassist.ClassPoolTail.find(ClassPoolTail.java:317) at javassist.ClassPool.find(ClassPool.java:467) at javassist.ClassPool.createCtClass(ClassPool.java:451) at javassist.ClassPool.get0(ClassPool.java:417) - locked <0x88f1e8b8> (a javassist.ClassPool) at javassist.ClassPool.get0(ClassPool.java:426) - locked <0x88fbbdc8> (a org.jboss.aop.AOPClassPool) at javassist.ClassPool.get(ClassPool.java:386) at javassist.compiler.MemberResolver.lookupClass0(MemberResolver.java:415) at javassist.compiler.MemberResolver.lookupClass(MemberResolver.java:379) at javassist.compiler.MemberResolver.lookupClassByName(MemberResolver.java:306) at javassist.compiler.TypeChecker.atNewExpr(TypeChecker.java:95) at javassist.compiler.ast.NewExpr.accept(NewExpr.java:72) at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:235) at javassist.compiler.CodeGen.compileExpr(CodeGen.java:222) at javassist.compiler.CodeGen.atThrowStmnt(CodeGen.java:618) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:358) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:384) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:348) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.MemberCodeGen.atTryStmnt(MemberCodeGen.java:140) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:360) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285) at javassist.compiler.Javac.compileBody(Javac.java:212) at javassist.CtBehavior.setBody(CtBehavior.java:282) at javassist.CtBehavior.setBody(CtBehavior.java:257) at javassist.CtNewMethod.make(CtNewMethod.java:135) at javassist.CtNewMethod.make(CtNewMethod.java:104) at org.jboss.aop.proxy.container.ContainerProxyFactory.createIntroductions(ContainerProxyFactory.java:571) at org.jboss.aop.proxy.container.ContainerProxyFactory.createMixinsAndIntroductions(ContainerProxyFactory.java:394) at org.jboss.aop.proxy.container.ContainerProxyFactory.addMethodsAndMixins(ContainerProxyFactory.java:361) at org.jboss.aop.proxy.container.ContainerProxyFactory.createProxyCtClass(ContainerProxyFactory.java:179) at org.jboss.aop.proxy.container.ContainerProxyFactory.createProxyCtClass(ContainerProxyFactory.java:159) at org.jboss.aop.proxy.container.ContainerProxyFactory.generateProxy(ContainerProxyFactory.java:131) at org.jboss.aop.proxy.container.ContainerProxyFactory.getProxyClass(ContainerProxyFactory.java:121) - locked <0x88fbbe10> (a java.lang.Object) at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.generateProxy(GeneratedAOPProxyFactory.java:115) at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.getProxy(GeneratedAOPProxyFactory.java:101) - locked <0x88f1e6c8> (a java.lang.Object) at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.createAdvisedProxy(GeneratedAOPProxyFactory.java:73) at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.createAdvisedProxy(GeneratedAOPProxyFactory.java:41) at org.jboss.rars.generic.mcf.GenericManagedConnectionFactory.createProxy(GenericManagedConnectionFactory.java:582)
You'll need to checkout the separate rars project from cvs
then run the src/tests/org.jboss.test.rars.RARAllTestSuite from inside eclipse.