[JBoss JIRA] (TEIIDDES-3193) Importing from Salesforce through Teiid Connection Import doesn't work
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3193?page=com.atlassian.jira.plu... ]
Matus Makovy updated TEIIDDES-3193:
-----------------------------------
Description:
See attached video.
I have resource adapter for SF instance created in standalone.xml like this:
{code:xml}
430 <resource-adapter id="salesforce222">
431 <module slot="main" id="org.jboss.teiid.resource-adapter.salesforce"/>
432 <transaction-support>NoTransaction</transaction-support>
433 <connection-definitions>
434 <connection-definition class-name="org.teiid.resource.adapter.salesforce.SalesForceManagedConnectionFactory" jndi-name="java:/salesforce222" enabled="true" pool-name="salesforce222">
435 <config-property name="URL">
436 https://login.salesforce.com/services/Soap/u/22.0
437 </config-property>
438 <config-property name="password">
439 xxx
440 </config-property>
441 <config-property name="username">
442 xxx
443 </config-property>
444 </connection-definition>
445 </connection-definitions>
{code}
And when I try to import using this RS teiid designer is stuck on the same dialogue - see video.
I consider this a blocker since there is no workaround to import from TCI and it is a regression.
was:
See attached video.
I have resource adapter for SF instance created in standalone.xml like this:
{code:xml}
430 <resource-adapter id="salesforce222">
431 <module slot="main" id="org.jboss.teiid.resource-adapter.salesforce"/>
432 <transaction-support>NoTransaction</transaction-support>
433 <connection-definitions>
434 <connection-definition class-name="org.teiid.resource.adapter.salesforce.SalesForceManagedConnectionFactory" jndi-name="java:/salesforce222" enabled="true" pool-name="salesforce222">
435 <config-property name="URL">
436 https://login.salesforce.com/services/Soap/u/22.0
437 </config-property>
438 <config-property name="password">
439 metamatrix234OP8tVxlvE5PVx8jNKBPnI1lUw
440 </config-property>
441 <config-property name="username">
442 teiiddesigner50(a)gmail.com
443 </config-property>
444 </connection-definition>
445 </connection-definitions>
{code}
And when I try to import using this RS teiid designer is stuck on the same dialogue - see video.
I consider this a blocker since there is no workaround to import from TCI and it is a regression.
> Importing from Salesforce through Teiid Connection Import doesn't work
> ----------------------------------------------------------------------
>
> Key: TEIIDDES-3193
> URL: https://issues.jboss.org/browse/TEIIDDES-3193
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.1.3
> Reporter: Matus Makovy
> Priority: Blocker
> Attachments: Untitled.mov
>
>
> See attached video.
> I have resource adapter for SF instance created in standalone.xml like this:
> {code:xml}
> 430 <resource-adapter id="salesforce222">
> 431 <module slot="main" id="org.jboss.teiid.resource-adapter.salesforce"/>
> 432 <transaction-support>NoTransaction</transaction-support>
> 433 <connection-definitions>
> 434 <connection-definition class-name="org.teiid.resource.adapter.salesforce.SalesForceManagedConnectionFactory" jndi-name="java:/salesforce222" enabled="true" pool-name="salesforce222">
> 435 <config-property name="URL">
> 436 https://login.salesforce.com/services/Soap/u/22.0
> 437 </config-property>
> 438 <config-property name="password">
> 439 xxx
> 440 </config-property>
> 441 <config-property name="username">
> 442 xxx
> 443 </config-property>
> 444 </connection-definition>
> 445 </connection-definitions>
> {code}
> And when I try to import using this RS teiid designer is stuck on the same dialogue - see video.
> I consider this a blocker since there is no workaround to import from TCI and it is a regression.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-3162) ModuleNotFoundException occurs with dynamic vdb including UDF Jars
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3162?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3162:
-----------------------------------
Labels: release_notes (was: )
> ModuleNotFoundException occurs with dynamic vdb including UDF Jars
> ------------------------------------------------------------------
>
> Key: TEIIDDES-3162
> URL: https://issues.jboss.org/browse/TEIIDDES-3162
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 11.1.1
> Environment: DevstudioIS 11.1.0 CR1 (Teiid Desinger 11.1.1)
> Reporter: Hiroki Daicho
> Assignee: Barry LaFond
> Labels: release_notes
> Fix For: 11.1.2
>
> Attachments: reproducer_project.zip, v2_vdb.xml
>
>
> Teiid desinger 11.1.1 generate UDF jars with comma separated to dynamic vdb as follows.
> {code}
> <property name="lib" value="deployement.test.jar, deployement.test2.jar"/>
> {code}
> But ModuleNotFoundException occurs in teiid server when the dynamic vdb deployed.
> {code}
> ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."testvdb-vdb.xml".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."testvdb-vdb.xml".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment "testvdb-vdb.xml"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.5.9.Final-redhat-2.jar:7.5.9.Final-redhat-2]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-redhat-1]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_131]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_131]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131]
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: TEIID50088 Failed to load module deployment.test.jar, for UDF in VDB testvdb.1:org.jboss.modules.ModuleNotFoundException: deployment.test.jar,:main
> at org.teiid.jboss.VDBDependencyDeployer.deploy(VDBDependencyDeployer.java:85)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.9.Final-redhat-2.jar:7.5.9.Final-redhat-2]
> ... 5 more
> {code}
> Teiid expects space delimited list for the module names.
> "The lib property value may contain a space delimited list of module names if more than one dependency is needed."
> https://access.redhat.com/documentation/en-us/red_hat_jboss_data_virtuali...
> If changing vdb to use space delimited as follows, deployment was succeeded.
> {code}
> <property name="lib" value="deployement.test.jar deployement.test2.jar"/>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-3162) ModuleNotFoundException occurs with dynamic vdb including UDF Jars
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3162?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-3162.
----------------------------------
> ModuleNotFoundException occurs with dynamic vdb including UDF Jars
> ------------------------------------------------------------------
>
> Key: TEIIDDES-3162
> URL: https://issues.jboss.org/browse/TEIIDDES-3162
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 11.1.1
> Environment: DevstudioIS 11.1.0 CR1 (Teiid Desinger 11.1.1)
> Reporter: Hiroki Daicho
> Assignee: Barry LaFond
> Labels: release_notes
> Fix For: 11.1.2
>
> Attachments: reproducer_project.zip, v2_vdb.xml
>
>
> Teiid desinger 11.1.1 generate UDF jars with comma separated to dynamic vdb as follows.
> {code}
> <property name="lib" value="deployement.test.jar, deployement.test2.jar"/>
> {code}
> But ModuleNotFoundException occurs in teiid server when the dynamic vdb deployed.
> {code}
> ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."testvdb-vdb.xml".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."testvdb-vdb.xml".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment "testvdb-vdb.xml"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.5.9.Final-redhat-2.jar:7.5.9.Final-redhat-2]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-redhat-1]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_131]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_131]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131]
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: TEIID50088 Failed to load module deployment.test.jar, for UDF in VDB testvdb.1:org.jboss.modules.ModuleNotFoundException: deployment.test.jar,:main
> at org.teiid.jboss.VDBDependencyDeployer.deploy(VDBDependencyDeployer.java:85)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.9.Final-redhat-2.jar:7.5.9.Final-redhat-2]
> ... 5 more
> {code}
> Teiid expects space delimited list for the module names.
> "The lib property value may contain a space delimited list of module names if more than one dependency is needed."
> https://access.redhat.com/documentation/en-us/red_hat_jboss_data_virtuali...
> If changing vdb to use space delimited as follows, deployment was succeeded.
> {code}
> <property name="lib" value="deployement.test.jar deployement.test2.jar"/>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-3163) Translator override properties can not be updated after re-generating a dynamic vdb
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3163?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3163:
-----------------------------------
Labels: release_notes (was: )
> Translator override properties can not be updated after re-generating a dynamic vdb
> -----------------------------------------------------------------------------------
>
> Key: TEIIDDES-3163
> URL: https://issues.jboss.org/browse/TEIIDDES-3163
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 11.1.1
> Environment: Devstudio 11.1.0 CR1 (Teiid Desinger 11.1.1)
> Reporter: Hiroki Daicho
> Assignee: Barry LaFond
> Labels: release_notes
> Fix For: 11.1.2
>
> Attachments: reproducer_project.zip
>
>
> If dynamic vdb has already generated, Translator override properties can not be modified by regenerate dynamic vdb.
> 1. Add Translator override property to vdb (testvdb.vdb). e.g. prop1 -> 100
> 2. generate dynamic vdb (testvdb-vdb.xml).
> {code}
> <property name="prop1" value="100"/>
> {code}
> 3. Modify the propery in vdb (testvdb.vdb). e.g. prop1 -> 199
> 4. generate dynamic vdb (testvdb-vdb.xml).
> 5. the property is not updated to 199 in the dynamic vdb xml.
> {code}
> <property name="prop1" value="100"/>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-3163) Translator override properties can not be updated after re-generating a dynamic vdb
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3163?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-3163.
----------------------------------
> Translator override properties can not be updated after re-generating a dynamic vdb
> -----------------------------------------------------------------------------------
>
> Key: TEIIDDES-3163
> URL: https://issues.jboss.org/browse/TEIIDDES-3163
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 11.1.1
> Environment: Devstudio 11.1.0 CR1 (Teiid Desinger 11.1.1)
> Reporter: Hiroki Daicho
> Assignee: Barry LaFond
> Labels: release_notes
> Fix For: 11.1.2
>
> Attachments: reproducer_project.zip
>
>
> If dynamic vdb has already generated, Translator override properties can not be modified by regenerate dynamic vdb.
> 1. Add Translator override property to vdb (testvdb.vdb). e.g. prop1 -> 100
> 2. generate dynamic vdb (testvdb-vdb.xml).
> {code}
> <property name="prop1" value="100"/>
> {code}
> 3. Modify the propery in vdb (testvdb.vdb). e.g. prop1 -> 199
> 4. generate dynamic vdb (testvdb-vdb.xml).
> 5. the property is not updated to 199 in the dynamic vdb xml.
> {code}
> <property name="prop1" value="100"/>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-2782) Copy paste sql to the transformation editor is not parsable
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2782?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-2782:
-----------------------------------
Labels: release_notes (was: )
> Copy paste sql to the transformation editor is not parsable
> -----------------------------------------------------------
>
> Key: TEIIDDES-2782
> URL: https://issues.jboss.org/browse/TEIIDDES-2782
> Project: Teiid Designer
> Issue Type: Bug
> Components: Editors, Transformations
> Affects Versions: 10.0.1
> Environment: Windows 10 Pro N
> Windows 7 Enterprise
> Reporter: Matej Kralik
> Assignee: Ted Jones
> Priority: Critical
> Labels: release_notes
> Fix For: 11.1.3
>
> Attachments: XmlStagingProject.zip, endOfFile.mkv
>
>
> When I copy a sql query from any source (notepad, web browser ...) and paste it to the transformation editor show me that "The query is not parsable.Error in parsing of sql - null ."
> When I deleted all newlines from sql query or I wrote it myself to the editor, sql query was validated.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-3188) Generate model from DDL with UDF doesn't work
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3188?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3188:
-----------------------------------
Fix Version/s: 11.1.3
> Generate model from DDL with UDF doesn't work
> ---------------------------------------------
>
> Key: TEIIDDES-3188
> URL: https://issues.jboss.org/browse/TEIIDDES-3188
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 11.1.3
> Environment: Windows
> Fedora
> Reporter: Matej Kralik
> Priority: Blocker
> Fix For: 11.1.3
>
> Attachments: generate_from_ddl.png, generate_from_xml.png, viewUdfModel.ddl, viewUdfVDB-vdb.xml
>
>
> Generate models and VDB from dynamic VDB (XML file) which contains UDF function doesn't work. After click on generate button, "the problem occurred" windows appears (generate_from_xml.png) with
> {code:java}
> An exception occurred while performing a VDB operation
> * null
> {code}
> An exception stack trace is not available in the Error log.
> Also, generate view model from the DDL file which contains UDF function doesn't work. The last step in the wizard shows NullPointerException (generate_from_ddl.png) and in the log is this stack trace:
> {code:java}
> java.lang.Exception: java.lang.NullPointerException
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:54)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:116)
> at org.teiid.designer.ddl.importer.ui.DdlImportDifferencesPage$1.run(DdlImportDifferencesPage.java:232)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
> Caused by: java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:460)
> at org.teiid.designer.relational.model.RelationalProcedure.handleInfoChanged(RelationalProcedure.java:578)
> at org.teiid.designer.relational.model.RelationalProcedure.setJavaMethodName(RelationalProcedure.java:321)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processTeiidProcedureOptions(TeiidDdlImporter.java:1189)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processTeiidStandardOptions(TeiidDdlImporter.java:996)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processOptions(TeiidDdlImporter.java:975)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.createVirtualProcedure(TeiidDdlImporter.java:684)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.createObject(TeiidDdlImporter.java:894)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.importNode(TeiidDdlImporter.java:778)
> at org.teiid.designer.ddl.importer.DdlImporter.importTeiidDdl(DdlImporter.java:322)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:163)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:151)
> at org.teiid.designer.ddl.importer.DdlImporter$1.tryToDo(DdlImporter.java:132)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:41)
> ... 3 more
> {code}
> I have tried all these cases with TD 11.1.1 and they work.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-3188) Generate model from DDL with UDF doesn't work
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3188?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-3188.
----------------------------------
Resolution: Done
master: https://github.com/Teiid-Designer/teiid-designer/commit/06275a5b67cca0f0f...
> Generate model from DDL with UDF doesn't work
> ---------------------------------------------
>
> Key: TEIIDDES-3188
> URL: https://issues.jboss.org/browse/TEIIDDES-3188
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 11.1.3
> Environment: Windows
> Fedora
> Reporter: Matej Kralik
> Priority: Blocker
> Fix For: 11.1.3
>
> Attachments: generate_from_ddl.png, generate_from_xml.png, viewUdfModel.ddl, viewUdfVDB-vdb.xml
>
>
> Generate models and VDB from dynamic VDB (XML file) which contains UDF function doesn't work. After click on generate button, "the problem occurred" windows appears (generate_from_xml.png) with
> {code:java}
> An exception occurred while performing a VDB operation
> * null
> {code}
> An exception stack trace is not available in the Error log.
> Also, generate view model from the DDL file which contains UDF function doesn't work. The last step in the wizard shows NullPointerException (generate_from_ddl.png) and in the log is this stack trace:
> {code:java}
> java.lang.Exception: java.lang.NullPointerException
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:54)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:116)
> at org.teiid.designer.ddl.importer.ui.DdlImportDifferencesPage$1.run(DdlImportDifferencesPage.java:232)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
> Caused by: java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:460)
> at org.teiid.designer.relational.model.RelationalProcedure.handleInfoChanged(RelationalProcedure.java:578)
> at org.teiid.designer.relational.model.RelationalProcedure.setJavaMethodName(RelationalProcedure.java:321)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processTeiidProcedureOptions(TeiidDdlImporter.java:1189)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processTeiidStandardOptions(TeiidDdlImporter.java:996)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.processOptions(TeiidDdlImporter.java:975)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.createVirtualProcedure(TeiidDdlImporter.java:684)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.createObject(TeiidDdlImporter.java:894)
> at org.teiid.designer.ddl.importer.node.teiid.TeiidDdlImporter.importNode(TeiidDdlImporter.java:778)
> at org.teiid.designer.ddl.importer.DdlImporter.importTeiidDdl(DdlImporter.java:322)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:163)
> at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:151)
> at org.teiid.designer.ddl.importer.DdlImporter$1.tryToDo(DdlImporter.java:132)
> at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:41)
> ... 3 more
> {code}
> I have tried all these cases with TD 11.1.1 and they work.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-3189) NPE after set function category during creating UDF
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3189?page=com.atlassian.jira.plu... ]
Matej Kralik closed TEIIDDES-3189.
----------------------------------
Resolution: Done
master: https://github.com/Teiid-Designer/teiid-designer/commit/06275a5b67cca0f0f...
> NPE after set function category during creating UDF
> ---------------------------------------------------
>
> Key: TEIIDDES-3189
> URL: https://issues.jboss.org/browse/TEIIDDES-3189
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.1.3
> Reporter: Matej Kralik
> Priority: Blocker
> Fix For: 11.1.3
>
> Attachments: NPE_UDF.mkv, wizard.png
>
>
> In the "Create User Defined Function" wizard I fill in name of the _Function Category_ but the wizard still shows error: "User defined function category is undefined" (wizard.png) and during typing the name of the function category, the Unhandled event loop exceptions (NPE) are throwing in the error log. Stack trace:
> {code:java}
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:460)
> at org.teiid.designer.relational.model.RelationalProcedure.handleInfoChanged(RelationalProcedure.java:578)
> at org.teiid.designer.relational.model.RelationalProcedure.setFunctionCategory(RelationalProcedure.java:355)
> at org.teiid.designer.transformation.ui.editors.ViewProcedureEditorPanel$16.modifyText(ViewProcedureEditorPanel.java:680)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:180)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.teiid.designer.transformation.ui.actions.CreateViewProcedureAction.run(CreateViewProcedureAction.java:190)
> at org.teiid.designer.transformation.ui.actions.CreateViewProcedureAction.run(CreateViewProcedureAction.java:174)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
> at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
> {code}
> When I want to continue and I select JAR file from the system, the wizard doesn't fill in the UDF Jar Path. (Maybe this behavior is caused by NPE before) However, TD imports JAR to the workspace so I must set JAR again from the workspace. After that, the error from the top of the wizard is disappeared and I am able to finish the wizard. After that, empty error windows appears.
> I have uploaded the video with this behavior to the attachment too.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (TEIIDDES-3189) NPE after set function category during creating UDF
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3189?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3189:
-----------------------------------
Fix Version/s: 11.1.3
> NPE after set function category during creating UDF
> ---------------------------------------------------
>
> Key: TEIIDDES-3189
> URL: https://issues.jboss.org/browse/TEIIDDES-3189
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.1.3
> Reporter: Matej Kralik
> Priority: Blocker
> Fix For: 11.1.3
>
> Attachments: NPE_UDF.mkv, wizard.png
>
>
> In the "Create User Defined Function" wizard I fill in name of the _Function Category_ but the wizard still shows error: "User defined function category is undefined" (wizard.png) and during typing the name of the function category, the Unhandled event loop exceptions (NPE) are throwing in the error log. Stack trace:
> {code:java}
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:460)
> at org.teiid.designer.relational.model.RelationalProcedure.handleInfoChanged(RelationalProcedure.java:578)
> at org.teiid.designer.relational.model.RelationalProcedure.setFunctionCategory(RelationalProcedure.java:355)
> at org.teiid.designer.transformation.ui.editors.ViewProcedureEditorPanel$16.modifyText(ViewProcedureEditorPanel.java:680)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:180)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.teiid.designer.transformation.ui.actions.CreateViewProcedureAction.run(CreateViewProcedureAction.java:190)
> at org.teiid.designer.transformation.ui.actions.CreateViewProcedureAction.run(CreateViewProcedureAction.java:174)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
> at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
> {code}
> When I want to continue and I select JAR file from the system, the wizard doesn't fill in the UDF Jar Path. (Maybe this behavior is caused by NPE before) However, TD imports JAR to the workspace so I must set JAR again from the workspace. After that, the error from the top of the wizard is disappeared and I am able to finish the wizard. After that, empty error windows appears.
> I have uploaded the video with this behavior to the attachment too.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months