-
Bug
-
Resolution: Done
-
Major
-
7.8
-
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