Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1396

Circular references in WSDL schemas can still result in stack overflow errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.7.1, 7.8
    • None
    • None
    • None

    Description

      Using the SOAP -> Source importer, import from the 'metacenterservice' (MC) example wsdl.

      Clicking next on the Model Definitions page results in the display of an eclipse StackOverFlow exception dialog.

      This is due to the wsdl schema containing a circular reference.

      It has been fixed previously by inserting a depth counter that triggers a warning dialog and aborts. However, the max depth threshold is set to 1000 which is too high on this system to avoid the StackOverFlow.

      Suggested Fixes:
      1) Reduce the depth to 750, which works on this system
      2) Create a JVM system property that can be used to increase the depth should the user deem it necessary and add this to the warning
      message that is triggered if the depth threshold is exceeded
      3) Catch the StackOverflow error and explain the problem with a warning message.

      Attachments

        Activity

          People

            parichar@redhat.com Paul Richardson
            parichar@redhat.com Paul Richardson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: