[JBoss JIRA] Created: (TEIIDDES-595) ModelAnnotations Are Created When Models Are Deleted
by Dan Florian (JIRA)
ModelAnnotations Are Created When Models Are Deleted
----------------------------------------------------
Key: TEIIDDES-595
URL: https://jira.jboss.org/browse/TEIIDDES-595
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 7.1
Reporter: Dan Florian
Just selected a model in the Model Explorer and deleted it. I noticed that the ModelAnnotationImpl constructor was being called when the model was being deleted. This doesn't seem right but doesn't seem to affect anything. Here is the stack trace:
Daemon Thread [Thread-0] (Suspended (breakpoint at line 389 in ModelAnnotationImpl))
ModelAnnotationImpl.<init>() line: 389
CoreFactoryImpl.createModelAnnotation() line: 127
CoreFactoryImpl.create(EClass) line: 53
MtkXmiHelper(XMLHelperImpl).createObject(EFactory, EClassifier) line: 891
MtkXmiHandler.createObjectFromFactory(EFactory, String) line: 161
MtkXmiHandler.createTopObject(String, String) line: 192
MtkXmiHandler(XMLHandler).processElement(String, String, String) line: 1019
MtkXmiHandler(XMIHandler).processElement(String, String, String) line: 87
MtkXmiHandler(XMLHandler).startElement(String, String, String) line: 1001
MtkXmiHandler.startElement(String, String, String) line: 769
MtkXmiHandler(XMLHandler).startElement(String, String, String, Attributes) line: 712
MtkXmiHandler(XMIHandler).startElement(String, String, String, Attributes) line: 169
SAXParserImpl$JAXPSAXParser(AbstractSAXParser).startElement(QName, XMLAttributes, Augmentations) line: 501
XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanStartElement() line: 1363
XMLDocumentScannerImpl$ContentDriver(XMLDocumentFragmentScannerImpl$FragmentContentDriver).next() line: 2755
XMLDocumentScannerImpl.next() line: 648
XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanDocument(boolean) line: 511
XIncludeAwareParserConfiguration(XML11Configuration).parse(boolean) line: 808
XIncludeAwareParserConfiguration(XML11Configuration).parse(XMLInputSource) line: 737
SAXParserImpl$JAXPSAXParser(XMLParser).parse(XMLInputSource) line: 119
SAXParserImpl$JAXPSAXParser(AbstractSAXParser).parse(InputSource) line: 1205
SAXParserImpl$JAXPSAXParser.parse(InputSource) line: 522
SAXParserImpl(SAXParser).parse(InputSource, DefaultHandler) line: 395
MtkXmiResourceLoader(XMLLoadImpl).load(XMLResource, InputStream, Map<?,?>) line: 181
MtkXmiResourceImpl.doLoad(InputStream, Map) line: 282
MtkXmiResourceImpl(ResourceImpl).load(InputStream, Map<?,?>) line: 1494
MtkXmiResourceImpl(ResourceImpl).load(Map<?,?>) line: 1282
MtkXmiResourceImpl.load(Map) line: 222
ModelBufferImpl.open(IProgressMonitor) line: 236
ModelResourceImpl.openBuffer(IProgressMonitor) line: 434
ModelResourceImpl(OpenableImpl).getBuffer() line: 381
ModelResourceImpl.refreshIndexType() line: 247
ModelWorkspaceManager$NotificationProcessor.refreshResourceIndexType(Object) line: 1162
ModelWorkspaceManager$NotificationProcessor.checkResourceForIndexing(Notification) line: 1137
ModelWorkspaceManager$NotificationProcessor.notifyChanged(Notification) line: 1151
ChangeNotifier.fireNotifyChanged(Notification) line: 51
UnitOfWorkImpl.commit() line: 251
ModelerCore.commitTxn() line: 356
DeleteResourceAction.closeResources(List) line: 324
DeleteResourceAction.doRun() line: 381
AbstractAction$1.run() line: 537
BusyIndicator.showWhile(Display, Runnable) line: 70
DeleteResourceAction(AbstractAction).run() line: 540
DeleteResourceAction(Action).runWithEvent(Event) line: 498
--
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
12 years, 4 months