[
https://issues.jboss.org/browse/TEIIDDES-1605?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-1605:
----------------------------------------
Pulled latest code today.
1) Previewed with 8.x TEiid just fine
2) Stopped AS 7.1 server
3) Started AS 5.1 server (TEiid 7.7.x)
4) Set Default Server to AS 5.1 instance
5) Tried to preview, but got the <import-vdb> parsing error because previous PROJECT
PREVIEW VDB was still deployed
6) Deleted the PROJECT PVDB and re-executed Preview Data and it deployed correct project
PVDB and was successful returning data
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