[
https://jira.jboss.org/browse/TEIIDDES-700?page=com.atlassian.jira.plugin...
]
Barry LaFond resolved TEIIDDES-700.
-----------------------------------
Assignee: Barry LaFond
Resolution: Done
The "Index" relational object was not intended to act like a virtual Table or
View and was not being filtered out of some Diagram code.
Added an instanceof check in the TransformationDiagramType.canOpenContext() method to
prevent the exception.
An index on a view table can be created, but opening its
transformation diagram gets an exception
-------------------------------------------------------------------------------------------------
Key: TEIIDDES-700
URL:
https://jira.jboss.org/browse/TEIIDDES-700
Project: Teiid Designer
Issue Type: Bug
Components: Editors
Affects Versions: 7.1.1
Reporter: Paul Nittel
Assignee: Barry LaFond
Fix For: 7.1.1
At this time there should be no transformation diagram for an index on a view relational
model.
Error 2010-11-04 12:36:37.652 Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
java.lang.IllegalArgumentException:
TransformationHelper.getTransformationMappingRoot:null or invalid target.
at
com.metamatrix.modeler.internal.transformation.util.TransformationHelper.getTransformationMappingRoot(TransformationHelper.java:2574)
at
com.metamatrix.modeler.internal.transformation.util.TransformationHelper.getTransformationMappingRoot(TransformationHelper.java:2622)
at
com.metamatrix.modeler.transformation.ui.diagram.TransformationDiagramType.canOpenContext(TransformationDiagramType.java:147)
at
com.metamatrix.modeler.diagram.ui.DiagramTypeManager.canOpenContext(DiagramTypeManager.java:190)
at
com.metamatrix.modeler.diagram.ui.editor.DiagramEditor.canOpenContext(DiagramEditor.java:265)
at
com.metamatrix.modeler.internal.ui.editors.ModelEditor.openModelObject(ModelEditor.java:972)
at
com.metamatrix.modeler.internal.ui.editors.ModelEditor.openModelObject(ModelEditor.java:947)
at
com.metamatrix.modeler.ui.editors.ModelEditorManager$5.run(ModelEditorManager.java:239)
at
com.metamatrix.ui.internal.viewsupport.UiBusyIndicator.showWhile(UiBusyIndicator.java:80)
at
com.metamatrix.modeler.ui.editors.ModelEditorManager.open(ModelEditorManager.java:234)
at
com.metamatrix.modeler.internal.ui.explorer.ModelExplorerResourceNavigator$5.doubleClick(ModelExplorerResourceNavigator.java:637)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:824)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:822)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1421)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1225)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
--
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