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

NPE after materialization wizard

    XMLWordPrintable

Details

      1. Import project from attachment
      2. right click the PRODUCTDATA_view table and chose Modeling -> Materialize
      3. set materialized model name to "PRODUCTDATA_view"
      4. click finish
      5. save all

    Description

      I wanted to create materialization view on the table (screenshot1). After materialization wizard (screenshot2), in the error log is NullPointerException and materialization model isn't created. (In the problems view is an error that "Missing model import to resource PRODUCTDATA_view.xmi")

      But when I select two table,the context menu is different(screenshot3) and the materialization wizard is different too (screenshot4). This wizard created materialization model correctly.

      Stack trace:

      java.lang.NullPointerException
      	at org.teiid.designer.transformation.materialization.MaterializedModelManager.execute(MaterializedModelManager.java:156)
      	at org.teiid.designer.transformation.ui.wizards.jdg.MaterializationWizard.execute(MaterializationWizard.java:239)
      	at org.teiid.designer.transformation.ui.wizards.jdg.MaterializationWizard.access$1(MaterializationWizard.java:233)
      	at org.teiid.designer.transformation.ui.wizards.jdg.MaterializationWizard$2.run(MaterializationWizard.java:205)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

      Attachments

        1. screenshot1.png
          312 kB
          Matej Kralik
        2. screenshot2.png
          288 kB
          Matej Kralik
        3. screenshot3.png
          304 kB
          Matej Kralik
        4. screenshot4.png
          285 kB
          Matej Kralik

        Activity

          People

            blafond Barry LaFond
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: