[
https://issues.jboss.org/browse/TEIIDDES-1712?page=com.atlassian.jira.plu...
]
Barry LaFond updated TEIIDDES-1712:
-----------------------------------
Assignee: Paul Richardson
Attempt to delete view table results in ClassCastException
----------------------------------------------------------
Key: TEIIDDES-1712
URL:
https://issues.jboss.org/browse/TEIIDDES-1712
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 8.1
Reporter: Mark Drilling
Assignee: Paul Richardson
Fix For: 8.2
Created a View Model, then added an empty Table via the Create Table dialog.
then when I tried to delete, it nothing happened (didnt delete). I got the following
exception:
!MESSAGE java.util.ArrayList cannot be cast to org.eclipse.core.resources.IFile
!STACK 0
java.lang.ClassCastException: java.util.ArrayList cannot be cast to
org.eclipse.core.resources.IFile
at
org.teiid.designer.core.refactor.ResourceStatusList.<init>(ResourceStatusList.java:49)
at
org.teiid.designer.core.refactor.ResourceRefactorCommand.checkDependentResources(ResourceRefactorCommand.java:299)
at
org.teiid.designer.core.refactor.ResourceRefactorCommand.execute(ResourceRefactorCommand.java:218)
at org.teiid.designer.ui.actions.workers.DeleteWorker$1.execute(DeleteWorker.java:206)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira