1 Reply Latest reply on May 26, 2010 9:50 AM by alesj

    CL circularity failure

    alesj

      My build server is complaining about this CL test:

      DelegateUnitTestCase.testAbstractFactoryConcurrent
       junit.framework.AssertionFailedError: Did not expect CNFE for org.jboss.test.classloader.delegate.support.b.TestFactoryImplementation from BaseClassLoader@a19b1de{B}
       at org.jboss.test.AbstractTestCase.failure(AbstractTestCase.java:429)
       at org.jboss.test.classloader.AbstractClassLoaderTest.assertLoadClass(AbstractClassLoaderTest.java:196)
       Please wait... Show stacktrace »
       « Hide stacktrace
       junit.framework.AssertionFailedError: Did not expect CNFE for org.jboss.test.classloader.delegate.support.b.TestFactoryImplementation from BaseClassLoader@a19b1de{B}
       at org.jboss.test.AbstractTestCase.failure(AbstractTestCase.java:429)
       at org.jboss.test.classloader.AbstractClassLoaderTest.assertLoadClass(AbstractClassLoaderTest.java:196)
       at org.jboss.test.classloader.AbstractClassLoaderTest.assertLoadClass(AbstractClassLoaderTest.java:173)
       at org.jboss.test.classloader.AbstractClassLoaderTest.assertLoadClass(AbstractClassLoaderTest.java:158)
       at org.jboss.test.classloader.delegate.test.DelegateUnitTestCase.access$100(DelegateUnitTestCase.java:56)
       at org.jboss.test.classloader.delegate.test.DelegateUnitTestCase$2.run(DelegateUnitTestCase.java:301)
       Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.test.classloader.delegate.support.b.TestFactoryImplementation, msg=org/jboss/test/classloader/delegate/support/b/TestFactoryImplementation
       at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:181)
       at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265)
       at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1124)
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:856)
       at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:499)
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:444)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
       at org.jboss.test.classloader.AbstractClassLoaderTest.assertLoadClass(AbstractClassLoaderTest.java:191)
       ... 4 more
       Caused by: java.lang.ClassCircularityError: org/jboss/test/classloader/delegate/support/b/TestFactoryImplementation
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
       at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:66)
       at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:627)
       at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:586)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:585)
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:562)
       at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
       at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
       at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:455)
       at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:267)
       at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:166)
       at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265)
       at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1124)
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:856)
       at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:499)
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:444)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
       at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:66)
       at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:627)
       at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:586)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:585)
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:562)
       at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
       at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
       at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:455)
       at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:267)
       at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:166)
       ... 11 more
      

      All other tests pass.