Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-595

ModelAnnotations Are Created When Models Are Deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 8.0
    • 7.1
    • Modeling
    • None

    Description

      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

      Attachments

        Activity

          People

            blafond Barry LaFond
            dflorian@redhat.com Daniel Florian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: