Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2480

LDAP importer fails silently when no location is explicitly entered for the new model

    XMLWordPrintable

Details

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              parichar@redhat.com Paul Richardson
              rhn-support-mshirley Marc Shirley (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: