Looks like there is something amiss here. Possible bug in Forge. Mind taking a look?
This happens when running "new-project --named blah" while the AS7 plugin is installed. I'm guessing that the AS7 plugin is trying to reference a scoped configuration object in the Facet isInstalled() method, which may or may not work at this stage, which may or may not be something we need to fix in forge.
~Lincoln
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.solder.unwraps.UnwrapsInvocationHandler.invoke(UnwrapsInvocationHandler.java:82)
at org.javassist.tmp.java.lang.Object_$$_javassist_0.getScopedConfiguration(Object_$$_javassist_0.java)
at org.jboss.as.forge.ProjectServerConfigurator.hasConfiguration(ProjectServerConfigurator.java:78)
at org.jboss.as.forge.AS7ServerFacet.isInstalled(AS7ServerFacet.java:85)
at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:167)
at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:222)
at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:200)
at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:192)
at org.jboss.forge.project.services.ProjectFactory.findProject(ProjectFactory.java:251)
at org.jboss.forge.project.services.ProjectFactory.containsProject(ProjectFactory.java:230)
at org.jboss.forge.shell.plugins.builtin.NewProjectPlugin.create(NewProjectPlugin.java:156)
... 36 more
Caused by: java.lang.IllegalStateException: No delegates were found in configuration - cannot retrieve scope
at org.jboss.forge.shell.env.ScopedConfigurationAdapter.getScopedConfiguration(ScopedConfigurationAdapter.java:76)
... 51 more
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."