[
https://jira.jboss.org/browse/TEIIDDES-674?page=com.atlassian.jira.plugin...
]
Barry LaFond resolved TEIIDDES-674.
-----------------------------------
Resolution: Done
The "Edit" CP method call was NOT removing the CP listener if user canceled the
wizard.
Added logic to do the remove.
Execute VDB failed on NPE due to unregistered Connection Profile
listener
-------------------------------------------------------------------------
Key: TEIIDDES-674
URL:
https://jira.jboss.org/browse/TEIIDDES-674
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 7.1.1
Reporter: Barry LaFond
Assignee: Barry LaFond
Priority: Critical
Fix For: 7.1.1
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()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira