Marc Shirley created TEIIDDES-2480:
--------------------------------------
Summary: 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
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)