[
https://jira.jboss.org/browse/TEIIDDES-655?page=com.atlassian.jira.plugin...
]
Barry LaFond resolved TEIIDDES-655.
-----------------------------------
Resolution: Done
applied, tested and checked-in patch
Basically the Vdb receives a resource change event was blindly notifying listeners which
called a "setSynchronization()" which resulted in exception. In this case it was
for a Preview VDB which does not care about synching.
Added a check for isPreview() and prevent notifying VDB's listeners.
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