Previewing a new model created from "Save As" does not result in Preview VDB and
throws exception
-------------------------------------------------------------------------------------------------
Key: TEIIDDES-539
URL:
https://jira.jboss.org/browse/TEIIDDES-539
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview, VDB & Execution
Affects Versions: 7.1, 7.1.1
Reporter: Barry LaFond
Assignee: Dan Florian
Priority: Critical
Fix For: 7.1.1
1) Had created PartsO and PartsV tested fine.
2) Then created PartsOCopy via Save As action
3) Then tried to preview PartsOCopy.Parts and got exception due to PartsOCopy's PVDB
was not created nor deployed.
4) Opened that model in editor, moved table and "saved" resulted in PVDB being
created.
5) Executed again and worked.
java.lang.reflect.InvocationTargetException
at
com.metamatrix.modeler.internal.dqp.ui.actions.PreviewTableDataContextAction$1.run(PreviewTableDataContextAction.java:170)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.runtime.CoreException: An unexpected error occurred processing
the Preview VDB error markers.
at
org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:892)
at
com.metamatrix.modeler.internal.dqp.ui.actions.PreviewTableDataContextAction$1.run(PreviewTableDataContextAction.java:166)
... 1 more
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource
'/Barry_Test_A/1629efb8-7d2d-49bf-b793-11f61b5259c3_Barry_Test_A_PartsOCopy.vdb'
does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200)
at org.eclipse.core.internal.resources.Resource.findMarkers(Resource.java:1013)
at org.teiid.designer.vdb.Vdb.getProblems(Vdb.java:267)
at
org.teiid.designer.runtime.preview.PreviewManager.checkPreviewVdbForErrors(PreviewManager.java:243)
at
org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:889)
--
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