NPE after materialization wizard
--------------------------------
Key: TEIIDDES-2914
URL:
https://issues.jboss.org/browse/TEIIDDES-2914
Project: Teiid Designer
Issue Type: Bug
Components: Dialogs
Affects Versions: 10.0.1
Environment: Fedora 24
Reporter: Matej Kralik
Assignee: Barry LaFond
Priority: Blocker
Labels: release_notes, verified_jbdsis-9.0.3
Fix For: 10.0.2
Attachments: Project.zip, screenshot1.png, screenshot2.png, screenshot3.png,
screenshot4.png
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:
{code:java}
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)
{code}