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

Option to copy from an XSD model of the same model class throws NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 8.0
    • 7.4
    • Modeling
    • None

    Description

      Though there were other metamodels that had problems in 6.x release, the only one left is copying an XSD model

      java.lang.NullPointerException
      at com.metamatrix.core.util.PluginUtilImpl.log(PluginUtilImpl.java:238)
      at com.metamatrix.modeler.internal.ui.wizards.StructuralCopyContributor.doFinish(StructuralCopyContributor.java:86)
      at com.metamatrix.modeler.internal.ui.wizards.NewModelWizard$3.run(NewModelWizard.java:341)

      Actual NPE is coming from:

      org.eclipse.xsd.impl.XSDAttributeUseImpl.analyze() line: 790

      and the rest of the stack is basically EMF based on giving the EMF CopyCommand a model to copy.

      Attachments

        Issue Links

          Activity

            People

              blafond Barry LaFond
              metapaul Paul Nittel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: