Matej Kralik created TEIIDDES-3185:
--------------------------------------
Summary: NPE after create JDG7 model without JDG7 (infinispan-hotrod) MXD
Key: TEIIDDES-3185
URL:
https://issues.jboss.org/browse/TEIIDDES-3185
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 11.1.1
Reporter: Matej Kralik
Attachments: screenshot.png
When I have a server which doesn't have the translator for JDG7, I am not able to
generate JDG7 models because MXD for JDG7 (infinispan-hotrod) is not in the Model
Extension Registry in the Teiid Designer. When I fill in all information in the
materialization wizard and click finish (screenshot), in the error log is:
{code:java}
java.lang.NullPointerException
at
org.teiid.designer.transformation.materialization.MaterializedModelManager.setInfinispanConnectionProperties(MaterializedModelManager.java:643)
at
org.teiid.designer.transformation.materialization.MaterializedModelManager.execute(MaterializedModelManager.java:180)
at
org.teiid.designer.transformation.ui.wizards.jdg.MaterializationWizard.execute(MaterializationWizard.java:199)
at
org.teiid.designer.transformation.ui.wizards.jdg.MaterializationWizard.access$1(MaterializationWizard.java:193)
at
org.teiid.designer.transformation.ui.wizards.jdg.MaterializationWizard$2.run(MaterializationWizard.java:165)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
{code}
Also, I suppose to add some error or warning to the Materialized wizard that "MXD is
not in the Teiid Designer because the server doesn't contain JDG7 translator or the
server have never been running and MXD cannot be imported". Also, I mentioned this
behavior and error dialog in the second part of my description here
[
TEIIDDES-3174|https://issues.jboss.org/browse/TEIIDDES-3174]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)