Tuscany
  1. Tuscany
  2. TUSCANY-3028

Tuscany attempts to execute a component with a reference which has conflicting configuration

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Java-SCA-2.x
    • Fix Version/s: Java-SCA-2.x
    • Component/s: None
    • Labels:
      None

      Description

      OASIS SCA Assembly testcase Test_ASM_5024 includes a reference which has a @target attribute declared and also a <binding/> subelement present:

      <reference name="Reference1" target="TestComponent2/Service1">
      <interface.wsdl interface="http://test/#wsdl.porttype(Service1)"/>
      <!-- A binding which contradicts the @target attribute -->
      <binding.ws/>
      </reference>

      This configuration is incorred according to the OASIS SCA Assembly specification and should be rejected by an SCA runtime.

      However, Tuscany runs this component and then fails with a NullPointerException when the component attempts to invoke the reference configured as above.

        Activity

        Mike Edwards created issue -

          People

          • Assignee:
            Mike Edwards
            Reporter:
            Mike Edwards
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:

              Development