[
https://issues.jboss.org/browse/TEIIDDES-1605?page=com.atlassian.jira.plu...
]
Paul Richardson resolved TEIIDDES-1605.
---------------------------------------
Resolution: Done
Issues with previewing data after switch from 7.7.x Teiid to 8.2.x
Teiid default server
---------------------------------------------------------------------------------------
Key: TEIIDDES-1605
URL:
https://issues.jboss.org/browse/TEIIDDES-1605
Project: Teiid Designer
Issue Type: Feature Request
Components: Data Preview, VDB & Execution
Affects Versions: 8.1
Reporter: Barry LaFond
Assignee: Paul Richardson
Fix For: 8.1
After switch from 8.2.x Teiid server to 7.7.x Teiid server, closing the project and
deleting the Preview VDBs from the local files system (local eclipse workspace).....
* Opened Project
* Tried to Preview a table and got an NPE:
** java.lang.NullPointerException
at
org.teiid.designer.runtime.preview.PreviewManager.getFullDeployedVdbName(PreviewManager.java:642)
at
org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1373)
at
org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
The method failing is:
private String getFullDeployedVdbName(ITeiidVdb deployedVdb) {
String fullVdbName = deployedVdb.getPropertyValue("deployment-name");;
if (!fullVdbName.endsWith(Vdb.FILE_EXTENSION)) {
fullVdbName = fullVdbName + Vdb.FILE_EXTENSION;
}
return fullVdbName;
}
ITeiidVdb is a new SPI interface.
So was the "deployment-name" property available with Teiid 7.7.x runtime?
Also can't Undeploy VDB on 7.7.2 server
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira