Tuscany
  1. Tuscany
  2. TUSCANY-3936

SDOContextHelper in standalone/non-OSGi

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Java-SCA-2.0-Beta3
    • Fix Version/s: Java-SCA-2.0
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      While playing with Tuscany & SDO, I found an issue which to me looked like a bug in SDOContextHelper, in standalone/non-OSGi scenarios - unless I'm not getting it.

      Without this patch, one of the test projects I wrote (available at https://github.com/vorburger/tuscany-sca-2.x/tree/trunk/samples/getting-started/helloworld-webservice-sdo-dynamic or https://github.com/vorburger/tuscany-sca-2.x/tree/trunk/samples/getting-started/helloworld-webservice-sdo) fail with a java.lang.NullPointerException at org.apache.tuscany.sca.databinding.sdo.ImportSDOProcessor.importWSDL(ImportSDOProcessor.java:176) - the proposed change address that.

      Attached a proposed patch to SDOContextHelper. This should be reviewed by somebody with a better understanding of Tuscany's internals, SDO integration, and standalone SE/EE vs. OSGi environments.

        Activity

        Michael Vorburger made changes -
        Field Original Value New Value
        Attachment 0003-Fix-in-SDOContextHelper-for-standalone-non-OSGi-SDO-.patch [ 12492784 ]
        Michael Vorburger created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Vorburger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development