[JBoss JIRA] (TEIIDDES-2477) Nullpointer in WSConnectionInfoProvider.java when user is null
by Daan Creemers (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2477?page=com.atlassian.jira.plu... ]
Daan Creemers commented on TEIIDDES-2477:
-----------------------------------------
Are there any nightly or alpha/beta releases available at the moment?
> Nullpointer in WSConnectionInfoProvider.java when user is null
> --------------------------------------------------------------
>
> Key: TEIIDDES-2477
> URL: https://issues.jboss.org/browse/TEIIDDES-2477
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 8.6, 9.0
> Environment: Windows 7, JBoss Developer Studio 8.1.0, Teiid Designer 9.0.1.Final
> Reporter: Daan Creemers
> Assignee: Ted Jones
> Fix For: 9.1, 8.6.2 Beta1, 9.0.2 Beta1, 9.0.2, 8.6.2
>
>
> In the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.t...
> @line 101:
> if (null != user &! user.equals("")) { //$NON-NLS-1$
> connectionProps.setProperty(ICredentialsCommon.USERNAME_PROP_ID, user);
> }
> It is not correctly captured that user can be null. No short-circuit operator is used and therefore, the right-hand side of the expression is evaluated which gives a NullPointer if user is null.
> Line 101 contains ampersand exclamation mark without a space in between such that short-circuit is not working. ( if (null != user &! user.equals("")) { )
> This should be ( if (null != user && !user.equals("")) { )
> After importing a REST Web Service to create a Source and View model, previewing the data generates the following NullPointer.
> java.lang.NullPointerException
> at org.teiid.designer.datatools.profiles.ws.WSConnectionInfoProvider.getTeiidRelatedProperties(WSConnectionInfoProvider.java:101)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:127)
> at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
> at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-2480) LDAP importer fails silently when no location is explicitly entered for the new model
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2480?page=com.atlassian.jira.plu... ]
Johnathon Lee updated TEIIDDES-2480:
------------------------------------
Fix Version/s: 9.0.2
8.6.2
> LDAP importer fails silently when no location is explicitly entered for the new model
> -------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2480
> URL: https://issues.jboss.org/browse/TEIIDDES-2480
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 9.0
> Reporter: Marc Shirley
> Fix For: 9.0.2, 8.6.2
>
>
> LDAP import fails silently when no location is entered for the "Source Model Definition" section's "Location" field on the first page of the wizard. This occurs even when using the context menu to initiate from a specific project or child object level. The wizard functions as expected until you finish, at which point the model is never generated. No error dialog or failure notification is presented to the user. checking error log shows:
> java.lang.NullPointerException
> at org.teiid.designer.modelgenerator.ldap.RelationalModelBuilder.createNewModelResource(RelationalModelBuilder.java:65)
> at org.teiid.designer.modelgenerator.ldap.RelationalModelBuilder.modelEntries(RelationalModelBuilder.java:109)
> at org.teiid.designer.modelgenerator.ldap.ui.wizards.LdapImportWizardManager.createModel(LdapImportWizardManager.java:384)
> at org.teiid.designer.modelgenerator.ldap.ui.wizards.LdapImportWizard$1.run(LdapImportWizard.java:158)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-1636) Unable to create multiple source functions under one physical model in Teiid Designer
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1636?page=com.atlassian.jira.plu... ]
Johnathon Lee resolved TEIIDDES-1636.
-------------------------------------
Resolution: Done
> Unable to create multiple source functions under one physical model in Teiid Designer
> -------------------------------------------------------------------------------------
>
> Key: TEIIDDES-1636
> URL: https://issues.jboss.org/browse/TEIIDDES-1636
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 7.7
> Reporter: Debbie Steigner
> Assignee: Johnathon Lee
> Fix For: 7.7.3
>
> Attachments: CreatePushdownFunctionAction.java.patch
>
>
> Unable to create multiple source functions under one physical model in EDS Teiid Designer. I want to create multiple source functions say LTRIM, RTRIM, TRUNC etc under one physical model and noticed that once I create the first source function by using (right click on model name -> New Child -> Create Source Function) the "Create Source Function" menu item is no longer available to create others.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-1546) VDB Visibility and Data Roles checkboxes do not consistently work on Windows
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1546?page=com.atlassian.jira.plu... ]
Johnathon Lee closed TEIIDDES-1546.
-----------------------------------
Resolution: Out of Date
> VDB Visibility and Data Roles checkboxes do not consistently work on Windows
> ----------------------------------------------------------------------------
>
> Key: TEIIDDES-1546
> URL: https://issues.jboss.org/browse/TEIIDDES-1546
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Editors
> Affects Versions: 7.7
> Environment: Windows 7 64 bit
> JBDS 5.0
> Teiid Designer Plugin version 7.7.2.v20121025-2138-H6-GA-SOA
> Reporter: Debbie Steigner
>
> This occurs only on the Windows installation, Linux works fine.
> When editing the VDB to set Model Visibility, the checkboxes do not work consistently, sometimes you have to click several times, or click in one particular spot within the box, or select another model and then select the previous one.
> Data Roles selection is the same you have to click on the model several times before the clickbox for permissions (update, read, etc) become enabled/disabled.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-1009) Improve Designer "Metadata from Text files on file system" import option
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1009?page=com.atlassian.jira.plu... ]
Johnathon Lee closed TEIIDDES-1009.
-----------------------------------
Resolution: Out of Date
> Improve Designer "Metadata from Text files on file system" import option
> ------------------------------------------------------------------------
>
> Key: TEIIDDES-1009
> URL: https://issues.jboss.org/browse/TEIIDDES-1009
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Import/Export
> Affects Versions: 7.4
> Reporter: Debbie Steigner
> Assignee: Barry LaFond
> Labels: eds
> Fix For: Future
>
>
> Currently, this importer is very limited on the data that can be imported. i.e. on columns you can only import: Name, Datatype, Length and Description. All the Model, Table and Column properties should be available to import. Nullability, Cardinality, Precision, Comments, etc.
> Also, change name to "Metadata from Flat or Text File" to distinguish it from "Metadata from Teiid Metadata File"
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years
[JBoss JIRA] (TEIIDDES-646) Enterprise Standard enforcement
by Johnathon Lee (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-646?page=com.atlassian.jira.plug... ]
Johnathon Lee closed TEIIDDES-646.
----------------------------------
Resolution: Out of Date
> Enterprise Standard enforcement
> -------------------------------
>
> Key: TEIIDDES-646
> URL: https://issues.jboss.org/browse/TEIIDDES-646
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Modeling
> Reporter: Debbie Steigner
> Fix For: Future
>
>
> Customer is requesting a way to enforce an Enterprise Standard in the Designer.
> Example:
> Let's presume that we have an Enterprise standard that all account numbers should be modeled in a particular way:
> Name: account
> DataType: string
> Length: 30
> Padding: No padding
> etc.
> Can the Designer have a way to facilitate this during the modeling. Perhaps some sort of Enterprise standard that can be dragged and dropped that would name the field and set the type requirements.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years