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

Closing Project with VDB Editor open results in SWT exceptions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.1
    • 7.1.1
    • Editors, VDB & Execution
    • None

    Description

      With open project and VDB Editor open perform "Close Project" action

      Get SWT exceptions coming from a VDB property change listener....

      at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1444)
      at com.metamatrix.modeler.internal.vdb.ui.editor.VdbEditor.vdbNotification(VdbEditor.java:974)
      at com.metamatrix.modeler.internal.vdb.ui.editor.VdbEditor$27$1.run(VdbEditor.java:920)

      Turns out the VdbEntry() constructor's resource change listener is firing a change event for the deleted models.

      Need to add a check using "ResourceChangeUtilities.isProjectClosing(event)" and NOT fire events which would cause this vdb viewer refresh.

      Attachments

        Activity

          People

            blafond Barry LaFond
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: