Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2070

NPE parsing Teiid DDL in Teiid Designer

    XMLWordPrintable

    Details

      Description

      While importing the attached file in Teiid Designer, received an NPE in CreateTableParser.

      Looks like there's still an issue with resolving table/column references during the parsing of Teiid DDL

      Caused by: java.lang.NullPointerException
      	at org.modeshape.sequencer.ddl.dialect.teiid.CreateTableParser.getColumnNode(CreateTableParser.java:117)
      	at org.modeshape.sequencer.ddl.dialect.teiid.CreateTableParser.parseReferenceList(CreateTableParser.java:330)
      	at org.modeshape.sequencer.ddl.dialect.teiid.CreateTableParser.parseTableBodyConstraint(CreateTableParser.java:453)
      	at org.modeshape.sequencer.ddl.dialect.teiid.CreateTableParser.parseTableBody(CreateTableParser.java:362)
      	at org.modeshape.sequencer.ddl.dialect.teiid.CreateTableParser.parse(CreateTableParser.java:195)
      	at org.modeshape.sequencer.ddl.dialect.teiid.TeiidDdlParser.parseNextStatement(TeiidDdlParser.java:150)
      	at org.modeshape.sequencer.ddl.StandardDdlParser.parse(StandardDdlParser.java:209)
      	at org.modeshape.sequencer.ddl.DdlParsers.parseUsing(DdlParsers.java:152)
      	at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:134)
      	at org.teiid.designer.ddl.importer.DdlImporter$1.tryToDo(DdlImporter.java:106)
      	at org.teiid.core.designer.util.OperationUtil.perform(OperationUtil.java:40)
      	at org.teiid.designer.ddl.importer.DdlImporter.importDdl(DdlImporter.java:90)
      	at org.teiid.designer.ddl.importer.ui.DdlImportDifferencesPage$1.run(DdlImportDifferencesPage.java:222)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  blafond Barry LaFond
                  Reporter:
                  blafond Barry LaFond
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: