[JBoss JIRA] (TEIIDDES-83) Refactor > Move then UNDO getting Unable to execute Command : SetCommand
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-83?page=com.atlassian.jira.plugi... ]
Barry LaFond updated TEIIDDES-83:
---------------------------------
Fix Version/s: 7.7.1
(was: 7.8)
> Refactor > Move then UNDO getting Unable to execute Command : SetCommand
> ------------------------------------------------------------------------
>
> Key: TEIIDDES-83
> URL: https://issues.jboss.org/browse/TEIIDDES-83
> Project: Teiid Designer
> Issue Type: Task
> Components: Modeling
> Affects Versions: 6.0.0
> Environment: Linux
> Reporter: Paul Nittel
> Assignee: Paul Richardson
> Fix For: 7.7.1
>
> Attachments: SetCommandError_MPS.zip, UglyError.txt
>
>
> I created a simple project with one source model and a view model. I'm doing Refactor > Move of the source model to ensure the view model remains viable. While doing this I'm getting hideous errors in the Message Log. Here's the top of the exception--the rest is attached, along with a Model Project Set.
> Error 2008-04-30 14:26:51.321 Unable to execute Command : SetCommand (label: Set) (description: Set the value to the feature of the owner) (isPrepared: true) (isExecutable: false) (domain: com.metamatrix.modeler.internal.core.container.ContainerEditingDomain@165d9bd) (overrideCommand: null) (owner: com.metamatrix.metamodels.transformation.impl.SqlTransformationMappingRootImpl@1e3e4c5(inputs: [com.metamatrix.metamodels.relational.impl.BaseTableImpl@30c68b (eProxyURI: file:/home/pnittel/mmx/553d080430/des/workspace/RefactorFolderFiles/F1/Parts_Supplier_Sybase_12_5.xmi#mmuuid/31e7e641-5e1e-10c9-a439-94c90911f2fb)], outputs: [com.metamatrix.metamodels.relational.impl.BaseTableImpl@19b8858 (name: SUPPLIER_PARTS, nameInSource: SUPPLIER_PARTS) (system: false, cardinality: 227, supportsUpdate: false, materialized: false)]) (outputReadOnly: false, topToBottom: false, commandStack: null)) (feature: org.eclipse.emf.ecore.impl.EReferenceImpl@cbffde (name: target) (ordered: true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true, volatile: false, transient: false, defaultValueLiteral: null, unsettable: false, derived: false) (containment: false, resolveProxies: true)) (value: [/RefactorFolderFiles/F1/F11/Parts_Supplier_Sybase_12_5.xmi]) (oldValue: com.metamatrix.metamodels.relational.impl.BaseTableImpl@19b8858 (name: SUPPLIER_PARTS, nameInSource: SUPPLIER_PARTS) (system: false, cardinality: 227, supportsUpdate: false, materialized: false))
> Modeler Core Exception: Status ERROR: com.metamatrix.core code=0 Unable to execute Command : SetCommand (label: Set) (description: Set the value to the feature of the owner) (isPrepared: true) (isExecutable: false) (domain: com.metamatrix.modeler.internal.core.container.ContainerEditingDomain@165d9bd) (overrideCommand: null) (owner: com.metamatrix.metamodels.transformation.impl.SqlTransformationMappingRootImpl@1e3e4c5(inputs: [com.metamatrix.metamodels.relational.impl.BaseTableImpl@30c68b (eProxyURI: file:/home/pnittel/mmx/553d080430/des/workspace/RefactorFolderFiles/F1/Parts_Supplier_Sybase_12_5.xmi#mmuuid/31e7e641-5e1e-10c9-a439-94c90911f2fb)], outputs: [com.metamatrix.metamodels.relational.impl.BaseTableImpl@19b8858 (name: SUPPLIER_PARTS, nameInSource: SUPPLIER_PARTS) (system: false, cardinality: 227, supportsUpdate: false, materialized: false)]) (outputReadOnly: false, topToBottom: false, commandStack: null)) (feature: org.eclipse.emf.ecore.impl.EReferenceImpl@cbffde (name: target) (ordered: true, unique: true, lowerBound: 0, upperBound: 1) (changeable: true, volatile: false, transient: false, defaultValueLiteral: null, unsettable: false, derived: false) (containment: false, resolveProxies: true)) (value: [/RefactorFolderFiles/F1/F11/Parts_Supplier_Sybase_12_5.xmi]) (oldValue: com.metamatrix.metamodels.relational.impl.BaseTableImpl@19b8858 (name: SUPPLIER_PARTS, nameInSource: SUPPLIER_PARTS) (system: false, cardinality: 227, supportsUpdate: false, materialized: false)) null
> at com.metamatrix.modeler.internal.core.ModelEditorImpl.executeCommandInTransaction(ModelEditorImpl.java:1699)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (TEIIDDES-633) Pasting a vlue into a model editor's table view (for example, column) gets NPE
by Paul Nittel (JIRA)
Pasting a vlue into a model editor's table view (for example, column) gets NPE
------------------------------------------------------------------------------
Key: TEIIDDES-633
URL: https://jira.jboss.org/browse/TEIIDDES-633
Project: Teiid Designer
Issue Type: Bug
Components: Editors
Affects Versions: 7.1
Environment: All
Reporter: Paul Nittel
Fix For: 7.1.1
Pasting the value 666 into the length of a column got this error: Cannot set value "666" for the length property of this Column
And this NPE:
Error 2010-09-24 10:55:36.516 Cannot set value "666" for the length property of this Column
java.lang.NullPointerException
at org.eclipse.emf.edit.provider.ItemProviderAdapter.getPropertyDescriptor(ItemProviderAdapter.java:258)
at com.metamatrix.modeler.internal.ui.properties.ModelObjectPropertySource.getPropertyValue(ModelObjectPropertySource.java:332)
at com.metamatrix.modeler.internal.ui.table.ModelRowElement.setValue(ModelRowElement.java:244)
at com.metamatrix.modeler.internal.ui.table.ModelTableEditor.pasteClipboardContents(ModelTableEditor.java:1400)
at com.metamatrix.modeler.internal.ui.actions.TableClipboardPasteAction.doRun(TableClipboardPasteAction.java:41)
at com.metamatrix.ui.actions.AbstractAction$1.run(AbstractAction.java:537)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.metamatrix.ui.actions.AbstractAction.run(AbstractAction.java:540)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1467)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1175)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1212)
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:706)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2837)
at org.eclipse.swt.widgets.Text.gtk_key_press_event(Text.java:1412)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1570)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4594)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4191)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:7603)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1185)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1860)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
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:368)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
--
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
14 years
[JBoss JIRA] (TEIIDDES-1306) Feature Request - auto generate primary key for model results
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1306?page=com.atlassian.jira.plu... ]
Steven Hawkins commented on TEIIDDES-1306:
------------------------------------------
The intent of this is a modeling issue. When using an importer, such as for a web service, they want an option to create pks on the resulting views if none exist (or possibly to identify the relevant existing columns as pks). This of course can be done after generation by adding a column that uses "for ordinality" or a generated UUID as a value.
Adding the texttable "for ordinality" is really a separate issue and can easily be worked around by projecting a windowed count() - although that is less performant.
> Feature Request - auto generate primary key for model results
> -------------------------------------------------------------
>
> Key: TEIIDDES-1306
> URL: https://issues.jboss.org/browse/TEIIDDES-1306
> Project: Teiid Designer
> Issue Type: Feature Request
> Reporter: Debbie Steigner
>
> When the results from a Metadata model search, return data that doesn't have a natural row identifier
> (e.g. results from a web search, where only text is returned) is there a way to auto generate a simple primary key identifier value, e.g. rowid in oracle
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] (TEIIDDES-370) Designer: Allow the user to edit the preView Query before it is submitted.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-370?page=com.atlassian.jira.plug... ]
Barry LaFond updated TEIIDDES-370:
----------------------------------
Fix Version/s: 8.0
Description:
The feature was brought up a couple times during demo of the preView Query work. Some users would like to intercept and edit the preview Query before it is submitted. This was out-of-scope for the original effort.
Maybe need more discussion here. Maybe need a dedicated "Preview Data View"... (TBD...)
was:The feature was brought up a couple times during demo of the preView Query work. Some users would like to intercept and edit the preview Query before it is submitted. This was out-of-scope for the original effort.
> Designer: Allow the user to edit the preView Query before it is submitted.
> --------------------------------------------------------------------------
>
> Key: TEIIDDES-370
> URL: https://issues.jboss.org/browse/TEIIDDES-370
> Project: Teiid Designer
> Issue Type: Feature Request
> Reporter: Mark Drilling
> Assignee: Barry LaFond
> Priority: Minor
> Fix For: 8.0
>
>
> The feature was brought up a couple times during demo of the preView Query work. Some users would like to intercept and edit the preview Query before it is submitted. This was out-of-scope for the original effort.
> Maybe need more discussion here. Maybe need a dedicated "Preview Data View"... (TBD...)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years