[JBoss JIRA] (FORGE-1155) Migrate the shell implementation to the newest Aesh API (0.41+)
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1155?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-1155:
----------------------------------------
{quote}
<gastaldi> right, but I need to set the values to the UIInput objects before that
<gastaldi> should I do that in the Completer implementation for each option ?
<stalep> aesh does that for you
<stalep> atleast all values that are "finished"
<stalep> so if you have: "foo --bar one --" then the bar field will be populated
<stalep> eh, in that example aesh itself will try to populate the option name
<stalep> but if it was trying to complete a value it would call the specific option's complete class
<stalep> with the bar value populated
<gastaldi> how would it set the values in the UIInput objects inside my UICommand?
<gastaldi> org.jboss.forge.addon.shell.aesh.CommandLineUtil.populateUIInputs(CommandLine, Map<String, InputComponent<?, Object>>) does that
<stalep> there is a Converter interface that will be called
<vineetreynolds> bbl
<stalep> public interface CLConverter<T> {
<stalep> T convert(String input);
<stalep> }
<gastaldi> how does that work with multiple values ?
<stalep> if its a list object its called for each value
<stalep> the aesh adds it to the list
<stalep> or set
<stalep> etc
{quote}
> Migrate the shell implementation to the newest Aesh API (0.41+)
> ---------------------------------------------------------------
>
> Key: FORGE-1155
> URL: https://issues.jboss.org/browse/FORGE-1155
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.0.0.Alpha12
>
>
> The shell addon should be implemented on top of the newest Aesh API. Check AeshExample for a sample of how it should be handled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (FORGE-1154) faces setup nullpointer on a new project
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-1154?page=com.atlassian.jira.plugin... ]
Vineet Reynolds commented on FORGE-1154:
----------------------------------------
[~sharmapriyank], in addition to what George said, you may want to confirm if you're using a password protected Maven repository mirror in your settings.xml, instead of using a proxy. [A bug in accessing password protected repositories|https://issues.jboss.org/browse/FORGE-1134] was recently fixed and should be out in the next release.
> faces setup nullpointer on a new project
> ----------------------------------------
>
> Key: FORGE-1154
> URL: https://issues.jboss.org/browse/FORGE-1154
> Project: Forge
> Issue Type: Bug
> Components: Windows
> Affects Versions: 1.4.0.Final
> Environment: Windows 7 32 bit (Dell Lattitude)
> Reporter: Priyank Sharma
>
> [projectnew] workspace $ faces setup
> ? Facet [forge.maven.WebResourceFacet] requires packaging type(s) [war], but is
> currently [jar]. Update packaging? (Note: this could deactivate other plugins i
> n your project.) [Y/n] Y
> ***SUCCESS*** Installed [forge.maven.WebResourceFacet] successfully.
> Wrote d:\jboss-eap-6.1.0\workspace\src\main\webapp
> Wrote d:\jboss-eap-6.1.0\workspace\pom.xml
> ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack tr
> aces)
> java.lang.NullPointerException
> at java.lang.String.contains(String.java:2104)
> at org.apache.maven.model.building.DefaultModelBuilder.containsCoordinat
> es(DefaultModelBuilder.java:1047)
> at org.apache.maven.model.building.DefaultModelBuilder.importDependencyM
> anagement(DefaultModelBuilder.java:948)
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
> lBuilder.java:403)
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
> lBuilder.java:374)
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
> lBuilder.java:365)
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
> lBuilder.java:232)
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
> ilder.java:141)
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
> ilder.java:102)
> at org.jboss.forge.maven.facets.MavenCoreFacetImpl.getFullProjectBuildin
> gResult(MavenCoreFacetImpl.java:129)
> at org.jboss.forge.maven.facets.MavenDependencyFacet.getEffectiveDepende
> ncies(MavenDependencyFacet.java:192)
> at org.jboss.forge.maven.facets.MavenDependencyFacet.getEffectiveDepende
> ncy(MavenDependencyFacet.java:178)
> at org.jboss.forge.shell.project.DependencyInstallerImpl.install(Depende
> ncyInstallerImpl.java:65)
> at org.jboss.forge.shell.project.DependencyInstallerImpl.install(Depende
> ncyInstallerImpl.java:56)
> at org.jboss.forge.spec.javaee.BaseJavaEEFacet.install(BaseJavaEEFacet.j
> ava:53)
> at org.jboss.forge.spec.javaee.servlet.ServletFacetImpl.install(ServletF
> acetImpl.java:80)
> at org.jboss.forge.project.BaseProject.performInstallation(BaseProject.j
> ava:240)
> at org.jboss.forge.project.BaseProject.installFacet(BaseProject.java:166
> )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanIns
> tance.java:48)
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandle
> r.java:125)
> at org.jboss.weld.proxies.Project$-1946286523$Proxy$_$$_WeldClientProxy.
> installFacet(Project$-1946286523$Proxy$_$$_WeldClientProxy.java)
> at org.jboss.forge.shell.project.FacetInstallationHandler.performInstall
> ation(FacetInstallationHandler.java:105)
> at org.jboss.forge.shell.project.FacetInstallationHandler.installDepende
> ncies(FacetInstallationHandler.java:159)
> at org.jboss.forge.shell.project.FacetInstallationHandler.performInstall
> ation(FacetInstallationHandler.java:100)
> at org.jboss.forge.shell.project.FacetInstallationHandler.install(FacetI
> nstallationHandler.java:81)
> at org.jboss.forge.shell.project.FacetInstallationHandler.installRequest
> (FacetInstallationHandler.java:59)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflec
> tions.java:305)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureRefle
> ctionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation
> (SecureReflectionAccess.java:163)
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflect
> ions.java:299)
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldM
> ethodImpl.java:188)
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(For
> wardingWeldMethod.java:59)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpe
> cialValue(MethodInjectionPoint.java:198)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
> java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
> java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.jav
> a:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImp
> l.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
> :628)
> at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
> at org.jboss.forge.spec.javaee.jsf.FacesPlugin.setup(FacesPlugin.java:69
> )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.forge.shell.command.Execution.perform(Execution.java:160)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.jav
> a:109)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.jav
> a:47)
> at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:795
> )
> at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:818)
> at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:608)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanIns
> tance.java:48)
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandle
> r.java:125)
> at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(She
> llImpl$Proxy$_$$_WeldClientProxy.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflec
> tions.java:305)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureRefle
> ctionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation
> (SecureReflectionAccess.java:163)
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflect
> ions.java:299)
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldM
> ethodImpl.java:188)
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(For
> wardingWeldMethod.java:59)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpe
> cialValue(MethodInjectionPoint.java:198)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
> java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
> java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.jav
> a:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImp
> l.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
> :622)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
> :616)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)
> at java.lang.Thread.run(Thread.java:619)
> [javaoneducttape] workspace $
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (FORGE-1154) faces setup nullpointer on a new project
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1154?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-1154:
----------------------------------------
Hi [~sharmapriyank],
Are you behind a proxy? If so, could you check if the following procedures were followed? http://forge.jboss.org/docs/using/configure-proxy.html#content
Thanks.
> faces setup nullpointer on a new project
> ----------------------------------------
>
> Key: FORGE-1154
> URL: https://issues.jboss.org/browse/FORGE-1154
> Project: Forge
> Issue Type: Bug
> Components: Windows
> Affects Versions: 1.4.0.Final
> Environment: Windows 7 32 bit (Dell Lattitude)
> Reporter: Priyank Sharma
>
> [projectnew] workspace $ faces setup
> ? Facet [forge.maven.WebResourceFacet] requires packaging type(s) [war], but is
> currently [jar]. Update packaging? (Note: this could deactivate other plugins i
> n your project.) [Y/n] Y
> ***SUCCESS*** Installed [forge.maven.WebResourceFacet] successfully.
> Wrote d:\jboss-eap-6.1.0\workspace\src\main\webapp
> Wrote d:\jboss-eap-6.1.0\workspace\pom.xml
> ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack tr
> aces)
> java.lang.NullPointerException
> at java.lang.String.contains(String.java:2104)
> at org.apache.maven.model.building.DefaultModelBuilder.containsCoordinat
> es(DefaultModelBuilder.java:1047)
> at org.apache.maven.model.building.DefaultModelBuilder.importDependencyM
> anagement(DefaultModelBuilder.java:948)
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
> lBuilder.java:403)
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
> lBuilder.java:374)
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
> lBuilder.java:365)
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
> lBuilder.java:232)
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
> ilder.java:141)
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
> ilder.java:102)
> at org.jboss.forge.maven.facets.MavenCoreFacetImpl.getFullProjectBuildin
> gResult(MavenCoreFacetImpl.java:129)
> at org.jboss.forge.maven.facets.MavenDependencyFacet.getEffectiveDepende
> ncies(MavenDependencyFacet.java:192)
> at org.jboss.forge.maven.facets.MavenDependencyFacet.getEffectiveDepende
> ncy(MavenDependencyFacet.java:178)
> at org.jboss.forge.shell.project.DependencyInstallerImpl.install(Depende
> ncyInstallerImpl.java:65)
> at org.jboss.forge.shell.project.DependencyInstallerImpl.install(Depende
> ncyInstallerImpl.java:56)
> at org.jboss.forge.spec.javaee.BaseJavaEEFacet.install(BaseJavaEEFacet.j
> ava:53)
> at org.jboss.forge.spec.javaee.servlet.ServletFacetImpl.install(ServletF
> acetImpl.java:80)
> at org.jboss.forge.project.BaseProject.performInstallation(BaseProject.j
> ava:240)
> at org.jboss.forge.project.BaseProject.installFacet(BaseProject.java:166
> )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanIns
> tance.java:48)
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandle
> r.java:125)
> at org.jboss.weld.proxies.Project$-1946286523$Proxy$_$$_WeldClientProxy.
> installFacet(Project$-1946286523$Proxy$_$$_WeldClientProxy.java)
> at org.jboss.forge.shell.project.FacetInstallationHandler.performInstall
> ation(FacetInstallationHandler.java:105)
> at org.jboss.forge.shell.project.FacetInstallationHandler.installDepende
> ncies(FacetInstallationHandler.java:159)
> at org.jboss.forge.shell.project.FacetInstallationHandler.performInstall
> ation(FacetInstallationHandler.java:100)
> at org.jboss.forge.shell.project.FacetInstallationHandler.install(FacetI
> nstallationHandler.java:81)
> at org.jboss.forge.shell.project.FacetInstallationHandler.installRequest
> (FacetInstallationHandler.java:59)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflec
> tions.java:305)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureRefle
> ctionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation
> (SecureReflectionAccess.java:163)
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflect
> ions.java:299)
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldM
> ethodImpl.java:188)
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(For
> wardingWeldMethod.java:59)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpe
> cialValue(MethodInjectionPoint.java:198)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
> java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
> java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.jav
> a:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImp
> l.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
> :628)
> at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
> at org.jboss.forge.spec.javaee.jsf.FacesPlugin.setup(FacesPlugin.java:69
> )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.forge.shell.command.Execution.perform(Execution.java:160)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.jav
> a:109)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.jav
> a:47)
> at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:795
> )
> at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:818)
> at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:608)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanIns
> tance.java:48)
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandle
> r.java:125)
> at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(She
> llImpl$Proxy$_$$_WeldClientProxy.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflec
> tions.java:305)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureRefle
> ctionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation
> (SecureReflectionAccess.java:163)
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflect
> ions.java:299)
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldM
> ethodImpl.java:188)
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(For
> wardingWeldMethod.java:59)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpe
> cialValue(MethodInjectionPoint.java:198)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
> java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
> java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.jav
> a:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImp
> l.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
> :622)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
> :616)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)
> at java.lang.Thread.run(Thread.java:619)
> [javaoneducttape] workspace $
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (FORGE-1154) faces setup nullpointer on a new project
by Priyank Sharma (JIRA)
Priyank Sharma created FORGE-1154:
-------------------------------------
Summary: faces setup nullpointer on a new project
Key: FORGE-1154
URL: https://issues.jboss.org/browse/FORGE-1154
Project: Forge
Issue Type: Bug
Components: Windows
Affects Versions: 1.4.0.Final
Environment: Windows 7 32 bit (Dell Lattitude)
Reporter: Priyank Sharma
[projectnew] workspace $ faces setup
? Facet [forge.maven.WebResourceFacet] requires packaging type(s) [war], but is
currently [jar]. Update packaging? (Note: this could deactivate other plugins i
n your project.) [Y/n] Y
***SUCCESS*** Installed [forge.maven.WebResourceFacet] successfully.
Wrote d:\jboss-eap-6.1.0\workspace\src\main\webapp
Wrote d:\jboss-eap-6.1.0\workspace\pom.xml
***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack tr
aces)
java.lang.NullPointerException
at java.lang.String.contains(String.java:2104)
at org.apache.maven.model.building.DefaultModelBuilder.containsCoordinat
es(DefaultModelBuilder.java:1047)
at org.apache.maven.model.building.DefaultModelBuilder.importDependencyM
anagement(DefaultModelBuilder.java:948)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
lBuilder.java:403)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
lBuilder.java:374)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
lBuilder.java:365)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultMode
lBuilder.java:232)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:141)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBu
ilder.java:102)
at org.jboss.forge.maven.facets.MavenCoreFacetImpl.getFullProjectBuildin
gResult(MavenCoreFacetImpl.java:129)
at org.jboss.forge.maven.facets.MavenDependencyFacet.getEffectiveDepende
ncies(MavenDependencyFacet.java:192)
at org.jboss.forge.maven.facets.MavenDependencyFacet.getEffectiveDepende
ncy(MavenDependencyFacet.java:178)
at org.jboss.forge.shell.project.DependencyInstallerImpl.install(Depende
ncyInstallerImpl.java:65)
at org.jboss.forge.shell.project.DependencyInstallerImpl.install(Depende
ncyInstallerImpl.java:56)
at org.jboss.forge.spec.javaee.BaseJavaEEFacet.install(BaseJavaEEFacet.j
ava:53)
at org.jboss.forge.spec.javaee.servlet.ServletFacetImpl.install(ServletF
acetImpl.java:80)
at org.jboss.forge.project.BaseProject.performInstallation(BaseProject.j
ava:240)
at org.jboss.forge.project.BaseProject.installFacet(BaseProject.java:166
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanIns
tance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandle
r.java:125)
at org.jboss.weld.proxies.Project$-1946286523$Proxy$_$$_WeldClientProxy.
installFacet(Project$-1946286523$Proxy$_$$_WeldClientProxy.java)
at org.jboss.forge.shell.project.FacetInstallationHandler.performInstall
ation(FacetInstallationHandler.java:105)
at org.jboss.forge.shell.project.FacetInstallationHandler.installDepende
ncies(FacetInstallationHandler.java:159)
at org.jboss.forge.shell.project.FacetInstallationHandler.performInstall
ation(FacetInstallationHandler.java:100)
at org.jboss.forge.shell.project.FacetInstallationHandler.install(FacetI
nstallationHandler.java:81)
at org.jboss.forge.shell.project.FacetInstallationHandler.installRequest
(FacetInstallationHandler.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflec
tions.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureRefle
ctionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation
(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflect
ions.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldM
ethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(For
wardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpe
cialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.jav
a:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImp
l.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
:628)
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
at org.jboss.forge.spec.javaee.jsf.FacesPlugin.setup(FacesPlugin.java:69
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.shell.command.Execution.perform(Execution.java:160)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.jav
a:109)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.jav
a:47)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:795
)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:818)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:608)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanIns
tance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandle
r.java:125)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(She
llImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflec
tions.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureRefle
ctionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation
(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflect
ions.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldM
ethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(For
wardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpe
cialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.jav
a:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImp
l.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java
:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)
at java.lang.Thread.run(Thread.java:619)
[javaoneducttape] workspace $
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months