[
https://jira.jboss.org/browse/TEIIDDES-655?page=com.atlassian.jira.plugin...
]
Barry LaFond updated TEIIDDES-655:
----------------------------------
Attachment: org.teiid.designer.vdb_TEIIDDES_655.patch
fix
Closing Project with VDB Editor open results in SWT exceptions
--------------------------------------------------------------
Key: TEIIDDES-655
URL:
https://jira.jboss.org/browse/TEIIDDES-655
Project: Teiid Designer
Issue Type: Bug
Components: Editors, VDB & Execution
Affects Versions: 7.1.1
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 7.1.1
Attachments: org.teiid.designer.vdb_TEIIDDES_655.patch
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira