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

SalesForce importer throws NPE if there are not profiles defined.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.1
    • 7.1.1
    • Import/Export
    • None
    • Workaround Exists
    • Hide

      Opento the Database Dev perspective.
      Create a SalesForce connection in the Data Source Explorer.
      Return to the Teiid perspective and Import using the profile you created.

      Show
      Opento the Database Dev perspective. Create a SalesForce connection in the Data Source Explorer. Return to the Teiid perspective and Import using the profile you created.

    Description

      Select the SalesForce importer
      Click Next <<after waiting a minute or two>>
      Click Cancel
      Try again, but now I get an unhandled event loop exception
      Click Next and I get the Salesforce Credentials page with nothing in it and the Back and Cancel buttons enabled.

      !ENTRY org.eclipse.ui 4 0 2010-12-08 14:36:51.115

      !MESSAGE Unhandled event loop exception

      !STACK 0

      java.lang.NullPointerException

      at com.metamatrix.modeler.modelgenerator.salesforce.ui.wizards.CredentialsPage.handleProfileSelection(CredentialsPage.java:223)

      at com.metamatrix.modeler.modelgenerator.salesforce.ui.wizards.CredentialsPage.createControl(CredentialsPage.java:214)

      at com.metamatrix.ui.internal.wizard.AbstractWizard.createPageControls(AbstractWizard.java:152)

      at com.metamatrix.ui.internal.wizard.AbstractWizard.createPageControls(AbstractWizard.java:137)

      at com.metamatrix.modeler.modelgenerator.salesforce.ui.wizards.SalesforceToRelationalImportWizard.createPageControls(SalesforceToRelationalImportWizard.java:72)

      at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:734)

      at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1162)

      at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1221)

      at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1218)

      at org.eclipse.jface.wizard.WizardDialog$6.run(WizardDialog.java:1207)

      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

      at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1205)

      at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:894)

      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:426)

      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)

      Attachments

        Activity

          People

            rhn-engineering-jdoyle John Doyle
            rhn-engineering-jdoyle John Doyle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: