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

NPE when trying to edit Data Role created during importing of dynamic VDB

XMLWordPrintable

      I got a NPE after importing attached VDB, generating TD VDB and trying to edit one existing data role.

      Stack trace:

      java.lang.NullPointerException
      	at org.teiid.designer.roles.ui.wizard.DataRoleWizard.<init>(DataRoleWizard.java:164)
      	at org.teiid.designer.vdb.ui.editor.panels.DataRolesPanel$1.selected(DataRolesPanel.java:175)
      	at org.teiid.designer.vdb.ui.editor.panels.DataRolesPanel$2.doubleClicked(DataRolesPanel.java:218)
      	at org.teiid.designer.vdb.ui.editor.panels.DataRolesPanel$2.doubleClicked(DataRolesPanel.java:1)
      	at org.teiid.designer.ui.common.table.TableAndToolBar$1.doubleClick(TableAndToolBar.java:79)
      	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:832)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:829)
      	at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1150)
      	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1263)
      	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252)
      	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)
      	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      

            blafond Barry LaFond
            mmakovy@redhat.com Matus Makovy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: