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

NPE during Preview VDB setup when Model contains no valid metamodel descriptor

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.3
    • Fix Version/s: 7.4
    • Component/s: Modeling
    • Labels:
      None

      Description

      Had an old-old UML metamodel in workspace which had invalid metamodel type in it. Though Designer could handle it and show some model contents, the Preview Setup resulted in NPE.

      java.lang.NullPointerException
      at org.teiid.designer.runtime.preview.PreviewManager.isPreviewable(PreviewManager.java:218)
      at org.teiid.designer.runtime.preview.jobs.ModelProjectOpenedJob.process(ModelProjectOpenedJob.java:81)

      Need to check for NULL metamodelDescriptor and return FALSE

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: