George Gastaldi created FORGE-1891:
--------------------------------------
Summary: NPE while running Generate Entities from Tables command
Key: FORGE-1891
URL:
https://issues.jboss.org/browse/FORGE-1891
Project: Forge
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Database Tools
Affects Versions: 2.6.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.7.0.Final
{code}
java.lang.NullPointerException
at
org.jboss.forge.addon.database.tools.connections.ConnectionProfileDetailsPage.getDriverClassNames(ConnectionProfileDetailsPage.java:131)
at
org.jboss.forge.addon.database.tools.connections.ConnectionProfileDetailsPage.access$000(ConnectionProfileDetailsPage.java:26)
at
org.jboss.forge.addon.database.tools.connections.ConnectionProfileDetailsPage$3.call(ConnectionProfileDetailsPage.java:107)
at
org.jboss.forge.addon.database.tools.connections.ConnectionProfileDetailsPage$3.call(ConnectionProfileDetailsPage.java:103)
at org.jboss.forge.furnace.util.Callables.call(Callables.java:43)
at
org.jboss.forge.addon.ui.impl.input.AbstractUISelectInputComponent.getValueChoices(AbstractUISelectInputComponent.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
at
org.jboss.forge.addon.facets.AbstractFaceted_$$_javassist_c397fd95-78ea-4fc3-9375-f96bed735ed4.getValueChoices(AbstractFaceted_$$_javassist_c397fd95-78ea-4fc3-9375-f96bed735ed4.java)
at
org.jboss.forge.addon.database.tools.connections.ConnectionProfileDetailsPage$4.call(ConnectionProfileDetailsPage.java:116)
at
org.jboss.forge.addon.database.tools.connections.ConnectionProfileDetailsPage$4.call(ConnectionProfileDetailsPage.java:111)
at org.jboss.forge.furnace.util.Callables.call(Callables.java:43)
at org.jboss.forge.addon.ui.impl.input.UISelectOneImpl.getValue(UISelectOneImpl.java:62)
at org.jboss.forge.addon.ui.util.InputComponents.getValueFor(InputComponents.java:69)
at org.jboss.forge.addon.ui.util.InputComponents.hasValue(InputComponents.java:253)
at
org.jboss.forge.addon.ui.util.InputComponents.validateRequired(InputComponents.java:282)
at
org.jboss.forge.addon.ui.impl.input.AbstractInputComponent.validate(AbstractInputComponent.java:196)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
at
org.jboss.forge.addon.facets.AbstractFaceted_$$_javassist_c397fd95-78ea-4fc3-9375-f96bed735ed4.validate(AbstractFaceted_$$_javassist_c397fd95-78ea-4fc3-9375-f96bed735ed4.java)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.validate(SingleCommandControllerImpl.java:152)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.isValid(SingleCommandControllerImpl.java:162)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.isValid(WizardCommandControllerImpl.java:220)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.canMoveToNextStep(WizardCommandControllerImpl.java:279)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.refreshFlow(WizardCommandControllerImpl.java:96)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.canExecute(WizardCommandControllerImpl.java:299)
at
org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.canExecute(NoUIWizardControllerDecorator.java:219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:116)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:89)
at
org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_33bd6e08-7892-46b4-81e4-6353c02cb316.canExecute(CommandController_$$_javassist_33bd6e08-7892-46b4-81e4-6353c02cb316.java)
at
org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard.canFinish(ForgeWizard.java:60)
at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1377)
at org.eclipse.jface.wizard.WizardDialog.update(WizardDialog.java:1365)
at org.eclipse.jface.wizard.WizardDialog.showStartingPage(WizardDialog.java:1318)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:624)
at org.eclipse.jface.window.Window.create(Window.java:435)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
at org.eclipse.jface.window.Window.open(Window.java:797)
at
org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:158)
at
org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog$1$1.handleElementSelected(UICommandListDialog.java:172)
at
org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.handleSelection(QuickAccessContents.java:326)
at
org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.access$0(QuickAccessContents.java:316)
at
org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents$6.mouseUp(QuickAccessContents.java:465)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4487)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)