]
Enrique Cardona updated FORGE-2707:
-----------------------------------
Priority: Minor (was: Major)
GUI: Cannot specify custom templates in scaffolding
---------------------------------------------------
Key: FORGE-2707
URL:
https://issues.jboss.org/browse/FORGE-2707
Project: Forge
Issue Type: Bug
Components: Facets, Java EE, Scaffold
Affects Versions: 3.4.0.Final
Environment: New installed Eclipse Neon.1 + Forge Tools Version:
2.0.101.v20160831-1138
Reporter: Enrique Cardona
Priority: Minor
It's not possible to specify custom templates in scaffolding process using GUI using
new control added in
https://issues.jboss.org/browse/FORGE-1471
java.lang.NullPointerException
at
org.jboss.forge.addon.scaffold.faces.ScaffoldableEntitySelectionWizard.validateTemplate(ScaffoldableEntitySelectionWizard.java:226)
at
org.jboss.forge.addon.scaffold.faces.ScaffoldableEntitySelectionWizard.validate(ScaffoldableEntitySelectionWizard.java:208)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.forge.addon.scaffold.faces.ScaffoldableEntitySelectionWizard_$$_javassist_37285c26-86b6-476a-871e-d5b98124e45b.validate(ScaffoldableEntitySelectionWizard_$$_javassist_37285c26-86b6-476a-871e-d5b98124e45b.java)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.validate(SingleCommandControllerImpl.java:186)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.isValid(SingleCommandControllerImpl.java:198)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.isValid(WizardCommandControllerImpl.java:228)
at
org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.assertValid(AbstractCommandController.java:61)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:134)
at
org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
at
org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_5220763a-ffa7-463f-bcd9-36b890046baf.execute(CommandController_$$_javassist_5220763a-ffa7-463f-bcd9-36b890046baf.java)
at
org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:113)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)