[JBoss JIRA] (TEIIDDES-1644) Eclipse Juno SR2 throws exceptions for option "Generate File Translator Procedures"
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1644?page=com.atlassian.jira.plu... ]
Ted Jones updated TEIIDDES-1644:
--------------------------------
Fix Version/s: 8.1
Assignee: Ted Jones
> Eclipse Juno SR2 throws exceptions for option "Generate File Translator Procedures"
> -----------------------------------------------------------------------------------
>
> Key: TEIIDDES-1644
> URL: https://issues.jboss.org/browse/TEIIDDES-1644
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 8.0, 8.1
> Environment: - Fedora 17,
> - eclipse juno, SR2
> - abridged jboss tools 4.0 from http://download.jboss.org/jbosstools/updates/development/juno
> - teiid designer 8.1.alpha2
> Reporter: Lucie Fabrikova
> Assignee: Ted Jones
> Fix For: 8.1
>
>
> Alert appears while creating new Teiid Metadata Model (Relational source model), option Generate File Translator Procedures: when I leave all default options and click Finish, model is created, however an alert appears:
> Error creating XML documents
> Failed to execute runnable (java.lang.NoSuchMethodError: org.eclipse.ui.internal.PopupMenuExtender.<init>(Ljava/lang/String;Lorg/eclipse/jface/action/MenuManager;Lorg/eclipse/jface/viewers/ISelectionProvider;Lorg/eclipse/ui/IWorkbenchPart;)V)
> and next:
> Error creating XML documents
> Could not create new module due to Exception: java.lang.NullPointerException
> Eclipse console:
> Exception in thread "org.teiid.designer.ui.common.viewsupport.UiBusyIndicator runnable parent thread" org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoSuchMethodError: org.eclipse.ui.internal.PopupMenuExtender.<init>(Ljava/lang/String;Lorg/eclipse/jface/action/MenuManager;Lorg/eclipse/jface/viewers/ISelectionProvider;Lorg/eclipse/ui/IWorkbenchPart;)V)
> at org.eclipse.swt.SWT.error(SWT.java:4361)
> at org.eclipse.swt.SWT.error(SWT.java:4276)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:196)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4299)
> at org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2.run(UiBusyIndicator.java:202)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NoSuchMethodError: org.eclipse.ui.internal.PopupMenuExtender.<init>(Ljava/lang/String;Lorg/eclipse/jface/action/MenuManager;Lorg/eclipse/jface/viewers/ISelectionProvider;Lorg/eclipse/ui/IWorkbenchPart;)V
--
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
12 years, 12 months
[JBoss JIRA] (TEIIDDES-1660) DDL Importer should correct Primary Key referencing a nullable column
by Mark Drilling (JIRA)
Mark Drilling created TEIIDDES-1660:
---------------------------------------
Summary: DDL Importer should correct Primary Key referencing a nullable column
Key: TEIIDDES-1660
URL: https://issues.jboss.org/browse/TEIIDDES-1660
Project: Teiid Designer
Issue Type: Enhancement
Components: Import/Export
Affects Versions: 8.1
Reporter: Mark Drilling
Assignee: Mark Drilling
Fix For: 8.2
If the DDL does not specify the nullability of a column, but the column is used as a primary key, the DDL Importer should go ahead and specify that the column is not nullable. If not this results in an error with the generated model.
--
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
12 years, 12 months
[JBoss JIRA] (TEIIDDES-1658) NPE Viewing Transformation
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1658?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-1658:
----------------------------------------
Both the following SQL statements prevent the NPE.... but we should handle "projected symbols == NULL"
{code}
CREATE VIRTUAL PROCEDURE
BEGIN
;
END
{code}
{code}
CREATE VIRTUAL PROCEDURE
BEGIN
<enter sql here>;
END
{code}
> NPE Viewing Transformation
> --------------------------
>
> Key: TEIIDDES-1658
> URL: https://issues.jboss.org/browse/TEIIDDES-1658
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Transformations
> Affects Versions: 8.1
> Reporter: Ted Jones
>
> Viewing/Editing a transformation for a web service model generated from WSDL without automatically generating the XML Document model results in the following NPE:
> java.lang.NullPointerException
> at java.util.AbstractCollection.addAll(AbstractCollection.java:303)
> at org.teiid.designer.query.sql.lang.util.CommandHelper.getProjectedSymbols(CommandHelper.java:33)
> at org.teiid.designer.transformation.util.TransformationSqlHelper.getProjectedSymbolNames(TransformationSqlHelper.java:1253)
> at org.teiid.designer.transformation.util.TransformationMappingHelper.compareQueryTargetAndSQLOutput(TransformationMappingHelper.java:201)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setMessageDisplayForValidSQL(TransformationObjectEditorPage.java:2956)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorMessage(TransformationObjectEditorPage.java:1436)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:1022)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.edit(TransformationObjectEditorPage.java:839)
> at org.teiid.designer.webservice.ui.editor.OperationObjectEditorPage.edit(OperationObjectEditorPage.java:410)
> at org.teiid.designer.ui.editors.ModelObjectEditorPanel.activateModelObjectEditor(ModelObjectEditorPanel.java:152)
> at org.teiid.designer.ui.editors.MultiPageModelEditor.editModelObject(MultiPageModelEditor.java:391)
> at org.teiid.designer.webservice.ui.editor.OperationEditorPage.openObjectEditor(OperationEditorPage.java:360)
> at org.teiid.designer.webservice.ui.editor.OperationEditorPage.updateUi(OperationEditorPage.java:465)
> at org.teiid.designer.webservice.ui.editor.OperationEditorPage$1.widgetSelected(OperationEditorPage.java:137)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)
> at org.teiid.designer.ui.editors.MultiPageModelEditor.selectPage(MultiPageModelEditor.java:876)
> at org.teiid.designer.ui.editors.ModelEditorManager$3.run(ModelEditorManager.java:181)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 23 more
--
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
12 years, 12 months
[JBoss JIRA] (TEIIDDES-1658) NPE Viewing Transformation
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1658?page=com.atlassian.jira.plu... ]
Ted Jones commented on TEIIDDES-1658:
-------------------------------------
Seems to be related to the transformation being empty. Changing:
CREATE VIRTUAL PROCEDURE
BEGIN
END
to:
CREATE VIRTUAL PROCEDURE
BEGIN
SELECT 1;
END
gets rid of the error.
> NPE Viewing Transformation
> --------------------------
>
> Key: TEIIDDES-1658
> URL: https://issues.jboss.org/browse/TEIIDDES-1658
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Transformations
> Affects Versions: 8.1
> Reporter: Ted Jones
>
> Viewing/Editing a transformation for a web service model generated from WSDL without automatically generating the XML Document model results in the following NPE:
> java.lang.NullPointerException
> at java.util.AbstractCollection.addAll(AbstractCollection.java:303)
> at org.teiid.designer.query.sql.lang.util.CommandHelper.getProjectedSymbols(CommandHelper.java:33)
> at org.teiid.designer.transformation.util.TransformationSqlHelper.getProjectedSymbolNames(TransformationSqlHelper.java:1253)
> at org.teiid.designer.transformation.util.TransformationMappingHelper.compareQueryTargetAndSQLOutput(TransformationMappingHelper.java:201)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setMessageDisplayForValidSQL(TransformationObjectEditorPage.java:2956)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorMessage(TransformationObjectEditorPage.java:1436)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:1022)
> at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.edit(TransformationObjectEditorPage.java:839)
> at org.teiid.designer.webservice.ui.editor.OperationObjectEditorPage.edit(OperationObjectEditorPage.java:410)
> at org.teiid.designer.ui.editors.ModelObjectEditorPanel.activateModelObjectEditor(ModelObjectEditorPanel.java:152)
> at org.teiid.designer.ui.editors.MultiPageModelEditor.editModelObject(MultiPageModelEditor.java:391)
> at org.teiid.designer.webservice.ui.editor.OperationEditorPage.openObjectEditor(OperationEditorPage.java:360)
> at org.teiid.designer.webservice.ui.editor.OperationEditorPage.updateUi(OperationEditorPage.java:465)
> at org.teiid.designer.webservice.ui.editor.OperationEditorPage$1.widgetSelected(OperationEditorPage.java:137)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)
> at org.teiid.designer.ui.editors.MultiPageModelEditor.selectPage(MultiPageModelEditor.java:876)
> at org.teiid.designer.ui.editors.ModelEditorManager$3.run(ModelEditorManager.java:181)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> ... 23 more
--
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
12 years, 12 months
[JBoss JIRA] (TEIIDDES-1658) NPE Viewing Transformation
by Ted Jones (JIRA)
Ted Jones created TEIIDDES-1658:
-----------------------------------
Summary: NPE Viewing Transformation
Key: TEIIDDES-1658
URL: https://issues.jboss.org/browse/TEIIDDES-1658
Project: Teiid Designer
Issue Type: Feature Request
Components: Transformations
Affects Versions: 8.1
Reporter: Ted Jones
Viewing/Editing a transformation for a web service model generated from WSDL without automatically generating the XML Document model results in the following NPE:
java.lang.NullPointerException
at java.util.AbstractCollection.addAll(AbstractCollection.java:303)
at org.teiid.designer.query.sql.lang.util.CommandHelper.getProjectedSymbols(CommandHelper.java:33)
at org.teiid.designer.transformation.util.TransformationSqlHelper.getProjectedSymbolNames(TransformationSqlHelper.java:1253)
at org.teiid.designer.transformation.util.TransformationMappingHelper.compareQueryTargetAndSQLOutput(TransformationMappingHelper.java:201)
at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setMessageDisplayForValidSQL(TransformationObjectEditorPage.java:2956)
at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorMessage(TransformationObjectEditorPage.java:1436)
at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.setEditorContent(TransformationObjectEditorPage.java:1022)
at org.teiid.designer.transformation.ui.editors.TransformationObjectEditorPage.edit(TransformationObjectEditorPage.java:839)
at org.teiid.designer.webservice.ui.editor.OperationObjectEditorPage.edit(OperationObjectEditorPage.java:410)
at org.teiid.designer.ui.editors.ModelObjectEditorPanel.activateModelObjectEditor(ModelObjectEditorPanel.java:152)
at org.teiid.designer.ui.editors.MultiPageModelEditor.editModelObject(MultiPageModelEditor.java:391)
at org.teiid.designer.webservice.ui.editor.OperationEditorPage.openObjectEditor(OperationEditorPage.java:360)
at org.teiid.designer.webservice.ui.editor.OperationEditorPage.updateUi(OperationEditorPage.java:465)
at org.teiid.designer.webservice.ui.editor.OperationEditorPage$1.widgetSelected(OperationEditorPage.java:137)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)
at org.teiid.designer.ui.editors.MultiPageModelEditor.selectPage(MultiPageModelEditor.java:876)
at org.teiid.designer.ui.editors.ModelEditorManager$3.run(ModelEditorManager.java:181)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
... 23 more
--
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
12 years, 12 months
[JBoss JIRA] (TEIIDDES-1657) Update and publish E2E Yahoo UDF Test Script as wiki document
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-1657:
--------------------------------------
Summary: Update and publish E2E Yahoo UDF Test Script as wiki document
Key: TEIIDDES-1657
URL: https://issues.jboss.org/browse/TEIIDDES-1657
Project: Teiid Designer
Issue Type: Sub-task
Components: Documentation
Reporter: Barry LaFond
Attachments: TestUDF.jar, translator-yahoo-7.1.0.jar
The E2E Yahoo UDF Test Script involves helping users understand and work with a custom translator as well as a User Defined Function.
Develop a Wiki article that walks a user through the setup, modeling and testing of this use-case.
Attached is the custom translator jar and the custom UDF jar.
--
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
12 years, 12 months