Details
-
Feature Request
-
Resolution: Done
-
Major
-
8.1
-
None
Description
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)
- java.lang.NullPointerException
The method failing is:
private String getFullDeployedVdbName(ITeiidVdb deployedVdb) {
String fullVdbName = deployedVdb.getPropertyValue("deployment-name");;
if (!fullVdbName.endsWith(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