[
https://issues.jboss.org/browse/FORGE-1154?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-1154.
----------------------------------
Resolution: Cannot Reproduce Bug
Not reproducible. Please reopen if the problem persists
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