<br>
Looks like there is something amiss here. Possible bug in Forge. Mind taking a look?<br><br>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.<br>
<br>~Lincoln<br><br>Caused by: java.lang.reflect.InvocationTargetException<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:597)<br> at org.jboss.solder.unwraps.UnwrapsInvocationHandler.invoke(UnwrapsInvocationHandler.java:82)<br>
at org.javassist.tmp.java.lang.Object_$$_javassist_0.getScopedConfiguration(Object_$$_javassist_0.java)<br> at org.jboss.as.forge.ProjectServerConfigurator.hasConfiguration(ProjectServerConfigurator.java:78)<br> at org.jboss.as.forge.AS7ServerFacet.isInstalled(AS7ServerFacet.java:85)<br>
at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:167)<br> at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:222)<br> at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:200)<br>
at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:192)<br> at org.jboss.forge.project.services.ProjectFactory.findProject(ProjectFactory.java:251)<br> at org.jboss.forge.project.services.ProjectFactory.containsProject(ProjectFactory.java:230)<br>
at org.jboss.forge.shell.plugins.builtin.NewProjectPlugin.create(NewProjectPlugin.java:156)<br> ... 36 more<br>Caused by: java.lang.IllegalStateException: No delegates were found in configuration - cannot retrieve scope<br>
at org.jboss.forge.shell.env.ScopedConfigurationAdapter.getScopedConfiguration(ScopedConfigurationAdapter.java:76)<br> ... 51 more<br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>
"Simpler is better."<br>