Details
-
Bug
-
Resolution: Done
-
Critical
-
7.1.1
-
None
Description
Testing Amazon Trek, tried to execute VDB and got following:
java.lang.NullPointerException
at com.metamatrix.modeler.internal.jdbc.ui.wizards.JdbcImportWizard.sqlConnectionChanged(JdbcImportWizard.java:828)
at com.metamatrix.modeler.internal.jdbc.ui.wizards.JdbcImportWizard$3.stateChanged(JdbcImportWizard.java:599)
at com.metamatrix.modeler.internal.jdbc.ui.wizards.JdbcSourceSelectionPage.fireStateChanged(JdbcSourceSelectionPage.java:466)
at com.metamatrix.modeler.internal.jdbc.ui.wizards.JdbcSourceSelectionPage$CPListener.profileAdded(JdbcSourceSelectionPage.java:477)
at org.eclipse.datatools.connectivity.internal.InternalProfileManager.fireProfileAdded(InternalProfileManager.java:1202)
at org.eclipse.datatools.connectivity.internal.InternalProfileManager.addProfile(InternalProfileManager.java:781)
at org.eclipse.datatools.connectivity.internal.InternalProfileManager.addProfile(InternalProfileManager.java:735)
at org.eclipse.datatools.connectivity.internal.InternalProfileManager.createProfile(InternalProfileManager.java:631)
at org.eclipse.datatools.connectivity.internal.InternalProfileManager.createProfile(InternalProfileManager.java:481)
at org.eclipse.datatools.connectivity.ProfileManager.createProfile(ProfileManager.java:179)
at org.teiid.datatools.connectivity.ConnectivityUtil.createVDBTeiidProfile(ConnectivityUtil.java:131)
at org.teiid.designer.runtime.ui.ExecuteVDBAction.processForDTP(ExecuteVDBAction.java:179)
at org.teiid.designer.runtime.ui.ExecuteVDBAction.executeVdb(ExecuteVDBAction.java:163)
at org.teiid.designer.runtime.ui.ExecuteVDBAction.run(ExecuteVDBAction.java:123)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
Since the JDBC Importer shouldn't have anything to do with Execute VDB, it appears the JdbcSourceSelectionPage is wiring itself as a listener to the ProfileManager and NOT unregistering on dispose()