[JBoss JIRA] (TEIIDDES-1755) Deleting Model Project Set and setting "Delete from File System" results in NPE
by Paul Richardson (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1755?page=com.atlassian.jira.plu... ]
Paul Richardson reassigned TEIIDDES-1755:
-----------------------------------------
Assignee: Paul Richardson
> Deleting Model Project Set and setting "Delete from File System" results in NPE
> -------------------------------------------------------------------------------
>
> Key: TEIIDDES-1755
> URL: https://issues.jboss.org/browse/TEIIDDES-1755
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 8.2
> Reporter: Barry LaFond
> Assignee: Paul Richardson
> Fix For: 8.2
>
>
> * Select existing project and hit DELETE
> * Check the "Delete from file system" option and hit ENTER/OK
> * NPE results
> {code}
> java.lang.NullPointerException
> at org.teiid.designer.vdb.Vdb.<init>(Vdb.java:169)
> at org.teiid.designer.vdb.Vdb.<init>(Vdb.java:277)
> at org.teiid.designer.vdb.refactor.VdbResourceChange.performTask(VdbResourceChange.java:79)
> at org.teiid.designer.vdb.refactor.VdbResourceChange$1.run(VdbResourceChange.java:116)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
--
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
11 years
[JBoss JIRA] (TEIIDDES-1750) Deleting model object with closed editor results in ArrayIndexOutOfBounds exception
by Paul Richardson (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1750?page=com.atlassian.jira.plu... ]
Paul Richardson resolved TEIIDDES-1750.
---------------------------------------
Resolution: Done
> Deleting model object with closed editor results in ArrayIndexOutOfBounds exception
> -----------------------------------------------------------------------------------
>
> Key: TEIIDDES-1750
> URL: https://issues.jboss.org/browse/TEIIDDES-1750
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 8.1
> Reporter: Barry LaFond
> Assignee: Paul Richardson
> Priority: Critical
> Fix For: 8.2
>
>
> With no model editors open, select a Table in a model in the explorer and click DELETE key.
> Results in: ava.lang.ArrayIndexOutOfBoundsException: 0
> at org.teiid.designer.core.refactor.ObjectDeleteCommand.getModelResource(ObjectDeleteCommand.java:184)
> at org.teiid.designer.core.refactor.ObjectDeleteCommand.checkDependentResources(ObjectDeleteCommand.java:228)
> at org.teiid.designer.core.refactor.ObjectDeleteCommand.execute(ObjectDeleteCommand.java:350)
> 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:2345)
> at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> Looks like the action may be getting it's selection updated during the async process of opening the editor so the Model get's selected instead of the original table
--
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
11 years
[JBoss JIRA] (TEIIDDES-1739) Refactor DdlImporter into dialect-specific processors.
by Paul Richardson (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1739?page=com.atlassian.jira.plu... ]
Paul Richardson resolved TEIIDDES-1739.
---------------------------------------
Resolution: Done
> Refactor DdlImporter into dialect-specific processors.
> ------------------------------------------------------
>
> Key: TEIIDDES-1739
> URL: https://issues.jboss.org/browse/TEIIDDES-1739
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Import/Export
> Affects Versions: 8.2
> Reporter: Barry LaFond
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.2
>
>
> Current DdlImporter handles multiple DDL dialects, including the new Teiid-related modifications.
> Refactor this class to allow dialect-specific implementations of an Interface that can be handed an AstNode and either process the node, or not.
> Also need to allow for handing off Teiid-DDL Options to the Extension Assistants to inject the extension properties into the models. This is currently not handled correctly
--
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
11 years