maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vish <vishals_gakh...@infosys.com>
Subject archetype:create fatal error
Date Fri, 12 Jan 2007 06:00:00 GMT

Hi,

I have been trying to run archetype:create commmand but it's failing.

C:\>mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:create] (aggregator-style)
[INFO]
-------------------------------------------------------------------------
---
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at
com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(Poli
cyRuntime.java:188)
        at
com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRunti
me.java:91)
        at
com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPol
icyRuntime.java:132)
        at
com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(M
iscPolicyRuntime.java:254)
        at
com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(Pol
icyRuntime.java:225)
        at
com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRu
ntime.java:127)
        at
com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(Misc
PolicyRuntime.java:142)
        at
org.apache.commons.collections.ExtendedProperties.<init>(ExtendedProp
erties.java:197)
        at
org.apache.velocity.runtime.RuntimeInstance.<init>(RuntimeInstance.ja
va:160)
        at
org.apache.velocity.app.VelocityEngine.<init>(VelocityEngine.java:71)

        at
org.codehaus.plexus.velocity.DefaultVelocityComponent.initialize(Defa
ultVelocityComponent.java:56)
        at
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhas
e.execute(InitializePhase.java:16)
        at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(Abstract
LifecycleHandler.java:101)
        at
org.codehaus.plexus.component.manager.AbstractComponentManager.startC
omponentLifecycle(AbstractComponentManager.java:105)
        at
org.codehaus.plexus.component.manager.AbstractComponentManager.create
ComponentInstance(AbstractComponentManager.java:95)
        at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManage
r.getComponent(ClassicSingletonComponentManager.java:92)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:331)
        at
org.codehaus.plexus.component.composition.FieldComponentComposer.assi
gnRequirementToField(FieldComponentComposer.java:129)
        at
org.codehaus.plexus.component.composition.FieldComponentComposer.asse
mbleComponent(FieldComponentComposer.java:73)
        at
org.codehaus.plexus.component.composition.DefaultComponentComposerMan
ager.assembleComponent(DefaultComponentComposerManager.java:68)
        at
org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPl
exusContainer.java:1486)
        at
org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPha
se.execute(CompositionPhase.java:29)
        at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(Abstract
LifecycleHandler.java:101)
        at
org.codehaus.plexus.component.manager.AbstractComponentManager.startC
omponentLifecycle(AbstractComponentManager.java:105)
        at
org.codehaus.plexus.component.manager.AbstractComponentManager.create
ComponentInstance(AbstractComponentManager.java:95)
        at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManage
r.getComponent(ClassicSingletonComponentManager.java:92)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:331)
        at
org.codehaus.plexus.component.composition.FieldComponentComposer.assi
gnRequirementToField(FieldComponentComposer.java:129)
        at
org.codehaus.plexus.component.composition.FieldComponentComposer.asse
mbleComponent(FieldComponentComposer.java:73)
        at
org.codehaus.plexus.component.composition.DefaultComponentComposerMan
ager.assembleComponent(DefaultComponentComposerManager.java:68)
        at
org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPl
exusContainer.java:1486)
        at
org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPha
se.execute(CompositionPhase.java:29)
        at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(Abstract
LifecycleHandler.java:101)
        at
org.codehaus.plexus.component.manager.AbstractComponentManager.startC
omponentLifecycle(AbstractComponentManager.java:105)
        at
org.codehaus.plexus.component.manager.AbstractComponentManager.create
ComponentInstance(AbstractComponentManager.java:95)
        at
org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
mponent(PerLookupComponentManager.java:48)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:331)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:440)
        at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:524)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:390)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:219)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Jan 12 11:25:02 GMT+05:30 2007
[INFO] Final Memory: 2M/6M
[INFO]
------------------------------------------------------------------------

C:\>
-- 
View this message in context: http://www.nabble.com/archetype%3Acreate-fatal-error-tf2963979s177.html#a8292746
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message