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. screenshot4.png
          screenshot4.png
          285 kB
        2. screenshot3.png
          screenshot3.png
          304 kB
        3. screenshot2.png
          screenshot2.png
          288 kB
        4. screenshot1.png
          screenshot1.png
          312 kB
        5. Project.zip
          40 kB

        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: