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

NPE during Preview Data after turning Preview model off then back on

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1
    • 7.1
    • Data Preview
    • None

      1) Fresh workspace (Preview model = TRUE) and live Teiid server
      2) Import Relational Model
      3) Select Table and Preview Data
      4) Turn Preview mode = FALSE
      5) Turn Previfew Mode = TRUE
      6) Preview Data with same table
      7) Get NPE
      Root exception:
      java.lang.NullPointerException
      at org.teiid.designer.runtime.preview.PreviewManager.getStatus(PreviewManager.java:633)
      at org.teiid.designer.runtime.preview.PreviewManager.needsToBeDeployed(PreviewManager.java:913)
      at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1050)
      at com.metamatrix.modeler.internal.dqp.ui.actions.PreviewTableDataContextAction$1.run(PreviewTableDataContextAction.java:327)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

              dflorian@redhat.com Daniel Florian (Inactive)
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: