[JBoss JIRA] (TEIIDDES-1361) Exception when creating a Teiid Metadata Model
by Paul Richardson (JIRA)
Paul Richardson created TEIIDDES-1361:
-----------------------------------------
Summary: Exception when creating a Teiid Metadata Model
Key: TEIIDDES-1361
URL: https://issues.jboss.org/browse/TEIIDDES-1361
Project: Teiid Designer
Issue Type: Bug
Reporter: Paul Richardson
Assignee: Paul Richardson
Fix For: 7.7.1
Creation of a new Teiid Metadata Model only partially creates the model and throws the following exception
java.lang.IllegalArgumentException: Path must include project and resource name: /test
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2169)
at org.eclipse.core.internal.resources.Container.getFile(Container.java:208)
at com.metamatrix.modeler.webservice.WebServicePlugin.createModelGenerator(WebServicePlugin.java:190)
at com.metamatrix.modeler.internal.webservice.BasicWebServiceModelBuilder.doCreateModelGenerator(BasicWebServiceModelBuilder.java:1255)
at com.metamatrix.modeler.internal.webservice.BasicWebServiceModelBuilder.getModelGenerator(BasicWebServiceModelBuilder.java:1246)
at com.metamatrix.modeler.internal.webservice.ui.wizard.WebServiceModelContributor.dispose(WebServiceModelContributor.java:124)
at com.metamatrix.modeler.internal.webservice.ui.wizard.WebServiceModelContributor.doFinish(WebServiceModelContributor.java:183)
at com.metamatrix.modeler.internal.ui.wizards.NewModelWizard$3.run(NewModelWizard.java:361)
...
This is due to reuse of the WsdlSelectionPage in this wizard. This page overwrites the model builder's model path (set by the first wizard page to be test/tm.xmi) with the folder name of test. Since this wizard page is used in more than one situation, case must be taken to ensure that it is fixed to be used in all situations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira