[
https://jira.jboss.org/browse/TEIIDDES-664?page=com.atlassian.jira.plugin...
]
Barry LaFond commented on TEIIDDES-664:
---------------------------------------
Not sure what the cause is, but the NewModelWizard is trying to roll back from the error
and ending up with an NPE
java.lang.ClassCastException:
com.metamatrix.modeler.internal.core.workspace.ModelResourceImpl cannot be cast to
org.eclipse.core.resources.IResource
at
com.metamatrix.modeler.internal.ui.actions.DeleteResourceAction.resourcesRemoved(DeleteResourceAction.java:667)
at
com.metamatrix.modeler.internal.ui.actions.DeleteResourceAction.doRun(DeleteResourceAction.java:390)
at com.metamatrix.ui.actions.AbstractAction$1.run(AbstractAction.java:537)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.metamatrix.ui.actions.AbstractAction.run(AbstractAction.java:540)
at
com.metamatrix.modeler.internal.ui.wizards.NewModelWizard.finish(NewModelWizard.java:200)
Creating XML doc model from XSD gets ugly error (big red X) instead
of reasonable message
-----------------------------------------------------------------------------------------
Key: TEIIDDES-664
URL:
https://jira.jboss.org/browse/TEIIDDES-664
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 7.1.1
Reporter: Paul Nittel
Fix For: 7.1.1
Attachments: BigRedX.png, PartsXmlSchemaProject.zip, Screenshot-Confirm Multiple
Resource Delete .png
Using the attached Model Project Set, when I create a document model using the PartOrder
root element, the result is a dialog consisting of a Big Red X (see attached screenshot).
There is no accompanying exception or error message.
When the dialog is dismissed, another dialog appears, asking if I'm sure I want to
delete 0 resources (this screenshot is also attached). I have no idea what is causing
this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira