Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0alpha
    • 3.0alpha
    • None
    • None

    Description

      When running the UDDI_020_TmodelTest a circular reference it detected:
      org.uddi.api_v3.TModel@43fd2a -> org.uddi.api_v3.OverviewDoc@8f81db -> org.uddi.api_v3.TModel@43fd2a

      This must be a problem in the mapping layer.

      20:29:20,661 ERROR [TckTModel] Marshalling Error: A cycle is detected in the object graph. This will cause infinitely deep XML: org.uddi.api_v3.TModel@43fd2a -> org.uddi.api_v3.OverviewDoc@8f81db -> org.uddi.api_v3.TModel@43fd2a
      javax.xml.ws.soap.SOAPFaultException: Marshalling Error: A cycle is detected in the object graph. This will cause infinitely deep XML: org.uddi.api_v3.TModel@43fd2a -> org.uddi.api_v3.OverviewDoc@8f81db -> org.uddi.api_v3.TModel@43fd2a
      at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
      at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
      at $Proxy47.getTModelDetail(Unknown Source)
      at org.uddi.api_v3.tck.TckTModel.saveTModel(TckTModel.java:67)
      at org.uddi.api_v3.tck.TckTModel.saveJoePublisherTmodel(TckTModel.java:104)
      at org.apache.juddi.client.UDDI_020_TmodelTest.testJoePublisherTmodel(UDDI_020_TmodelTest.java:74)
      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.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
      at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

      Steps to reproduce:

      1. in the uddi-client/pom.xml -> set <wait>false</wait> to true

      2. in uddi-client: run mvn cargo:start

      3. in the UDDI_020_TmodelTest remove the @Ignore annotation from the tests

      4. in eclipse start UDDI_020_TmodelTest by right clicking > debug as Unit Test

      Attachments

        Activity

          People

            footh Jeff Faath
            kurtstam Kurt T Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment