[
https://issues.jboss.org/browse/TEIIDDES-323?page=com.atlassian.jira.plug...
]
Barry LaFond updated TEIIDDES-323:
----------------------------------
Summary: Option to copy from an XSD model of the same model class throws NPE
(was: Option to copy from a model of the same model class has several defects)
Fix Version/s: 8.0
(was: 7.5)
Description:
Though there were other metamodels that had problems in 6.x release, the only one left is
copying an XSD model
java.lang.NullPointerException
at com.metamatrix.core.util.PluginUtilImpl.log(PluginUtilImpl.java:238)
at
com.metamatrix.modeler.internal.ui.wizards.StructuralCopyContributor.doFinish(StructuralCopyContributor.java:86)
at
com.metamatrix.modeler.internal.ui.wizards.NewModelWizard$3.run(NewModelWizard.java:341)
Actual NPE is coming from:
org.eclipse.xsd.impl.XSDAttributeUseImpl.analyze() line: 790
and the rest of the stack is basically EMF based on giving the EMF CopyCommand a model to
copy.
was:
If you choose to create a copy of a model of one of these model classes, the copy will be
incorrect.
View Models - Found problems validating the transformation
XSD - Premature EOF (exception in Message Log)
Web Service - input is specified with an unknown group context
I found this using the Books Project. I'm attaching a model project set created after
I made the copies.
Relational source models work, though :-)
Option to copy from an XSD model of the same model class throws NPE
-------------------------------------------------------------------
Key: TEIIDDES-323
URL:
https://issues.jboss.org/browse/TEIIDDES-323
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 7.4
Environment: fedora 10
Reporter: Paul Nittel
Assignee: Barry LaFond
Fix For: 8.0
Attachments: JBEDSP-979_MPS.zip
Though there were other metamodels that had problems in 6.x release, the only one left is
copying an XSD model
java.lang.NullPointerException
at com.metamatrix.core.util.PluginUtilImpl.log(PluginUtilImpl.java:238)
at
com.metamatrix.modeler.internal.ui.wizards.StructuralCopyContributor.doFinish(StructuralCopyContributor.java:86)
at
com.metamatrix.modeler.internal.ui.wizards.NewModelWizard$3.run(NewModelWizard.java:341)
Actual NPE is coming from:
org.eclipse.xsd.impl.XSDAttributeUseImpl.analyze() line: 790
and the rest of the stack is basically EMF based on giving the EMF CopyCommand a model to
copy.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira