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

NPE In JdbcManagerImpl Starting With Clean Workspace And Running JDBC Importer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0
    • 7.8
    • Import/Export
    • None

      1. start Eclipse with a new workspace
      2. open Designer perspective
      3. create a model project
      4. Import... -> Teiid Designer -> JDBC
      5. Click Next and get this error

      java.lang.NullPointerException
      at org.teiid.designer.jdbc.JdbcManagerImpl.getJdbcSources(JdbcManagerImpl.java:322)

      Turns out JdbcManagerImpl is being called by a different thread:

      JdbcManagerImpl.shutdown() line: 668
      JdbcManagerImpl.reload(IProgressMonitor) line: 596
      JdbcManagerImpl$ProfileListener.profileAdded(IConnectionProfile) line: 696
      InternalProfileManager.fireProfileAdded(IConnectionProfile) line: 1207
      InternalProfileManager.addProfile(IConnectionProfile, boolean) line: 783
      InternalProfileManager.addProfile(IConnectionProfile) line: 737
      InternalProfileManager.createProfile(String, String, String, Properties, String, boolean) line: 633
      ProfileManager.createProfile(String, String, String, Properties, String, boolean) line: 214
      InternalProfileManager.getProfileInstance(String, String, Properties, List) line: 1588
      InternalProfileManager.enableLocalDatabase(IConfigurationElement[], String, String, String, String, String) line: 1426
      InternalProfileManager.loadLocalRegisteredDatabases() line: 1363
      InternalProfileManager.loadProfiles() line: 1070
      InternalProfileManager.getProfiles(boolean) line: 150
      InternalProfileManager.getProfilesByCategory(String, boolean) line: 200
      ProfileManager.getProfilesByCategory(String) line: 88
      JdbcManagerImpl.getJdbcSources() line: 318
      JdbcSourceSelectionPage.createControl(Composite) line: 209

              dflorian@redhat.com Daniel Florian (Inactive)
              dflorian@redhat.com Daniel Florian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: