]
RH Bugzilla Integration commented on TEIIDDES-2471:
---------------------------------------------------
Debi Rieden <drieden(a)redhat.com> changed the Status of [bug
Assertion error trying to Delete a file
---------------------------------------
Key: TEIIDDES-2471
URL:
https://issues.jboss.org/browse/TEIIDDES-2471
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 9.0
Reporter: Barry LaFond
Assignee: Barry LaFond
Labels: release_notes, verified_jbdsis-8.0.3.CR1
Fix For: 9.0.3, 9.2
When deleting a VDB in a model project, it'll fail if you click *Preview*, then
*Back*, then *OK*
Stack trace is below and it appears that by Previewing the a refactor action (Delete in
this case) and clicking *Back* does not clear the original *change*, so clicking *OK* ends
up trying to apply duplicate changes. I tested the Preview/Back a couple of times and
verified it's adding a duplicate change each time.
{code}
org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring
class is adding a
at
org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
at
org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
at
org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at
org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
!SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
!MESSAGE assertion failed:
{code}