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

Issues with previewing data after switch from 7.7.x Teiid to 8.2.x Teiid default server

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 8.1
    • 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)

      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

      Attachments

        Activity

          People

            parichar@redhat.com Paul Richardson
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: