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

NPE opening VDB containing a UDF jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.1
    • 8.1
    • Editors, VDB & Execution
    • None

      Opening the VDB in the attached model project set throws an NPE. Appears that the editor is processing a VDB property change during creation of the UDF jar tab and the Other User Files tab has not be initialized yet.

      java.lang.NullPointerException
      	at org.teiid.designer.vdb.ui.editor.VdbEditor.vdbNotification(VdbEditor.java:1931)
      	at org.teiid.designer.vdb.ui.editor.VdbEditor$24$1.run(VdbEditor.java:1871)
      	at org.teiid.designer.ui.common.util.UiUtil.runInSwtThread(UiUtil.java:464)
      	at org.teiid.designer.vdb.ui.editor.VdbEditor$24.propertyChange(VdbEditor.java:1862)
      	at org.teiid.designer.vdb.Vdb.notifyChangeListeners(Vdb.java:680)
      	at org.teiid.designer.vdb.VdbEntry.setSynchronization(VdbEntry.java:283)
      	at org.teiid.designer.vdb.VdbEntry.findFileInWorkspace(VdbEntry.java:175)
      	at org.teiid.designer.vdb.ui.editor.VdbEditor$9.getImage(VdbEditor.java:635)
      	at org.teiid.designer.vdb.ui.editor.VdbEditor$9.getImage(VdbEditor.java:1)
      	at org.teiid.designer.ui.common.table.Table$2.getImage(Table.java:90)
      	at org.eclipse.jface.viewers.ColumnLabelProvider.update(ColumnLabelProvider.java:37)
      	at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
      	at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:399)
      	at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:485)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      	at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2167)
      	at org.eclipse.jface.viewers.AbstractTableViewer.createItem(AbstractTableViewer.java:277)
      	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:757)
      	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:649)
      	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:636)
      	at org.eclipse.jface.viewers.AbstractTableViewer$2.run(AbstractTableViewer.java:592)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
      	at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:590)
      	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:280)
      	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690)
      	at org.teiid.designer.ui.common.table.Table.setInput(Table.java:230)
      	at org.teiid.designer.ui.common.table.TableAndToolBar.setInput(TableAndToolBar.java:129)
      	at org.teiid.designer.vdb.ui.editor.VdbEditor.createUdfJarsControl(VdbEditor.java:871)
      	at org.teiid.designer.vdb.ui.editor.VdbEditor.createEditorTop(VdbEditor.java:1248)
      	at org.teiid.designer.vdb.ui.editor.VdbEditor.createPartControl(VdbEditor.java:1202))
      

              mdrillin1@redhat.com Mark Drilling (Inactive)
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: