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

NPE after click on Create POJO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 11.1.1
    • 11.1.1
    • None
    • None
      1. Click right on any table in view model
      2. Choose Create POJO (Modeling -> Create POJO)
    • Hide

      Clear materialization (Modeling -> Clear materialization) and set up materialization again (Modeling -> Materialize ). On the last page of 'Generate Materialized JDG Module' wizard click on generate POJO.

      Show
      Clear materialization (Modeling -> Clear materialization) and set up materialization again (Modeling -> Materialize ). On the last page of 'Generate Materialized JDG Module' wizard click on generate POJO.

      NPE when I want to create POJO for view table.

      java.lang.NullPointerException
      	at org.teiid.designer.transformation.ui.wizards.jdg.MaterializationWizardPage_2.createControl(MaterializationWizardPage_2.java:131)
      	at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:153)
      	at org.teiid.designer.ui.common.wizard.AbstractWizard.createPageControls(AbstractWizard.java:138)
      	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:688)
      	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:580)
      	at org.eclipse.jface.window.Window.create(Window.java:426)
      	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
      	at org.eclipse.jface.window.Window.open(Window.java:783)
      	at org.teiid.designer.transformation.ui.actions.CreatePojoAction.run(CreatePojoAction.java:102)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      	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:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	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:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      

              blafond Barry LaFond
              mkralik@redhat.com Matej Kralik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: