Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-539

Previewing a new model created from "Save As" does not result in Preview VDB and throws exception

    XMLWordPrintable

    Details

      Description

      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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                elvisisking Dan Florian
                Reporter:
                blafond Barry LaFond
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: