cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Polar Humenn <phum...@iona.com>
Subject Coloc Binding Test Error
Date Thu, 07 Jun 2007 04:10:25 GMT
I get the following error intermittently, probably based on system load.
It's a concurrent modification error on some List. Looks like it has
to do with Easymock, some misconception about lists, I think.
But in anycase, we should probably avoid this.

Cheers,
-Polar
-------------------------------------------------------
Running org.apache.cxf.binding.coloc.ColocMessageObserverTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.875 sec
Running org.apache.cxf.binding.coloc.ColocUtilTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec
Running org.apache.cxf.binding.coloc.ColocOutInterceptorTest
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.248 
sec <<< FAILURE!
testColocOutIsColocated(org.apache.cxf.binding.coloc.ColocOutInterceptorTest)  
Time elapsed: 0.019 sec  <<< ERROR!
java.util.ConcurrentModificationException
        at 
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
        at java.util.AbstractList$Itr.next(AbstractList.java:420)
        at 
org.easymock.internal.UnorderedBehavior.addExpected(UnorderedBehavior.java:22)
        at 
org.easymock.internal.MocksBehavior.addExpected(MocksBehavior.java:41)
        at org.easymock.internal.RecordState.times(RecordState.java:185)
        at 
org.easymock.internal.RecordState.closeMethod(RecordState.java:229)
        at org.easymock.internal.RecordState.invoke(RecordState.java:62)
        at 
org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:24)
        at 
org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:45)
        at 
org.easymock.classextension.internal.ClassProxyFactory$1.intercept(ClassProxyFactory.java:69)
        at 
org.apache.cxf.service.model.BindingInfo$$EnhancerByCGLIB$$be3758c2.getOperation(<generated>)
        at 
org.apache.cxf.binding.coloc.ColocOutInterceptorTest.verifyIsColocatedWithDifferentOperation(ColocOutInterceptorTest.java:366)
        at 
org.apache.cxf.binding.coloc.ColocOutInterceptorTest.testColocOutIsColocated(ColocOutInterceptorTest.java:149)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
        at 
org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
        at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        at 
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
        at 
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
        at 
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
        at 
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
        at 
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
        at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
        at 
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

Mime
View raw message