org.apache.tuscany.sca.monitor.ValidationException: [Composite: { http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: ProviderComponent] - The intent { http://tuscany.apache.org/xmlns/sca/1.1}utility associated with policy subject { http://docs.oasis-open.org/ns/opencsa/sca/200912}implementation.java(class=org.walroz.wsr.webservice.ProviderImpl) has no matching policy set

tuscany-dev | Nicholas May | 3 years ago
  1. 0

    New Policy: intent has no matching policy set.

    tuscany-dev | 3 years ago | Nicholas May
    org.apache.tuscany.sca.monitor.ValidationException: [Composite: { http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: ProviderComponent] - The intent { http://tuscany.apache.org/xmlns/sca/1.1}utility associated with policy subject { http://docs.oasis-open.org/ns/opencsa/sca/200912}implementation.java(class=org.walroz.wsr.webservice.ProviderImpl) has no matching policy set

    Root Cause Analysis

    1. org.apache.tuscany.sca.monitor.ValidationException

      [Composite: { http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: ProviderComponent] - The intent { http://tuscany.apache.org/xmlns/sca/1.1}utility associated with policy subject { http://docs.oasis-open.org/ns/opencsa/sca/200912}implementation.java(class=org.walroz.wsr.webservice.ProviderImpl) has no matching policy set

      at org.apache.tuscany.sca.monitor.Monitor.analyzeProblems()
    2. Apache Tuscany SCA Base Jar
      Monitor.analyzeProblems
      1. org.apache.tuscany.sca.monitor.Monitor.analyzeProblems(Monitor.java:356)
      1 frame
    3. org.apache.tuscany
      TuscanyRuntime.runComposite
      1. org.apache.tuscany.sca.impl.DeployedComposite.build(DeployedComposite.java:105)
      2. org.apache.tuscany.sca.impl.DeployedComposite.<init>(DeployedComposite.java:81)
      3. org.apache.tuscany.sca.impl.NodeImpl.startComposite(NodeImpl.java:383)
      4. org.apache.tuscany.sca.TuscanyRuntime.runComposite(TuscanyRuntime.java:127)
      5. org.apache.tuscany.sca.TuscanyRuntime.runComposite(TuscanyRuntime.java:100)
      5 frames
    4. Unknown
      WebServiceTestCase.setUp
      1. WebServiceTestCase.setUp(WebServiceTestCase.java:51)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      13 frames
    7. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames