[ 
https://jira.codehaus.org/browse/MRRESOURCES-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated MRRESOURCES-54:
-------------------------------------

    Description: 
I tried a parallel build but ran into this.  All three (identical) errors are 
from pom projects.


{noformat}[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-remote-resources-plugin:1.2:process (default) on 
project assemblies: Error rendering velocity resource. NullPointerException -> 
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-remote-resources-plugin:1.2:process (default) on 
project assemblies: Error rendering velocity resource.
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
       at 
org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
       at 
org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:680)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error rendering 
velocity resource.
       at 
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(ProcessRemoteResourcesMojo.java:1212)
       at 
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(ProcessRemoteResourcesMojo.java:519)
       at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
       ... 13 more
Caused by: java.lang.NullPointerException
       at 
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:831)
       at 
org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:440)
       at 
org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419)
       at 
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(ProcessRemoteResourcesMojo.java:1125)
       ... 16 more
{noformat}

  was:
I tried a parallel build but ran into this.  All three (identical) errors are 
from pom projects.


[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-remote-resources-plugin:1.2:process (default) on 
project assemblies: Error rendering velocity resource. NullPointerException -> 
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-remote-resources-plugin:1.2:process (default) on 
project assemblies: Error rendering velocity resource.
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
       at 
org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
       at 
org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:680)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error rendering 
velocity resource.
       at 
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(ProcessRemoteResourcesMojo.java:1212)
       at 
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(ProcessRemoteResourcesMojo.java:519)
       at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
       ... 13 more
Caused by: java.lang.NullPointerException
       at 
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:831)
       at 
org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:440)
       at 
org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419)
       at 
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(ProcessRemoteResourcesMojo.java:1125)
       ... 16 more



    
> m-r-r-p 1.2 not actually threadsafe apparently due to antique velocity version
> ------------------------------------------------------------------------------
>
>                 Key: MRRESOURCES-54
>                 URL: https://jira.codehaus.org/browse/MRRESOURCES-54
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: maven 3.0.3
> m-r-r-p 1.2
> -T 4
>            Reporter: David Jencks
>            Assignee: Kristian Rosenvold
>             Fix For: 1.2.1
>
>
> I tried a parallel build but ran into this.  All three (identical) errors are 
> from pom projects.
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-remote-resources-plugin:1.2:process (default) 
> on project assemblies: Error rendering velocity resource. 
> NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-remote-resources-plugin:1.2:process 
> (default) on project assemblies: Error rendering velocity resource.
>        at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>        at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>        at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>        at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>        at 
> org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
>        at 
> org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:680)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error rendering 
> velocity resource.
>        at 
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(ProcessRemoteResourcesMojo.java:1212)
>        at 
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(ProcessRemoteResourcesMojo.java:519)
>        at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>        at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>        ... 13 more
> Caused by: java.lang.NullPointerException
>        at 
> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:831)
>        at 
> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:440)
>        at 
> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419)
>        at 
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(ProcessRemoteResourcesMojo.java:1125)
>        ... 16 more
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to