[
https://issues.jboss.org/browse/TEIIDDES-1361?page=com.atlassian.jira.plu...
]
Paul Richardson updated TEIIDDES-1361:
--------------------------------------
Attachment: 0001-Fix-exception-when-creating-a-new-WSDL-based-model.patch
0001-Fix-exception-when-creating-a-new-WSDL-based-model.png
Patch fixes the exception and the wizard completes successfully. However,
'compile' problems are displayed in the Problem View (see screenshot)
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
Attachments: 0001-Fix-exception-when-creating-a-new-WSDL-based-model.patch,
0001-Fix-exception-when-creating-a-new-WSDL-based-model.png
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