[ https://issues.apache.org/jira/browse/TUSCANY-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Nash resolved TUSCANY-3164. --------------------------------- Resolution: Fixed Increasing the sleep delay doesn't completely solve the problem. Even with a delay of 3000, I still see the failure sometimes. Instead I have added a retry loop in the test case to retry the time-critical get and delete operations for up to 5 times if they fail. Fixed in the 1.x branch under revision r813761 and in the 1.5.1 branch under revision r813762. > Unable to build binding-gdata-runtime > ------------------------------------- > > Key: TUSCANY-3164 > URL: https://issues.apache.org/jira/browse/TUSCANY-3164 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Misc Binding Extensions > Affects Versions: Java-SCA-1.5.1 > Environment: Windows Vista > Reporter: Simon Nash > Assignee: Luciano Resende > Fix For: Java-SCA-1.5.1, Java-SCA-Next > > > I'm unable to build the 1.5.1 branch because of the following failure in > binding-gdata-runtime. As a temporary workaround, > I have disabled testClientDelete by adding an @Ignore annotation. > - - - - - - - - - - - - - - - - > testClientDelete(org.apache.tuscany.sca.binding.gdata.GoogleContactsServiceTestC > ase) Time elapsed: 1.303 sec <<< ERROR! > org.osoa.sca.ServiceRuntimeException: > com.google.gdata.util.ResourceNotFoundExce > ption: Not Found > Contact not found. > at > org.apache.tuscany.sca.binding.gdata.provider.GdataBindingInvoker$Del > eteInvoker.invoke(GdataBindingInvoker.java:281) > at > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i > nvoke(PassByValueInterceptor.java:55) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD > KInvocationHandler.java:346) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD > KInvocationHandler.java:193) > 20-Jul-2009 02:11:19 org.apache.tuscany.sca.node.impl.NodeImpl <init> > INFO: Creating node: > org/apache/tuscany/sca/binding/gdata/ConsumerGoogleBlogger. > composite > at $Proxy11.delete(Unknown Source) > at > org.apache.tuscany.sca.binding.gdata.CustomerClientImpl.clientDelete( > CustomerClientImpl.java:83) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat > ionInvoker.invoke(JavaImplementationInvoker.java:156) > at > org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB > indingInvoker.java:61) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD > KInvocationHandler.java:346) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD > KInvocationHandler.java:193) > at $Proxy10.clientDelete(Unknown Source) > at > org.apache.tuscany.sca.binding.gdata.GoogleContactsServiceTestCase.te > stClientDelete(GoogleContactsServiceTestCase.java:131) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:168) > at junit.framework.TestCase.runBare(TestCase.java:134) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:232) > at junit.framework.TestSuite.run(TestSuite.java:227) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner. > java:79) > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet. > java:62) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes > tSet(AbstractDirectoryTestSuite.java:138) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab > stractDirectoryTestSuite.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(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su > refireBooter.java:308) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j > ava:879) > Caused by: com.google.gdata.util.ResourceNotFoundException: Not Found > Contact not found. > at > com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(Unk > nown Source) > at > com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(U > nknown Source) > at > com.google.gdata.client.http.HttpGDataRequest.checkResponse(Unknown S > ource) > at com.google.gdata.client.http.HttpGDataRequest.execute(Unknown > Source) > at com.google.gdata.client.http.GoogleGDataRequest.execute(Unknown > Sourc > e) > at com.google.gdata.client.Service.getEntry(Unknown Source) > at com.google.gdata.client.GoogleService.getEntry(Unknown Source) > at com.google.gdata.client.Service.getEntry(Unknown Source) > at > org.apache.tuscany.sca.binding.gdata.provider.GdataBindingInvoker$Del > eteInvoker.invoke(GdataBindingInvoker.java:270) > ... 38 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.